![]() |
Post your funny code comments!
Did you ever read those funny SDK comments that botman had filtered out? Lets share some code comments you find funny , found in your code, other code, etc.
An example of funny code in the time i was working on RB AI PR #2 and #3 with Tub: Code:
// Tub says: BIG BUG BAD! :) Code:
// @ TUB -> I do it my way :) Code:
// suggested code by pierre and fixed by botman because pierre is to lazy |
Re: Post your funny code comments!
funny thing when you're two coders on the same project and the only way you communicate is through code comments :D
Code:
// is the bot controlled by the player ? (for debugging) Code:
BotWalkPath (pBot); // walk the path, Neo. Code:
// is our bot's goal to reach a rescue zone ? Code:
// is bot NOT finding a path yet NOR walking it ? Code:
// else do we want to kick one bot ? Code:
// else does the bot want to laugh at a dead enemy ? Code:
// else segment is neither horizontal nor vertical, but just bent (grr) Code:
void pfnClientPrintf (edict_t *pEdict, PRINT_TYPE ptype, const char *szMsg) Code:
// make the server crash. Since hordes of uncautious, not to say stupid, programmers don't Code:
pBot->bot_goal |= BOT_GOAL_PLANTBOMB; // bot's goal is to blow stuff up, haha! Code:
bool IsMyBirthday (void) |
Re: Post your funny code comments!
rofl @ pierre, and yeah, i remember Neo ;)
Code:
float f_update_weapon_time; // Aargh Code:
// we are going to fall Code:
// VIP: When we found an enemy, we have a problem. |
Re: Post your funny code comments!
Code:
Code:
Code:
the original birthday code :D Code:
a leftover from debugging ( only for german speaking ppl :D ) Code:
and the best code I once forgot to comment and then it took me some time get know what it meant ( well, joebot is a nightmare, I try to make things better in joebot xp :) Code:
Code:
maybe I find really funny stuff tomorrow, gotta write a test tomorrow, so I guess it's better to sleep now :D |
All times are GMT +2. The time now is 03:55. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.