example of how bad off we are

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

example of how bad off we are

Post by Tank Program »

I happened to run into this in ePlayer.cpp:

Code: Select all

tOutput mess;
tString name;
name << *this << ColorString(1,.5,.5); 
mess.SetTemplateParameter(1, name);
mess.SetTemplateParameter(2, score);
mess << "$player_left_game";
sn_ConsoleOut(mess);
What the heck is that? "mess" ? "mess" ? Ok. What is "mess" describing? We have no idea. We know what it does fortunately, but still, really...
Image
User avatar
Marrow
MVP - Project Contributor
Posts: 1655
Joined: Mon Jan 19, 2004 9:05 am
Location: New York

Post by Marrow »

Wow, that is bad. Manuel probably got to the point where he wanted everybody who reads the code to have a good laugh.

I was at armagetron.sourceforge.net and noticed he has CVS available through sf. Although, I haven't used it.
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

mess is probably short for message
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Not what comes to mind when you are thinking of this code...
Image
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

i can absolutely agree to that (remember a time i appropriately named a certain troublesome function "f.u.c.k." lol) :mrgreen:
Post Reply