Ragnvald Maartmann-Moe IV
19315a399f
Whitespace, comment cleanups.
2002-08-25 14:25:38 +00:00
Ragnvald Maartmann-Moe IV
ff03367bc2
Whitespace and comment cleanups.
2002-08-25 05:55:28 +00:00
Ragnvald Maartmann-Moe IV
46456158e8
Whitespace.
2002-08-25 04:47:57 +00:00
Ragnvald Maartmann-Moe IV
9d6bdf5fca
Attempt to work around BSD segfault.
2002-08-24 07:40:10 +00:00
Brian Koropoff
876eaa467c
Added a few useful builtins and began adding GIB hooks into quakeworld.
...
The player global branch variable is now updated with useful information
and the location.get builtin is available to return the current location
of the player based on loc files. Fixed a bug with zooming out in zoom.gib.
2002-08-24 05:14:46 +00:00
Ragnvald Maartmann-Moe IV
147f940510
Kill dead gl_occlusion cvar.
2002-08-23 21:55:59 +00:00
Brian Koropoff
32f4e53aa5
Fixed the GIB math evaluator to handle unary operators properly, made
...
indexing/clipping more like python, made some cosmetic changes to zoom.gib,
and added the ability for GIB builtins to return values.
2002-08-23 21:18:00 +00:00
Ragnvald Maartmann-Moe IV
7bf21e20ed
Use R_CullSphere for rotated bsp models.
2002-08-23 21:14:43 +00:00
Ragnvald Maartmann-Moe IV
d757c10f07
Only need one define for R_Cull*
2002-08-23 20:46:19 +00:00
Brian Koropoff
5e9330ca21
Cleaned up the return builtin and made variable stripping ([foo:bar])
...
more robust.
2002-08-23 07:45:46 +00:00
Ragnvald Maartmann-Moe IV
6e8bd2aeb0
defines and ifdefs for R_CullSphere, just like R_CullBox.
2002-08-23 07:04:29 +00:00
Ragnvald Maartmann-Moe IV
aa85219dc4
Commit R_CullSphere use for alias models. Only a 3.3% speed hit for me, and should quiet "foo is disappearing" whinging.
2002-08-23 04:09:00 +00:00
Brian Koropoff
0715464bb1
Yay for escape characters.
2002-08-22 22:43:47 +00:00
Brian Koropoff
06e6c92da8
Fixed some bugs related to comments and global variables. Updated zoom.gib
...
to work with the new GIB parser. It should be fully functional.
2002-08-22 20:50:12 +00:00
Ragnvald Maartmann-Moe IV
44e2fbaa87
More whitespace.
2002-08-22 20:06:30 +00:00
Ragnvald Maartmann-Moe IV
6ab0175cfc
Whitespace...
2002-08-22 19:16:44 +00:00
Ragnvald Maartmann-Moe IV
e6e920747c
Whoops, more whitespace.
2002-08-22 19:08:33 +00:00
Bill Currie
c44ec1993d
handle up to 512x512 map textures /properly/. would be nicer if the max
...
could be dynamic
2002-08-22 19:00:55 +00:00
Ragnvald Maartmann-Moe IV
27f9b7a1c0
Whitespace.
2002-08-22 18:45:58 +00:00
Ragnvald Maartmann-Moe IV
87b5d2ec5b
Whitespace.
2002-08-22 18:38:07 +00:00
Bill Currie
9f1cedf812
don't seg if given a null table (ie, no vars in this context)
2002-08-22 16:20:06 +00:00
Bill Currie
42c03bb9e1
fix an out-by-one error that was causing segfaults for single line commands
...
ending with a // comment
2002-08-21 22:52:29 +00:00
Ragnvald Maartmann-Moe IV
9bf3ccd813
SDL-using targets are now aware if the cursor is in the window or not. in_snd_block now works for them.
...
(Also cursor hiding when in window was fixed for -sgl, already committed)
2002-08-21 06:06:05 +00:00
Ragnvald Maartmann-Moe IV
f92c2d8525
Whitespace cleanups and some cruft removal.
2002-08-21 06:00:08 +00:00
Ragnvald Maartmann-Moe IV
9d2e09feee
Whitespace.
2002-08-21 05:59:00 +00:00
Bill Currie
84afd9e299
d'oh, dunno why I did 8 bit that way, put /it/ back to the old shared buffer
...
way because it always worked and it really doesn't need the slowdown.
2002-08-21 05:15:08 +00:00
Bill Currie
be75ff490f
fix -x11 screenshots and remove some dead code
2002-08-21 04:58:47 +00:00
Bill Currie
09d89a3214
move bi_keys from csqc to pr_keys in targets allowing the server to link
...
with libQFcsqc (need a new name:P)
2002-08-21 02:25:51 +00:00
Bill Currie
6b559077dc
Nuke the screen saver code as it hasn't been needed since we stopped using
...
dga keyboard input
2002-08-21 02:10:47 +00:00
Ragnvald Maartmann-Moe IV
1489ee8648
Remove old keyboard/mouse grabber cruft.
2002-08-21 01:55:31 +00:00
Bill Currie
c12518de26
windows knows only a subset of the signals
2002-08-21 01:51:27 +00:00
Ragnvald Maartmann-Moe IV
b96617e935
Some more whitespace, plus stop unconditionally resuming cd audio and sound when focus restored.
2002-08-21 01:40:21 +00:00
Ragnvald Maartmann-Moe IV
ee7e3326e0
Merging common SDL video code into context_sdl.c, to make adding SDL features easier.
2002-08-21 00:05:27 +00:00
Ragnvald Maartmann-Moe IV
168915faed
Some header cleanup, some whitespace.
2002-08-21 00:04:35 +00:00
Bill Currie
5009213564
Move the signal handling code from video/targets/* to sys.c (I'm leaving
...
the SDL target files for Despair since he's working on the currently). Also
make progs segfault handling much more robust (and general: sigill etc too:)
2002-08-20 23:04:57 +00:00
Bill Currie
d328e18de2
implement the "new" inputline api making it possible to pull the Draw_*
...
functions out of bi_inputline.c. now somebody can be insane enough to
implement a qc controled console for the server ;) (more importantly, one
step closer to being able to have the server link with libQFcsqc (hah!))
2002-08-20 21:19:53 +00:00
Bill Currie
099e2739b5
various msvc fixes thanks to muzzy (hope he doesn't give up:)
2002-08-20 19:16:11 +00:00
Bill Currie
c927b2e834
quakefs.c:
...
allow . and .. in a path so long as the result doesn't escape from the
game directory
cl_menu/Makefile.am:
don't strip source paths
optoins.qc:
use InputLine object
def.c:
use notice to show stray temps
emit.c:
make sure expression args get emitted for function calls
expr.c:
'C' is a cast
rewrite cast_expr to handle casted pointere derefs
2002-08-20 06:11:10 +00:00
Ragnvald Maartmann-Moe IV
c91f1a2aea
Rename Length to VectorLength.
2002-08-20 02:22:40 +00:00
Bill Currie
b99a72e876
pr_obj.c:
...
call obj_find_message with super instead of class when doing a super
lookup
client_menu.[ch]:
use the InputLine object instead of directly using the api
InputLine.r:
builint functions are = #0 , not = 0 :P
function.[ch]:
provide copy_params
method.[ch]
provide copy_keywordargs
expr.c:
call inc_users for the parm temp if it's a bind expression
revers a copy of the selector when building the selector name so the
selector doesn't get mangled
qc-parse.y:
catch erronous func = const inintializers (should be func = #const)
2002-08-20 02:09:34 +00:00
Ragnvald Maartmann-Moe IV
32a85e7130
Clipping cleanups.
...
Calculate radius for alias models as well as brush.
Culling is no longer optional on alias models (was only ever disabled for viewmodel, which is a lot of extra effort to avoid clip testing 1 thing out of hundreds).
Clip QSG2 scaled alias models with a scaled bbox.
2002-08-20 00:48:59 +00:00
Ragnvald Maartmann-Moe IV
e9febea31c
Whitespace.
2002-08-19 06:00:31 +00:00
Bill Currie
55cdde81da
rename clmodel to model
2002-08-19 04:15:46 +00:00
Bill Currie
b1a180b25e
move the view model check for min_light into the model loader (checks for
...
progs/v_*)
2002-08-19 04:05:02 +00:00
Bill Currie
2b1fd8e8c0
fix the menu keybinding not working bug
2002-08-19 02:48:38 +00:00
Bill Currie
451eaba2e1
change the value type for MSG_Write(Byte|Short|Long) from unsigned int to
...
int to avoid float -> unsigned int conversion problems
2002-08-19 01:58:01 +00:00
Bill Currie
3431b7ce82
float -> unsigned int needs to pass though int otherwise we lose the negative
...
range on the ps2 (nasal demons:)
2002-08-19 00:05:51 +00:00
Bill Currie
c1c6c05cf5
pr_obj.c:
...
delay class fixups so order doesn't matter
class.c:
write out the class and category diffs properly
2002-08-16 22:53:37 +00:00
Bill Currie
c1f5659977
bi_inputline.c:
...
add InputLine_SetUserData
pr_resolve.c:
report the correct missing symbol (self instead of time)
2002-08-16 21:52:37 +00:00
Bill Currie
4b1ceb9795
hopefully take care of glGetProcAddress type once and for all :)
2002-08-16 18:29:21 +00:00