Commit graph

93 commits

Author SHA1 Message Date
Adam Olsen
5e3fdef17b - remove some { from comments so it doesn't confuse vim
- make it print out the gamedir when it doesn't like it.
2001-08-24 05:48:29 +00:00
Adam Olsen
00e9ad1b99 oops, don't want that debugging print :) 2001-08-15 00:17:02 +00:00
Adam Olsen
3e8728a06c - cleanup the alias setting a bit. there's known problems, but I
think they're caused by something else
- fix how bubbles handle freeing.  (geeze, there's too many bubbles!)
2001-08-15 00:15:59 +00:00
Adam Olsen
ce66ef6e8e bleargh, revert all that :/ 2001-08-13 21:51:06 +00:00
Adam Olsen
89102c17c7 Start initializing things. Should work, but causes trouble, so the
offending code is commented out.
2001-08-13 21:25:26 +00:00
Adam Olsen
33ac007d15 - Fix printing of number of knife kills
- add a spawn wrapper, so we can guarantee certain fields are
  initialized.  (not that it initializes anything yet)
- removed some commenting that prevented GRUNTY_EXTRA_WEAPONS (a debug
  define) from working
- removed "hacked forcefield gets you teamkills" from BUGS list.
2001-08-13 15:39:14 +00:00
Adam Olsen
c662c418fe - fix the "teleporter causes 'sprint to non-client'" bug
- prevent building when a teleporter is too close to a wall
2001-08-13 13:02:54 +00:00
Adam Olsen
162a1e4caa - Rewrote the engie build menu
- made FFs so you can build them near eachother (or overlapping!)
- fix that annoying bug where people's colors kept going white
- I need to make the color defines (eg DARKBLUE) be the exact number,
  not number + 1.  (in the TODO now)
2001-08-13 12:20:39 +00:00
Adam Olsen
6fca29e666 - tweak assault cannon spread so it's only 80% as wide, and biased
towards the center
- allow (very slow, 1/8th) movement while firing assault cannon
- rewrite much of the soldier menus.  mostly the same except some
  colors are different, and added a menu item to switch between them.
2001-08-12 22:31:50 +00:00
Bill Currie
8e2d5f66e6 back out the dynamic function changes. while a very neat idea, they're not
ready for production use as they break debugging (and traceon(?)/off).
2001-08-12 19:40:25 +00:00
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