Commit graph

162 commits

Author SHA1 Message Date
Bill Currie
e8f26cda79 declare testentitypos and hullpointcontents 2001-07-27 23:07:55 +00:00
Adam Olsen
5410fbad7e - set martyr_enemy to the hacker when he does bad hacks to a field gen
- use martyr_enemy as the badguy when a fieldgen frys teammates
- make sure martyr_enemy is set to world when the guy disconnects
- move ClientObituary into it's own obituary.qc file
- tweak field lighting times and stuff
- add code to turn off a field the instant it's turned on, instead of later when it thinks, but that's disabled for now
- probably other stuff I've forgotten

I havn't actually set the deathmsg for friendly forcefield kills yet.  I'm commiting now to reduce conflicting changes.
2001-07-27 20:48:54 +00:00
Bill Currie
9b1f1adede finally got the abs bounding box sorted out. must call setsize with the
/rotated/ bounding box.
2001-07-27 20:27:58 +00:00
Adam Olsen
cd8feab6aa Ok, so indent works better than it used to, but you'd have to
manually do it to every file, fixing up problems as the occur.
Removed from the TODO list.
2001-07-27 16:54:44 +00:00
Adam Olsen
48ec5b88f3 Add using indent to TODO, and a tiny little comment change 2001-07-27 15:32:03 +00:00
Bill Currie
0b26250285 use getboxbounds to calculate absmin and absmax of tfield 2001-07-27 06:39:42 +00:00
Adam Olsen
0241c299b9 - some more tweaks for rotated fieldgens
- some changes for how people get damaged from fieldgens, needs testing
- protein :)
2001-07-27 05:11:51 +00:00
Adam Olsen
0176f78b9e Fix for infinite loop statusbar functions. This is a big-un. :) 2001-07-27 03:55:24 +00:00
Adam Olsen
e6c4475eb5 add .vector forcefield_offset, use it instead of .angles 2001-07-26 19:09:24 +00:00
Adam Olsen
da3759dd37 mmm, protein 2001-07-26 19:00:32 +00:00
Adam Olsen
9557a5e641 Apparantly often disabled closing fields. Now you can again, and it
blocks the owner too.
2001-07-26 18:43:38 +00:00
Adam Olsen
ba00cfd56c Allow unaligned forcefields. They mostly work, but there seems to
still be some issues with rotated bboxes in the engine.
2001-07-26 18:22:56 +00:00
Bill Currie
2f0c2eec2f rewrite crossproduct so it actually gives a cross product and fix the one
call of it so the end result is the same
2001-07-26 16:44:48 +00:00
Zephaniah E. Hull
b743ed605b Uses PF_checkmove! 2001-07-25 22:15:15 +00:00
Zephaniah E. Hull
b54ea79f70 The death of #ifdef QUAKE_WORLD!! 2001-07-25 21:10:26 +00:00
Bill Currie
11a114965f make avg an macro (AVG) in defs.qh for slightlyb better code, and implement
it in both the usual mathematical way and such that it will work for ints,
floats and vects.
2001-07-25 19:23:26 +00:00
Adam Olsen
01c70cb67b yet another bug 2001-07-25 17:48:51 +00:00
Adam Olsen
be736a6e22 mercury's building fix. you now *never* loose your buildings through walls when you build them. Yay! 2001-07-25 17:44:20 +00:00
Adam Olsen
20e9fe09ae cleanup field generation in preperation for non-axis-aligned fields.
Only real difference so far should be that the bottom of the field
isn't on the ground, and that was an intentional tweak.
Oh, and now it's *many* less lines :)
2001-07-25 17:09:45 +00:00
Adam Olsen
25446fd860 make the "no_spam" infokey disable setting detpacks, not just buying them 2001-07-25 17:03:53 +00:00
Bill Currie
cbe175461b remove some redundant logic 2001-07-25 00:16:56 +00:00
Adam Olsen
0f2b390348 add an edictcount-ticker. do "localinfo edictticker 30" before map
load and it'll go every 30 seconds.
2001-07-24 23:30:49 +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
8eafb211f7 force the PRINT_* marcros to be floats 2001-07-24 20:45:52 +00:00
Bill Currie
3c837e0bc3 %s/TeamFortress_TeamGetColor/TeamGetColor/g 2001-07-24 16:03:08 +00:00
Bill Currie
6fda29570c fix some int / int problems caused by qfcc's integer support. 2001-07-24 04:37:00 +00:00
Bill Currie
8e1eaf1e89 deleted this by accident (not that it's needed) 2001-07-23 21:16:53 +00:00
Bill Currie
7dec5b6365 mark the cpp move as done 2001-07-23 20:54:38 +00:00
Bill Currie
1e2e633332 forgot this 2001-07-23 20:53:43 +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
e54c547c9d call cfclose with desc rather than the file name 2001-07-23 18:54:41 +00:00
Adam Olsen
1100082217 - added some items to BUGS and TODO
- reworked map cycler so that it saves the map number to
  cf/nextmapnum, and restores it in case of a crash
- add a cyclenow infokey, which causes the timelimit to be hit
  instantly.  needed because the map cycling doesn't kick in until the
  timelimit is reached
- add cf/mapcycle which contains the names of maps to be cycled
  (seperated by nuls).  it overwrites the normal "exec
  qwmcycle/map1.cfg" behavior.
- change the MOTD time to 15 seconds (from 24.2)
- make mapcfg.cfg exec'd if mapcfg is enabled (so you can reset the
  config vars
- add a thing to enable sv_gc if it's disabled.  (I'm using string
  appending now)
2001-07-23 15:08:39 +00:00
Bill Currie
315d84dfa0 fix a return type mismatch 2001-07-23 05:46:14 +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
Adam Olsen
eb94062dce Added lack of failsafe on mapcycler to BUGS 2001-07-21 06:12:19 +00:00
Adam Olsen
6d7deb1152 Make airfist not send people with aspect of hwguy flying 2001-07-21 03:57:34 +00:00
Bill Currie
a1ee1acd9e heh, --no-cpp is no longer needed. a stray \ was causing the problem 2001-07-20 20:40:46 +00:00
Bill Currie
fab3d777a1 convert to the usual qf format and add a couple of items 2001-07-20 17:42:03 +00:00
Bill Currie
5a1dfdbfa6 a little white space to test commit email 2001-07-20 16:36:18 +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
c27d98b058 - instead of bitching when gamedir is empty, run sv_gamedir automatically
- add support for automatic per-map configs.  set the mapcfg localinfo to
either 1 or on and "mapcfg/canyon1.cfg" will be exec'd when that map is
loaded.  put mapcfg to a different string to use that dir instead.
2001-07-20 14:21:36 +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
e9244ac7a0 force usage of localinfo n instead of serverinfo n. (clears serverinfo
and sets localinfo)
2001-07-20 14:17:43 +00:00
Adam Olsen
6b6b91967e Add spectator id command. yay! 2001-07-20 09:17:49 +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
f009263dc2 forgot about progs.src 2001-07-19 15:41:14 +00:00
Adam Olsen
2626a7830b change a couple fieldgen fields so they're unique instead of overloading. 2001-07-19 14:48:59 +00:00
Adam Olsen
98074a7ddf disable free summons :) 2001-07-19 13:09:02 +00:00