Code: Show/Hide colors:colors colors:say |
Code: Show/Hide cmd_bluea cmd_blueaa cmd_bluez cmd_blueaz cmd_yellowa cmd_yellowaa cmd_yellowz cmd_yellowaz cmd_greena cmd_greenaa cmd_greenz cmd_greenaz cmd_reda cmd_redaa cmd_redz cmd_redaz cmd_orangea cmd_orangeaa cmd_orangez cmd_orangeaz cmd_graya cmd_grayaa cmd_grayz cmd_grayaz cmd_pinka cmd_pinkaa cmd_pinkz cmd_pinkaz privcmd_say |
Hakaku wrote: |
Question: I noticed both you and Brain didn't release the playerdata interface in MM_UNLOAD. Is this intentional? |
Dr Brain wrote: |
fuchsia |
tcsoccerman wrote: |
although AS3 is less words, |
tcsoccerman wrote: |
They mean the same, but they're different words. |
Cheese wrote: |
and i suppose i could add a target for v2, that way you could literally fake someone saying something...
it would be pretty cool, but i can only see it getting misused >_> |
Cheese wrote: |
fixed this |
Code: Show/Hide if(mode == MODE_ZONE) LLAdd(&playerlist,pp);
else { if(mode == MODE_ARENA) if(pp->arena == a) LLAdd(&playerlist,pp); else { if(mode == MODE_FREQ) if(pp->arena == a) if(pp->pkt.freq == freq) LLAdd(&playerlist,pp); else return; //wtf? } } |
Code: Show/Hide if(mode == MODE_ZONE) LLAdd(&playerlist,pp); else { if(mode == MODE_ARENA) if(pp->arena == a) LLAdd(&playerlist,pp); else { if(mode == MODE_FREQ) if(pp->arena == a) if(pp->pkt.freq == freq) LLAdd(&playerlist,pp); else return; //wtf? } } |
Samapico wrote: |
Suggestion: Would be nice to be able to use printf style format with the ColorA, ColorP, etc. functions |
Cheese wrote: |
when youre getting up to 10,000 lines of code, adding extra space for no reason makes you wait a really long time while scrolling to the part youre looking for. |
Samapico wrote: |
Suggestion: Would be nice to be able to use printf style format with the ColorA, ColorP, etc. functions |
Dr Brain wrote: |
if statements are more flexible, and therefore easier to expand in the future, and of course the basic form generates the same machine code. |
Dr Brain wrote: |
How would you generate a jump table without comparisons, exactly? |
Code: Show/Hide elseifswitch(num) { case > 3: break; case > 2: break; case > 1: break; } |
Cheese wrote: | |
ive always wanted an elseif switch
|
Code: Show/Hide if (num > 3) {} else if (num > 2) {} else if (num > 1) {} |