Bill Currie
1ccccc654e
ipv6 compile fixes from Damm
2001-08-24 04:09:56 +00:00
Bill Currie
5253030d27
move the CL_SetState call to the bottom of Host_Init
2001-08-22 22:51:06 +00:00
Adam Olsen
3177d9c7eb
Readd the aim builtin, which I must have accidentally removed earlier.
...
Ooops :)
2001-08-22 21:13:04 +00:00
Adam Olsen
ea063a1e0f
having duplicate functions is bad.
2001-08-22 05:50:01 +00:00
Adam Olsen
17ba7ef92f
- move alot of the builtins to libQFgamecode_builtins
...
- move the init into qw and nq
2001-08-22 03:24:25 +00:00
Adam Olsen
1314c89b6c
- add libs/gamecode/builtins subdir, with libQFgamecode_builtins.la
...
- add .gitignore files
- fix building :)
2001-08-21 22:34:20 +00:00
Adam Olsen
cd99a6a4b6
timeframes patch I made so long ago. use cl_timeframes 1 before
...
running a demo, and when it stops it'll print out the time spent on
each frame (in microseconds) to timeframes.txt.
2001-08-21 05:35:35 +00:00
Adam Olsen
a276e87fbc
Change lightning bolt rotation to be time-based. It's kinda ewwy, but
...
it seems to work ok.
2001-08-21 05:03:14 +00:00
Adam Olsen
770fecd4bc
Replace sv_gc with pr_gc and pr_gc_interval. pr_gc has 0 for off, 1
...
for on, and 2 for auto (on for newer progs, off otherwise).
2001-08-20 21:06:25 +00:00
Bill Currie
121bd09eef
explicitly set the client state after startup to ensure everything related
...
to the state is current.
2001-08-19 21:19:42 +00:00
Bill Currie
7cda1c6705
put in some comments about future player dlight improvements
2001-08-19 05:41:56 +00:00
Bill Currie
7aa7bb663a
centralize client state setting so ancilliary operations can be guaranteed
...
to happen (eg, key binding table selection for console).
2001-08-19 03:51:52 +00:00
Adam Olsen
d5fa2cc321
Major diff reduction in *sys_*.c files. Don't think I broke anything,
...
but hard to test it all..
I skipped a couple files, because they contained *alot* of
platform-specific functions.
2001-08-18 21:57:45 +00:00
Zephaniah E. Hull
80696badc7
kgt->imt, and imt now displays the current IMT.
2001-08-17 07:06:01 +00:00
Zephaniah E. Hull
20adccc9e4
A few things, first is that I removed the (rather broken) serial
...
networking support.
Second, I moves keys.c from qw and nq to libs/video/targets when I did
the next thing.
Existing user configs which do binds, sledge hammer. Sledge hammer,
existing user configs which do binds. *WHACK* *WHACK* *WHACK*
See, much nicer now.
Someone should document it, and fix all targets which don't use SDL for
input. (I honestly don't expect svgalib and the like to ever be fixed.)
2001-08-16 09:19:36 +00:00
Adam Olsen
c02f4ed59e
show_ping while disconnect == bad. SZ_Getspace bug fixed.
2001-08-16 02:32:50 +00:00
Bill Currie
7047f2da36
fix some missing ()s that got lost due to the () forrest that got chainsawed
...
(ie, the previous code was /a mess/)
2001-08-16 02:08:22 +00:00
Zephaniah E. Hull
eab8ff6e25
Just some MASSIVE speed boost for PF_findradius.
2001-08-15 23:03:37 +00:00
Jeff Teunissen
339ec3c0d8
Misc. cleanups.
2001-08-15 22:37:11 +00:00
Bill Currie
a22fd5a172
sdl 1.1.5 fixes
2001-08-15 21:29:18 +00:00
Bill Currie
59e50d933d
sdl and sgl clients now build
2001-08-15 20:55:22 +00:00
Bill Currie
8d0acf7630
remove some unneeded -L.s. it seems some versions of binutils don't like it
2001-08-15 06:12:38 +00:00
Adam Olsen
b277881832
Don't try to write freed entities to the client
2001-08-14 11:15:47 +00:00
Adam Olsen
f9f1e053a4
use 0 instead of sv_highchars when setting the *cheats serverinfo,
...
since sv_highchars isn't initialized at that point.
2001-08-13 09:14:15 +00:00
Bill Currie
a290afd2b5
back out the dynamic allocation so prozac will still work
2001-08-12 19:50:23 +00:00
Adam Olsen
eed71f2803
err, and of course we want *line* buffered, not *un*buffered. hehe, I
...
thought the output looked kinda slow..
2001-08-12 11:30:08 +00:00
Bill Currie
bbef4b0b6f
ugh, I hate the need for this, but it's needed. sv_old_entity_free is my
...
compromise :) set it to 1 to allow progs like MegaTF to work (reload crash).
2001-08-12 04:14:25 +00:00
Bill Currie
3d30361595
show_ping and show_pl. pretty much like show_fps.
2001-08-11 04:14:58 +00:00
Ragnvald Maartmann-Moe IV
ca4d4791c9
Fix a severe braino, and get less excessively parenthetical in one spot.
2001-08-10 03:07:34 +00:00
Ragnvald Maartmann-Moe IV
b868a09661
Kill off gl_view.c and sw_view.c. Renderer merge is more or less complete now. Software and gl renderers now calculate color shifts the same way, and sw looks a bit different now. Powerups don't shift enough in sw right now, IMO.
2001-08-10 00:28:57 +00:00
Adam Olsen
4cd037f025
Make the console line-bufered. woot.
2001-08-09 12:19:15 +00:00
Adam Olsen
0c63c11b4b
diff noise reduction. mostly just "progs_t * pr" to "progs_t *pr".
...
Only code change is copying qw's variable-size PF_VarString in place
of nq's 256 char "I wanna be a buffer-overflow exploit!" version.
2001-08-09 06:05:43 +00:00
Bill Currie
fb42199637
change all the SVFIELD calls to SVtype. this should make the code a little
...
easier to read.
2001-08-08 20:28:53 +00:00
Ragnvald Maartmann-Moe IV
2ccebbfd5c
Exit early on common case, rather than go through all checks. Minor speedup, but measurable on higher framerate demos.
2001-08-07 18:53:22 +00:00
Bill Currie
b3d20d834a
fix for compiling under freebsd. thank's, stu
2001-08-07 17:43:49 +00:00
Bill Currie
014e36dece
viewangles in the client doesn't seem to get updated for the client, so
...
use cl.viewangles instead.
2001-08-06 00:27:41 +00:00
Adam Olsen
9f00601b82
change checkfunction and getfunction to checkbuiltin and getbuiltin
2001-08-05 06:02:33 +00:00
Adam Olsen
040345bc60
Change all our new functions to use dynamically allocated builtin
...
numbers, except checkextension, checkfunction, and getfunction. Yes,
this may break some stuff. :)
2001-08-04 23:58:03 +00:00
Adam Olsen
dc98a63098
Add a getfunction, which gives an error if it's not found
2001-08-04 23:44:50 +00:00
Bill Currie
1a73a4789b
make /sure/ ^h is covered. seems ncurses is a tad on the weird side
2001-08-04 23:19:16 +00:00
Adam Olsen
d241e8dd64
Make sure all the function names passed to PR_AddBuiltin are
...
lowercase, for sanity reasons.
2001-08-04 22:14:45 +00:00
Adam Olsen
c218ede288
Add support for checkfunction, which is a builtin that searches for
...
another builtin by name, and returns it.
Soon I'll change all our new builtins to by allocated dynamically, as
well as changing the number checkfunction uses, and happily break
everything that uses them :D
2001-08-04 09:11:50 +00:00
Adam Olsen
484edfde55
Some of an aforementioned function to search for functions by name.
...
Guess it's not as trivial as I thought.
2001-08-03 07:37:21 +00:00
Adam Olsen
ae133d0a90
Modify progs to add builtins at runtime. It should be trivial to
...
lookup functions by name, and make all our new QC builtins allocate
numbers automatically.
2001-08-03 06:40:28 +00:00
Adam Olsen
19387f0801
diff noise reduction, cleaned up the comments somewhat
2001-08-02 23:27:45 +00:00
Bill Currie
0a4caac3c6
mingw compile fixes
2001-08-02 23:00:39 +00:00
Bill Currie
b455458629
exit cleanup. Sys_Error and Sys_Quit should be used whenever possible.
2001-08-02 17:16:12 +00:00
Bill Currie
79eb948127
for some reasone, building the rpms wanted an explicit stdio.h inclusion
...
*shrug*
2001-08-02 03:24:18 +00:00
Bill Currie
fe8738b042
make dist works again
2001-08-01 17:49:25 +00:00
Adam Olsen
513347effd
Fix that classic "playing without joining a team" TF cheat :)
2001-08-01 00:38:16 +00:00