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
Ragnvald Maartmann-Moe IV
3b65cbc35d
Raorn's SDL_GL_GetProc support. Makes -sgl targets work again, hopefully on windows as well as linux.
...
Now just need to get key repeat, focus handling and sound blocking on focus loss working like x11 input system does, and sdl support will be in pretty good shape. And clean out all the stupid #ifdefs...
2002-08-16 07:53:11 +00:00
Bill Currie
f753dd82ae
put \n on some error messages
2002-08-15 19:06:21 +00:00
Bill Currie
141df55965
zap some FIXMEs
2002-08-14 20:01:23 +00:00
Bill Currie
8adad57941
Make the cbuf api use a supplied cbuf rather than allocating its own. Kills
...
a FIXME and (Closes : #32 )
2002-08-14 18:45:09 +00:00
Bill Currie
1a0cf8d1f4
remove some redundant/incorrect code
2002-08-14 06:28:38 +00:00
Bill Currie
7ed7938b1c
get colored lighting working reasonably well
2002-08-14 05:45:50 +00:00
Brian Koropoff
513b5737f9
Got indexing into variables working and cleaned up variables a bit.
...
Partially translated zoom.gib into the new language, but it isn't done yet.
2002-08-14 05:28:07 +00:00
Jeff Teunissen
87fd1adadb
Enable compiling the null plugin by default.
2002-08-14 05:16:11 +00:00
Jeff Teunissen
2037db210c
whitespace.
2002-08-14 05:12:57 +00:00
Bill Currie
2abaf27cdc
attempt to fix the dark models at centers of dlights
2002-08-12 15:36:52 +00:00
Bill Currie
8e97d6279a
first stab at colored alias model lighting
2002-08-12 06:14:55 +00:00
Bill Currie
1afd2d95b2
break out the 1 vs 3 lightmap components code into separate functions and
...
do preliminary support for colored alias model lighting
2002-08-12 04:42:29 +00:00
Bill Currie
7e4e294089
fix the unlit models in full light bug
2002-08-12 02:05:45 +00:00
Bill Currie
4123d74e5e
don't segfault when a surface uses the `null' texture (r_notexture_mip)
2002-08-09 06:07:25 +00:00
Bill Currie
ff8ea15c09
solaris compile fixes
2002-08-09 04:06:17 +00:00
Brian Koropoff
0390fe22ce
Added tree variables (blah.1, blah.2, blah.1.foobar, etc), global variables,
...
made var substitution more robust, and began adding proper comments to
the code.
2002-08-08 09:20:00 +00:00
Ragnvald Maartmann-Moe IV
30012cc753
Fix K_RCTRL handling.
2002-08-08 05:53:58 +00:00
Bill Currie
cbde41c669
damnit!
2002-08-08 04:41:41 +00:00
Bill Currie
3baec9e856
clean out the dead mtex code
2002-08-08 04:27:49 +00:00
Bill Currie
0963c2476d
improved server logging. "logfile" is gone from qw-server to be replaced
...
with "sv_logfile" and thus giving nq-server logging as well.
2002-08-07 18:46:53 +00:00
Bill Currie
c05db51069
add Qputs
2002-08-07 18:43:35 +00:00
Bill Currie
ca92e5885f
part of the macroizing
2002-08-07 18:21:36 +00:00
Bill Currie
e171146582
Make Sys_Error repeat it's message to stderr to increase the changes of the
...
error being seen. (Closes : #39 )
2002-08-07 15:31:56 +00:00
Brian Koropoff
5c60be3a49
If and while now work, and embedded commands use backticks instead of <> now
...
to prevent conflicts with math expressions. All clients and servers are set
to create buffers with the normal parser. However, scripts ending in .gib
are now executed in a GIB buffer, and the export command can be used to
make specific GIB functions available to normal command buffers (i.e. the
console).
2002-08-07 06:17:50 +00:00
Brian Koropoff
666c3fce07
Embedded commands now work without any bugs I can detect. Next up are
...
loops, branching, and getting the tokenizer to give special treatment
to certain builtin functions. But first I should get some sleep :)
2002-08-06 08:15:20 +00:00
Brian Koropoff
bdd0f69f17
Declared variable in the wrong spot. Don't know why gcc 3 accepted it.
2002-08-05 05:58:17 +00:00
Brian Koropoff
87f0f480e4
Local variables work, preparing to get embedded commands done.
2002-08-05 00:01:06 +00:00
Ragnvald Maartmann-Moe IV
f773e1fa36
Minor alias model rendering speedup.
2002-08-03 07:07:23 +00:00
Ragnvald Maartmann-Moe IV
10c3f91a24
Revert taniwha's broken-radeon workaround.
2002-08-03 07:07:00 +00:00
Bill Currie
9c08f5b169
fix a typo that caused weirdness with the lerping
2002-08-03 06:13:35 +00:00
Brian Koropoff
cf48363c6e
More of GIB done: builtins, functions, various cleanups, math, etc.
2002-08-03 06:04:00 +00:00
Bill Currie
c5192540c8
remove an accidental commit
2002-08-03 01:29:26 +00:00
Chris Ison
c6217dc7a7
fix bug where -commands where executed and command buffer could be filled when key repeated
2002-08-03 00:19:41 +00:00
Ragnvald Maartmann-Moe IV
97d6f46f75
Speed up 16bit coord alias models a bit. (only one VectorScale per vertex now)
2002-08-02 18:07:53 +00:00
Brian Koropoff
3c3844d2ac
Checked in the beginnings of GIB mark III and modified qw-server to use
...
it for its console.
2002-08-02 04:07:25 +00:00
Bill Currie
4bd940e619
d'oh
2002-08-02 03:26:55 +00:00