Commit graph

20 commits

Author SHA1 Message Date
Bill Currie
7498c71ee5 fix the field stuck test and rename CONTENT_* to CONTENTS_* to match the
server source.
2001-07-31 17:08:59 +00:00
Adam Olsen
8a48b88387 - move '#undef ALIGNED_FIELDGENS' into the right file (options.qh, not .qc)
- make the old "stuck in field" tests work when ALIGNED_FIELDGENS is defined.
2001-07-30 20:21:44 +00:00
Adam Olsen
8b38676806 Add a #define ALIGNED_FIELDGENS. default is #undef'd, because that's
what we want for testing.
2001-07-30 16:01:31 +00:00
Bill Currie
83d6cd17e7 magic number reduction 2001-07-28 17:48:57 +00:00
Adam Olsen
bf8e4e1b33 - finally make hacked fieldgens work right
- some of my "stuck in field" experiments, because they're in the same
  file and I didn't feel like reverting them.
- add an item to TODO
2001-07-28 16:46:29 +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
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
e6c4475eb5 add .vector forcefield_offset, use it instead of .angles 2001-07-26 19:09:24 +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
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
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
Bill Currie
94baf9dbcb dist qfpreqcc for cpp. much faster compilation. seems to work, too. 2001-07-23 20:52:47 +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
376eba2f8d Various fixes to bring things "up to par". It should all work now :) 2001-07-19 05:46:41 +00:00
Bill Currie
64ecb99bfc Initial revision 2001-07-17 05:58:10 +00:00