Commit graph

21 commits

Author SHA1 Message Date
Finny Merrill
06921195fa A few debugging prints to help me with something... 2003-11-30 00:12:57 +00:00
Finny Merrill
db4e96e70a Engineer tweaks:
1) added checkmove forward so it's easier to build against walls
2) Can't build sentries on top of forcefields anymore (they get bounced off)
3) fieldgens are now one unit taller than their fields, so you CAN build on the gen
4) forcefields bounce everything (including buildings) away now.
5) added #ifdef DISALLOW_BLOCKED_TELE around tele block checks. didn't get the point

Debug tweaks:
1) added #ifdef DEBUG, which enables RPrint(), dremove(), and printtrace(), as well
   as the warlock cheat and origin reporting.
2) replaced EVERY dprint with RPrint.
3) changed makefile so that all = no DEBUG and no .sym
2003-11-27 07:07:26 +00:00
Bill Currie
99190cb79a world -> NIL for null entities. Seems to work (only issue would be borked
tests for foo == world -> !foo and for != world -> foo).
2001-11-02 17:00:52 +00:00
Bill Currie
c01e44c7a4 fix some more uninitialized vars found by qfcc 2001-10-19 03:31:30 +00:00
Adam Olsen
5ec3dff93e - totally disable TeamFortress_ChecKTeamCheats
- fix GetNoPlayers (didn't init num_players)
- overhaul the map cycler
  - automatically restart if a cyclenumber doesn't work
  - fix minp/maxp
  - exec mapcfg.cfg each map change  (affects minp/maxp)
  - exec mapcfg/MAP.cfg each map change.  (affects minp/maxp)
- fix a "rockets explode on observers" bug
- make it so colors aren't reset every time you respawn
2001-10-07 22:15:22 +00:00
Adam Olsen
a1ecc5dda3 - BUGS/TODO
- clean up GetNextMapNum, as well as handling an unset maxmapnum
- remove an extra obituary print (leftover from my cleanups)
- cleanup UserInfoCallback a bit
- little tweak to Multi_Finish
- make it so friends{1,2,3,4}_mask infokeys override the map values if
  set, so you can force friendly teams on broken maps
2001-10-05 23:05:28 +00:00
Adam Olsen
1993bb348f - some BUGS items
- annihilate string_null (and empty_float and vector_null)
- remove self.netname = infokey(self, "name");, since the server
  should do that for us
- add a quotename function, to stick \xFF around a name
- add a few death messages
- set a "timeleft" serverinfo to be the number of minutes left in the
  game
2001-09-30 22:38:44 +00:00
Bill Currie
0c44060141 clean up all the unused local vars found by qfcc 2001-09-23 04:25:02 +00:00
Adam Olsen
d607291546 - fix teleporters to not display if you don't have them
- disable topcolor change blocking for now
2001-09-21 14:13:52 +00:00
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