Commit graph

283 commits

Author SHA1 Message Date
Adam Olsen
78f349961e - fix the fieldgen placement warnings
- remove the ALIGNED_FIELDGENS define, since it's kinda pointless
- Add some waypoint files, which use obscure datastructures in the
  host entity, rather than a new entitiy for each waypoint like
  current soldier waypoints do.  Not use yet.
2001-08-12 12:40:29 +00:00
Adam Olsen
6c46c123cf - fixed thief so you don't go fully hidden when glowing
- overhauled the alias setting stuff.  It now includes a version
  number to detect when aliases have changed, and self-regulates the
  speed at which it sends them.
2001-08-11 10:02:18 +00:00
Adam Olsen
8eff682b52 One more of the same.
Boy, doing foo = foo + bar is REALLY lame, when foo = foo & bar works
just as well, but without rick of affecting other bits.
2001-08-10 10:06:35 +00:00
Adam Olsen
a9cf39a1cc Change a bunch of self.items = self.items - (self.items & IT_FOO)
lines to self.items = self.items & ~IT_FOO.  also changed some
self.items = self.items - IT_FOO lines, which were just Really Evil
(tm)
2001-08-10 10:03:36 +00:00
Adam Olsen
9b04da83d1 - make the thief skill set the IT_INVISIBILITY item, so the client
uses the invisible face and screen blend
- uncomment an error message if something is removed twice
- and of course a TODO addition :)
2001-08-10 06:50:39 +00:00
Adam Olsen
02b68ccc78 Make all the builtins (except checkfunction and getfunction) be
assigned at runtime.  Also killed the {s,b}print{2,3,4,5,6,7,8} functions.
2001-08-04 23:49:44 +00:00
Adam Olsen
683e634ee1 moo. 2001-08-01 21:17:04 +00:00
Adam Olsen
8214026a69 usual. see BUGS for what happened when I used QF on prozac, and why I took it off again :/ 2001-08-01 21:13:20 +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
Adam Olsen
d878c67d00 - fix uninitialized variable (tesla.qc)
- set color and skin when player first connects (client.qc)
2001-08-01 06:08:35 +00:00
Adam Olsen
65c96fe980 usual, added an item to each 2001-08-01 06:07:13 +00:00
Bill Currie
aa3ec293a2 more ignorages 2001-07-31 19:15:22 +00:00
Adam Olsen
3afaf1f98e - merge duplicate motd printing code, and make it more flexible while I'm at it
- the "motd" infokey is now appended to the motd if it exists (including a seperator)
- added a "disable stuffcmd" item to TODO
2001-07-31 19:11:32 +00:00
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
Bill Currie
d540e3fd94 ignore any ChangeLog files 2001-07-31 00:05:58 +00:00
Adam Olsen
8429a59e80 - reenable all those aura sounds, since we have them now
- change mass cure range to 1000 (from 600), since I like it better that way :)
2001-07-30 20:44:34 +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
Bill Currie
b3a03080e0 fix and assign to world on client exit 2001-07-28 02:47:17 +00:00
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