Bill Currie
9829cf3993
do not include \key\value pairs in the output of Info_MakeString for
...
backwards compatability with the old info key system.
2001-11-05 01:29:45 +00:00
Bill Currie
96a2ac9a70
put the info string tolower/highchar handling back in
2001-11-04 22:00:32 +00:00
Ragnvald Maartmann-Moe IV
a856cbc413
Fix for r_lightmap_components 4 weirdness.
2001-11-04 20:58:46 +00:00
Bill Currie
23a2760194
change formating for Info_Print
2001-11-04 20:48:12 +00:00
Ragnvald Maartmann-Moe IV
a2ed608ee7
Some more small speedups.
...
Not entirely thrilled with R_BuildLightMap inside 'store:'. Macros are a pain to work around...
2001-11-04 16:57:47 +00:00
Adam Olsen
3417167e7e
- compile fix for info.c. We can't call any functions until /after/
...
all variables are declared.
2001-11-04 15:42:26 +00:00
Ragnvald Maartmann-Moe IV
6d62497934
Typo fix.
2001-11-04 15:31:17 +00:00
Ragnvald Maartmann-Moe IV
dbb6e37bb7
Remove some unneeded variables.
...
Speed lightmap calculations up for r_lightmap_components 1.
Enough to give a 4.4% speedup to timedemo overkill.
Hint: int/float/int conversions are expensive.
2001-11-04 11:20:35 +00:00
Ragnvald Maartmann-Moe IV
fd19f9332d
Tiny comment cleanup
2001-11-04 08:50:16 +00:00
Bill Currie
b0e9bd3ddc
fix a bogus leak in info strings
2001-11-04 08:18:54 +00:00
Bill Currie
dcd9b0040e
rewrite the info strings to use hash tables instead of a static string.
...
This required changes to the api (info_t instead of char *) but should be
a net gain in speed (not a lot, admittedly: it was pretty fast to begin
with, but this paves the way for some other changes I have in mind).
2001-11-04 07:50:39 +00:00
Ragnvald Maartmann-Moe IV
de0b4f65fa
modelalpha and currenentity cleanups.
2001-11-04 07:40:35 +00:00
Ragnvald Maartmann-Moe IV
961ea0b693
Move cshift render to before hud/text render, so that you can still read it while heavy cshift action is happening.
2001-11-03 07:50:57 +00:00
Ragnvald Maartmann-Moe IV
e8b36b1a71
Remove unused R_CullBlocked.
2001-11-03 07:30:15 +00:00
Bill Currie
5bf5278c2b
pr_comp.h:
...
- new opcodes for pointers
progs.h:
- prototype PR_Check_Opcodes
pr_edict.c:
- move the static bounds checking to PR_Check_Opcodes in pr_opcode.c
pr_exec.c:
- vector instruction cleanup
- temporarily nuke bounds checking from storep.*
- move base of address results from pr->edicts to pr->pr_globals
- implement new pointer related instructions
- nuke proposed global pointer instructions (not flexible enough)
pr_opcode.c:
- add new pointer instuctions
- re-implement static bounds/invalid opcode checking. no more multiple
case statements to keep track of.
2001-11-02 22:41:11 +00:00
Ragnvald Maartmann-Moe IV
08a211385f
Optimize some redundant math out of the particle aging loop.
2001-11-02 21:12:09 +00:00
Ragnvald Maartmann-Moe IV
3958b4a4b3
Age particle trails based on position in trail, during creation.
2001-11-02 20:47:47 +00:00
Bill Currie
7b4e5e69af
now actually works (especially for double scan modes and the like)
2001-11-02 06:43:41 +00:00
Ragnvald Maartmann-Moe IV
c19c237e0e
Whitespace.
2001-11-02 06:35:32 +00:00
Bill Currie
a98c5bb4c1
fix vid_fullscreen toggling (sgl) and archiving (all)
2001-11-02 06:11:32 +00:00
Bill Currie
166ce6d8ce
redundant code removal
2001-11-02 03:04:01 +00:00
Bill Currie
a45b78b622
make all 8 X buffers available. no args uses the default buffer, giving 0-7
...
as an agument to in_paste_buffer specifies which buffer to use.
2001-11-01 22:52:22 +00:00
Bill Currie
fa976d4461
cvarlist cfg will now give output suitable for a config file
2001-10-30 23:33:47 +00:00
Bill Currie
9b8995b836
fix win32's missing clipboard support (bringing it back). some trickery will
...
be required to get ctrl-V working, but... *shrug*
2001-10-30 22:46:15 +00:00
Ragnvald Maartmann-Moe IV
d1c115da05
Whitespace.
2001-10-30 19:58:01 +00:00
Ragnvald Maartmann-Moe IV
7ea1051b9a
Code cleanups.
2001-10-30 19:55:34 +00:00
Ragnvald Maartmann-Moe IV
3ad79cc970
Change particle limit from a short to an unsigned int. Possibly a tiny speedup, also allows for absurd particle counts...
2001-10-30 19:42:29 +00:00
Bill Currie
4685fccbac
new command for -x11 and -glx: in_paste_buffer (eg in_bind imt_console
...
m_button3 in_paste_buffer). Makes X's clipboard available to quake (for
pasting:)
2001-10-30 18:20:56 +00:00
Bill Currie
8ae3ef9482
fix some warning in solaris
2001-10-30 16:41:21 +00:00
Bill Currie
d835b79352
this might fix the black screen in 8 bit X
2001-10-29 22:29:42 +00:00
Bill Currie
00514d744e
this should fix the skating statues
2001-10-29 19:38:20 +00:00
Bill Currie
85c9e0ab1e
more externs cleaned up
2001-10-29 17:46:03 +00:00
Bill Currie
8071e8398a
put a couple externs back for win32. they need a bit more thought on how to
...
arrange things.
2001-10-29 16:45:03 +00:00
Bill Currie
1d442c496f
setup the colormap /before/ calling Vid_InitGamma so VID_SetPalette gets
...
called with a valid colormap to update.
2001-10-29 06:46:46 +00:00
Bill Currie
3ce8029f74
fix a silly goof with the models
2001-10-28 05:43:53 +00:00
Bill Currie
ccfe82cda4
*taniwha mops up the last drops of blood from extern
2001-10-28 04:38:24 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Ragnvald Maartmann-Moe IV
5afce455df
Undo taniwha's debugging insanity.
...
If you want to test for injecting more particles than can fit in the list, particle_new is the right place for the test. It's even there already, just commented out.
2001-10-28 00:47:21 +00:00
Bill Currie
10d83e090a
externs in .c files are evil, evil evil (ok, so I haven't cleaned these ones
...
out yet:P). This fixes the recent GL crash.
2001-10-27 22:27:32 +00:00
Bill Currie
3601b5ba35
fix the minor breakage were /no/ particles were being generated
2001-10-27 21:39:58 +00:00
Bill Currie
74d3499f74
fix a seg caused by my changes from last night
2001-10-27 20:52:33 +00:00
Bill Currie
014785a9f2
lots of error checking for our phantom particle bug, but I was unable to
...
trigger it after 2h of play using the previous changes
2001-10-27 08:32:52 +00:00
Bill Currie
d9fd8dc29f
make r_particles truely a flag and call R_MaxParticlesCheck when r_particles
...
changes
2001-10-27 08:31:45 +00:00
Brian Koropoff
05f35f9cd4
This adds the ability to access special characters in console commands by proceeding certain characters with $. See libs/util/cmd.c for the conversion table. Preceeding a character by # will shift it up or down by 128, which basically is useful for accessing the brown letters and numbers. All special characters were removed from Team_ParseSay, and variable substitution now takes the form of ${var} to prevent conflicts with special character substitution. Special character access is controlled by cmd_highchars, which defaults to off.
2001-10-27 04:34:53 +00:00
Bill Currie
1fab17ab33
d'oh. must read the clode closer :P
2001-10-26 05:31:39 +00:00
Bill Currie
6bbb9a75a3
remove an unneeded check
2001-10-26 03:12:31 +00:00
Adam Olsen
0a6ae4f36f
- some strlen checking for strcpy. I don't feel like doing the rest
...
of the codebase :)
2001-10-26 00:20:00 +00:00
Bill Currie
f8a41cb1bc
completely nuke the concept of "priority" from opcodes and use get_op_string
...
in emit_sub_expr instead of a redundant switch.
2001-10-25 17:48:35 +00:00
Adam Olsen
3bba5398ba
- audit malloc usage. now everything checks the return value :)
2001-10-24 22:50:06 +00:00
Bill Currie
552a486d87
fix the libQFrenderer_sw.lai installation error. libtool requires -rpath
...
for /any/ installed lib, static or not.
2001-10-24 17:54:56 +00:00