Bill Currie
5c788d8d44
state.f is not an id instruction
2010-01-13 06:30:07 +00:00
Bill Currie
916aa6fe8b
give nq debugging abilities and minimize the differences between nq and qw
2010-01-13 06:29:36 +00:00
Bill Currie
ff61dbb329
fix some sillies with QFS_FileList
...
Use dynamic strings instead of temp strings for the list
2010-01-13 06:29:01 +00:00
Bill Currie
6eae016d3e
minor cleanups
...
fix some comments, cleanup some whitespace, and don't explicitly call
PR_RelocateBuiltins as it is called (indirectly) by PR_LoadProgs.
2010-01-13 06:28:28 +00:00
Bill Currie
334f12e0cf
fix some problems found by the new qfcc warning :)
2010-01-13 06:27:48 +00:00
Bill Currie
e0d669590c
plug a memory leak
...
the progs memory was never being freed between maps because the pointer was
being cleared at the start of PR_LoadProgsFile.
2010-01-13 06:27:19 +00:00
Bill Currie
ad5459b51a
mention the "no-" prefix in the code options section
2010-01-13 06:26:50 +00:00
Bill Currie
ccb8faf6ef
produce a warning for the likes of "x - x & y"
2010-01-13 06:26:18 +00:00
Bill Currie
128faf773a
give sprintf a real prototype
2010-01-13 06:25:38 +00:00
Bill Currie
40fefff847
fix incorrect users for temps resulting from casting the result of ?:
...
There are probably other situations, but I'll fix them as they show up.
2010-01-13 06:25:06 +00:00
Bill Currie
d558444b77
make temp def problems a little easier to understand
...
o set return_address whenever a temp def is requested, no only when it is
actually created.
o make the notices about temp reference counting problems a little more
readable and include the name of the temp
2010-01-13 06:24:29 +00:00
Bill Currie
06a46c2dfe
change the return types of the new functions from float to integer
2010-01-13 06:23:59 +00:00
Bill Currie
c2dcc20d2a
allow (constant) expressions in array declarators
2010-01-13 06:23:32 +00:00
Bill Currie
a6c504936c
get \8 and \9 right
2010-01-13 06:23:02 +00:00
Bill Currie
401040ced0
document the gold digits
2010-01-13 06:22:33 +00:00
Bill Currie
07b61aa23f
missed \0-9 for the gold numbers from qccx
2010-01-13 06:22:01 +00:00
Bill Currie
36fe939ea5
don't hang when processing \{N} escape sequences and fix a comment
2010-01-13 06:21:29 +00:00
Bill Currie
15c46c3b27
Add some functions that runequake "needs".
...
These replace the CL_* related groveling.
2010-01-13 06:20:52 +00:00
Bill Currie
090527eaec
silence some debug output
2010-01-13 06:20:22 +00:00
Bill Currie
5d6977288f
implement bounds checking on all opcodes
2010-01-13 06:19:50 +00:00
Bill Currie
c3f47efb07
add --qccx-escapes to resolve the conflicts in escape sequences and document the escape sequences supported by qfcc.
2009-12-25 07:59:25 +00:00
Bill Currie
fb5b0dc5c3
Check for .git as well as .svn when autosetting -Werror
2009-12-24 07:46:28 +00:00
Bill Currie
cb5bd43d4c
warning fix from shortcircuit
2009-12-24 07:33:24 +00:00
Thad Ward
d3e32303e1
How are the line-ends wrong on this?
2009-12-24 07:25:49 +00:00
Bill Currie
8ee4da866b
Part of my box-clipping efforts
2009-12-24 07:15:18 +00:00
Bill Currie
f315a122e5
attempt to handle jack shutdown. this should avoid locking up on client shutdown when jack disappears
2009-12-24 06:35:15 +00:00
Bill Currie
bf04589510
conheight proved to be eaiser than expected (d'oh, don't know why I couldn't see the obvious)
2009-12-24 05:46:16 +00:00
Bill Currie
a5f0fbc821
Proper widescreen support. The GL renderer now respects the pixel aspect calculated by the vid init code. Also, a new cvar: vid_aspect. The format is width:height and the values may be any float greater than 0. The default is 4:3, but any units may be used.
2009-12-24 05:33:41 +00:00
Bill Currie
58c167eaed
correct a bogus comment
2009-12-23 11:21:34 +00:00
Bill Currie
4b0320f341
glx, gly, glwidth and glheight are now gone too. also GL_BeginRendering
2009-12-23 08:20:29 +00:00
Bill Currie
ee0de1b4e1
got it right this time
2009-12-23 08:05:03 +00:00
Bill Currie
c2945605bc
oops
2009-12-23 07:57:07 +00:00
Bill Currie
8ddfdf03b2
with the changes in size handling, viewport setup becomes much simpler
2009-12-23 07:53:05 +00:00
Bill Currie
f2004abecc
nuke scr_width and scr_height
2009-12-23 07:00:42 +00:00
Bill Currie
a2fa2d425b
fix viewsize interaction with the cleaned up screen size handling
2009-12-23 06:29:11 +00:00
Bill Currie
e0cfe795b0
fix a bogus range check. this could have caused an infinite loop
2009-12-23 06:28:11 +00:00
Bill Currie
97f54e22df
fix the broken sdl/sdl32 hud
2009-12-23 02:08:49 +00:00
Bill Currie
018a0b3bb6
fix the missing crosshair
2009-12-23 01:26:14 +00:00
Bill Currie
28601c8ea4
more screen size cleanup
2009-12-22 13:12:03 +00:00
Bill Currie
0647a156e3
Apply witukind's XDG support patch
2009-12-22 12:28:55 +00:00
Bill Currie
5d15c70a0d
progress in cleaning up the screen size mess
2009-12-22 06:02:53 +00:00
Bill Currie
4a7b8f8246
don't look up aux function info when we don't have it
2009-12-21 14:07:43 +00:00
Bill Currie
c9484af217
don't seg when extracting conchars (it's not really a miptex)
2009-12-21 14:03:33 +00:00
Bill Currie
52b2631341
sanitize con_width and con_height handling. con_height cvar was being ignored.
2009-12-21 12:36:12 +00:00
Bill Currie
b6a4fc1b58
fix the glaring error of the sw renderer's aspect ratio. still not quite right for non-4:3 screens, but it's better.
2009-12-21 10:10:45 +00:00
Bill Currie
236e89ed6b
newest x11 seems to not define X_XF86VidModeGetGamma. thanks to witukind
2009-12-21 06:03:19 +00:00
Bill Currie
dcf593291d
fix for new bison (must be explicit with the type of $$ in mid-rule actions)
2009-12-21 05:53:00 +00:00
Bill Currie
c8b7622e0e
reduce the amount of memory wasted when generating the output file
2009-12-20 12:19:16 +00:00
Bill Currie
c542138300
more not-really initialized data
2009-12-20 11:54:19 +00:00
Bill Currie
1dc4683961
ensure all instructions are fully initialized.
2009-12-20 11:09:58 +00:00