Commit Graph

12 Commits

Author SHA1 Message Date
Adam Olsen 8297f62122 - overhaul the callback stuff a bit, add support for teams to it, remove the return value
- fix uninitialized variable
- rewrite the autoteam code, now always chooses the smallest team, random if tied
2001-08-01 07:03:07 +00:00
Zephaniah E. Hull b54ea79f70 The death of #ifdef QUAKE_WORLD!! 2001-07-25 21:10:26 +00:00
Adam Olsen ed6dcc443d Tweak the callback a bit, so setinfokey is called even for the default handler 2001-07-24 23:29:19 +00:00
Adam Olsen b3078797aa - Clean up color changing a ton, it should all work perfectly now :)
- made soldier menus so it resets to first menu if you close from the second
- add a bug to BUGS :)
2001-07-24 20:54:19 +00:00
Bill Currie 3c837e0bc3 %s/TeamFortress_TeamGetColor/TeamGetColor/g 2001-07-24 16:03:08 +00:00
Bill Currie 94baf9dbcb dist qfpreqcc for cpp. much faster compilation. seems to work, too. 2001-07-23 20:52:47 +00:00
Bill Currie 847b1eb040 fix various return type errors flagged by qfcc's new return type checking 2001-07-23 05:33:21 +00:00
Bill Currie 001247b35f disable the debug code in UserInfoCallback 2001-07-22 19:28:47 +00:00
Bill Currie b7c0929c3f correct the return type of UserInfoCallback and the values. 0 is for reject,
1 is for accept.
2001-07-20 16:00:49 +00:00
Adam Olsen b03ce10389 make sure you won't get kicked for changing team, and make sure it sets
it properly
2001-07-20 14:18:59 +00:00
Adam Olsen 9977533035 Initial commit of UserInfoCallback and setinfokey stuff. color,
skin, and team are all set using setinfokey.  You are no longer
kicked for changing them.  And the callback happily rejects every
attempted change from the client (for skin and color atleast).
2001-07-20 08:38:54 +00:00
Bill Currie 64ecb99bfc Initial revision 2001-07-17 05:58:10 +00:00