Ragnvald Maartmann-Moe IV
9390a195e1
Separate out particle physics from particle rendering.
2006-12-01 07:03:13 +00:00
Ragnvald Maartmann-Moe IV
42d51bc486
Remove SDLK_WORLD_*, as they are no longer supported. Add SDLK_UNDO.
2006-12-01 06:58:23 +00:00
Bill Currie
d28952dfcc
fix a bunch of gcc-4.1 warnings (thanks for the heads up, jordi)
2006-11-30 22:52:36 +00:00
Ragnvald Maartmann-Moe IV
630d4b8587
Fix black halo bugs in even the smallest particles. Same issue as smoke, same solution.
2006-10-18 07:57:10 +00:00
Bill Currie
a2b2261913
this should fix a couple warnings found by raorn
2006-09-11 22:56:16 +00:00
Bill Currie
7d2784e1bc
whitespace
2006-07-23 01:34:14 +00:00
Bill Currie
120bd66ccc
fix a bug found by halakar
2006-07-23 01:33:54 +00:00
Bill Currie
88543d6e86
add Qfopen: basicly wrap a QFile around an existing FILE. gzip is NOT supported
2006-05-24 11:17:18 +00:00
Bill Currie
215951bc79
yay for testers :)
2006-05-24 09:24:00 +00:00
Bill Currie
6b03d8413e
don't compile GetGamme (Set/Restor)ScreenSaver at all when vidmode isn't available
2006-05-24 09:20:53 +00:00
Bill Currie
bb852eba75
fix a braino that causes args to /not/ get saved
2005-10-23 22:00:45 +00:00
Bill Currie
87cc09233c
"long" audit. can't use long when we want 32 bits. May be a few more cases.
2005-10-23 13:19:21 +00:00
Bill Currie
66e203b16b
multi-dir patch for fs_sharepath from "Alexey I.Froloff" <raorn@altlinux.ru>
2005-09-06 11:39:32 +00:00
Brian Koropoff
82b389a720
Fixes -x11 target on x86-64. Shouldn't break anything on other supported architectures.
2005-09-03 03:31:02 +00:00
Bill Currie
6705140f76
can't adjust dmix's buffer size, so print a message when it seems it's
...
likely to be an issue
2005-08-12 02:39:37 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
ddae3850e8
qf now, for the first time in history, fully passes "make distcheck"
2005-07-16 03:46:11 +00:00
Bill Currie
72e375d96a
this should fix the snd_output_alsa0_9_PluginInfo undefined symbol issue
2005-06-19 05:30:54 +00:00
Bill Currie
bcb45a7958
oops, messed up HAVE_VORBIS and HAVE_FLAC (cut&paste error:)
2005-06-19 05:24:19 +00:00
Bill Currie
9b7d8a9eca
cached and 8 bit and/or mono flacs now work
2005-06-16 00:35:55 +00:00
Bill Currie
d083fb4150
read the samples out of the buffer properly. fixes the horrible sounds :)
...
streamed flacs now work. cached not tested yet (haven't got any flacs that
small:)
2005-06-16 00:06:37 +00:00
Bill Currie
a2f0cd94e8
fix gcc-4 warnings
2005-06-15 22:20:40 +00:00
Bill Currie
13e8b00da5
almost works. samples are mangled
2005-06-15 11:56:03 +00:00
Bill Currie
98f53c2c1c
forgot to update the header
2005-06-15 10:06:55 +00:00
Bill Currie
dff68bfed0
beginnings of flac support. compiles but untested. if this doesn't crash,
...
I'll be surprised :)
2005-06-15 10:02:50 +00:00
Bill Currie
6e0c70cac7
reduce the amount of memory needed to read menu.plist
2005-06-15 01:41:10 +00:00
Bill Currie
4a21eb02c5
heh, slight oversight when implementing rcall using the param pointer
...
trick. ran into the exact same problem as passing addresses of locals to QC
functions. well, actually, that's exactly what it was, but done in the
engine. anyway, wound up potentially overwriting the params passed to the
function. fortunatly, due to how rcall works, only the first two params are
an issue.
2005-06-14 13:40:34 +00:00
Bill Currie
2cc2da74ba
fix the 0x0 dma buffer mis-reportage
2005-06-14 11:43:42 +00:00
Bill Currie
3a709cac0f
revamp the server curses code to use views (planning on "watch windows" for
...
debugging things)
2005-06-14 11:30:33 +00:00
Bill Currie
76305e7e6b
attempt to fix choppy audio in alsa caused by non-power-of 2 buffer size
2005-06-14 05:37:26 +00:00
Bill Currie
4a8bc0a4c4
bit of a reorg to get most code out of the way of #ifdefs, bit of a speedup
...
for screen updates and add a simple escape sequence parser for home and end
in debian's xterm (which seems to have borked terminfo?)
2005-06-13 09:41:48 +00:00
Bill Currie
762aefc9b1
implement Raven's calling convention (rcall: first 2 params in opb and
...
opc). should give a general speedup to most progs.
2005-06-12 09:54:01 +00:00
Bill Currie
df91ce0275
automaticly select the best available sound output driver as default
2005-06-08 10:12:28 +00:00
Bill Currie
565bb92057
con_data clash. oops. :)
2005-06-08 10:07:48 +00:00
Bill Currie
e10e2be1e3
get the len types right rather than guessing
2005-06-08 08:49:54 +00:00
Bill Currie
501180aaac
gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time)
2005-06-08 06:35:48 +00:00
Bill Currie
9482a7c0b7
make showpackets a little more usable and informative
2005-05-10 02:37:34 +00:00
Bill Currie
a154ad2835
patch from sunspot/shadows to make net_drop non-global and a bunch more
...
work on qtv
2005-05-08 06:35:46 +00:00
Bill Currie
0cbfc6f801
plug a leak
2005-05-07 07:38:04 +00:00
Bill Currie
addb57bfb3
plug some memory leaks
2005-05-05 22:50:09 +00:00
Bill Currie
63d787d9e9
add MSG_WriteUTF8 and MSG_ReadUTF8 to handle 31 bit values nicely for
...
future protocol extensions. Equivalent to MSG_*Byte or MSG_*Char. Use
MSG_ReadString and MSG_WriteString with the appropriate libc functions for
utf8 strings.
2005-05-05 00:27:04 +00:00
Bill Currie
925ea16e1d
we get to "spawn". whee. not long now and I'll have to work on the client
...
side :)
2005-05-02 09:00:17 +00:00
Bill Currie
2d8923eaf5
pre-initialize chan->incoming_sequence to -1 so a packet with an incoming
...
sequence of 0 will work
2005-05-02 06:31:55 +00:00
Bill Currie
cd2f9434fc
proxy now stays connected :) also gets the server data packet. most changes
...
due to move of pmove.h
2005-05-02 04:09:15 +00:00
Bill Currie
f65c25a7c2
oops, signage error
2005-05-01 08:30:30 +00:00
Bill Currie
a0612e27b9
d'oh, forgot to mark the string ref as freed
2005-05-01 00:01:28 +00:00
Bill Currie
f38fcd9086
catch attempts to use freed strings
2005-04-30 08:37:55 +00:00
Bill Currie
2697671a9b
make MSG_ReadDeltaUsercmd use a param rather than global to read the
...
message.
2005-04-27 12:16:15 +00:00
Bill Currie
616f094369
don't mangle the angle. no idea why it was there and it shouldn't normally
...
get there /anyway/
2005-04-27 08:07:09 +00:00
Bill Currie
c4feb0e0d6
attempt to get the external ip address from the system rather than relying
...
on hostname as hostname might resolve to 127.0.0.1, which isn't good for
trying to play networked games. if the attempt fails, fall back to the
hostname method
2005-04-27 03:34:38 +00:00
Bill Currie
3ff740d4f5
oops, committed debug stuff by mistake
2005-04-26 23:40:19 +00:00
Bill Currie
10232acdfe
make droptofloor continue the trace if it starts solid. fixes the ceiling
...
hugging sng in e1m7.
2005-04-24 13:31:47 +00:00
Ragnvald Maartmann-Moe IV
62a0919472
Revert broken gcc4 cleanups.
2005-04-11 20:59:03 +00:00
Bill Currie
76649e674e
Fix a buffer overflow in Cmd_Alias_f caused by weird quoting. Not sure if
...
the resulting alias will work as expected wrt id's command parsing, but
that's another issue :)
2005-03-28 04:35:22 +00:00
Bill Currie
b2a6a20426
avoid a buffer underflow
2005-03-24 15:00:37 +00:00
Bill Currie
63f9c77e11
d'oh
2005-03-06 08:25:30 +00:00
Bill Currie
1a1d461f0c
"debounce" (Despair's term:) focus handling in X. Seems multiple focusout
...
events can arrive when switching workplaces, but only one focusin when
returning. Not good...
2005-03-06 08:22:15 +00:00
Bill Currie
b7def83d19
patch from raorn ("Alexey I. Froloff" <sir_raorn@immo.ru>) to fix
...
interaction between -hipnotic (etc) and -game
2005-02-14 09:08:32 +00:00
Ragnvald Maartmann-Moe IV
b59f366684
First few files of signedness cleanup for GCC 4.0.
2005-02-10 22:03:16 +00:00
Bill Currie
d63e7b609e
net_socket must be "int" for sane systems
2005-01-26 01:19:36 +00:00
Ragnvald Maartmann-Moe IV
b209e8607e
*grmbl*
2005-01-13 15:11:55 +00:00
Ragnvald Maartmann-Moe IV
b72a8755ca
Move pr_keys.c to console, fixes missing Key_Progs_Init symbol for dynamic
...
builds with automake 1.9.
2005-01-13 15:10:42 +00:00
Ragnvald Maartmann-Moe IV
ea2ff1070b
Whitespace, plus remove unused key_progs_init from keys.c
2005-01-13 14:44:57 +00:00
Bill Currie
318a945a9c
fix an out-by-one error that caused a buffer overrun and a crash in windows
2005-01-03 00:30:38 +00:00
Bill Currie
23f71485d1
more tree recovering. This includes Despair's anisotropy support work.
2005-01-02 14:23:20 +00:00
Bill Currie
a9200f5f8f
remove a nasty cast
...
This is an imperfect revision of history.
2004-11-18 06:08:40 +00:00
Bill Currie
9f0903e4ba
wildcode and despair's automake 1.9 patch
...
This is an imperfect revision of history.
2004-11-18 06:08:00 +00:00
Bill Currie
4a7e2ff093
get the range of the zone right. crashing on what should be a perfectly valid value is just plain bogus :P
...
This is an imperfect revision of history.
2004-11-14 00:52:00 +00:00
Bill Currie
2488465bc9
resurrect Z_Print.
...
This is an imperfect revision of history.
2004-11-14 00:49:00 +00:00
Bill Currie
53ee50655c
allow the progs code to hook into the parsing processes
...
This is an imperfect revision of history.
2004-11-12 11:15:00 +00:00
Bill Currie
0effc54835
don't puke over a void field when dumping entities
...
This is an imperfect revision of history.
2004-11-12 11:12:00 +00:00
Bill Currie
0e324d1851
use the script api for parsing ent data and savegames
...
This is an imperfect revision of history.
2004-11-12 02:39:00 +00:00
Bill Currie
53f4d13f43
wrap the plist functions
...
This is an imperfect revision of history.
2004-11-11 22:42:00 +00:00
Bill Currie
aadf6ebf6a
"finish" qfplist
...
This is an imperfect revision of history.
2004-11-11 11:18:00 +00:00
Bill Currie
2a36c74120
add dynamic (freeable but unchangeable) strings
...
This is an imperfect revision of history.
2004-11-11 09:40:00 +00:00
Bill Currie
ff47490c48
resource usage cleanup
...
This is an imperfect revision of history.
2004-11-11 07:57:00 +00:00
Bill Currie
5ef382d2a7
Add a rua wrapper for scripts (seems, to work, too:). Also added generic resource handle support based on strref handling in pr_strings.c.
...
This is an imperfect revision of history.
2004-11-11 04:06:00 +00:00
Bill Currie
64cc8c60d2
compile time protocol support seems to be complete now. fortunatly, protocols had never been written out so the corrections to the protocol related stuctures do not need a progs version bump. runtime protocol support hasn't been fully tested yet.
...
+load runtime support seems to be working.
This is an imperfect revision of history.
2004-11-11 00:34:00 +00:00
Bill Currie
b35561504c
do proper selector registration. unfortunatly, I discovered I'd created pr_method_t incorrectly and so had to bump the progs version again
...
This is an imperfect revision of history.
2004-11-10 05:37:00 +00:00
Bill Currie
39bf47a265
use the resolve hook instead of a load function
...
This is an imperfect revision of history.
2004-11-09 22:35:00 +00:00
Bill Currie
78d98ea787
remove the time pointer (not really needed)
...
This is an imperfect revision of history.
2004-11-09 22:32:00 +00:00
Bill Currie
f577eba1ab
need to ensure time is defined
...
This is an imperfect revision of history.
2004-11-09 22:30:00 +00:00
Bill Currie
8770df39e5
start documenting things (progs building still borked)
...
This is an imperfect revision of history.
2004-11-08 23:27:00 +00:00
Bill Currie
780fb41858
make a common call function and fix pr_trace such that it autoclears only when the execution session it's set in is exited
...
This is an imperfect revision of history.
2004-11-07 03:00:00 +00:00
Bill Currie
201252c1c0
FIXME cleanup and a missed win32 compile fix
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
0bfac8dd88
win32 compile fixes
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
f5bc90a53a
clean up some redundant progs functions (may be broken for a while)
...
This is an imperfect revision of history.
2004-11-05 11:49:00 +00:00
Bill Currie
2cb81b37f9
move the *_RecursiveHullCheck functions from pmovetst.c and world.c to MOD_TraceLine in libs/models/trace.c, at the same time rewriting the code to work itteratively rather than recursively.
...
This is an imperfect revision of history.
2004-11-02 08:40:00 +00:00
Bill Currie
b95dce5deb
unlimited efrags :)
...
This is an imperfect revision of history.
2004-11-02 07:42:00 +00:00
Bill Currie
9a5cce7c14
hash.h: update the description of FindList quakefs.c: didn't need va there
...
This is an imperfect revision of history.
2004-11-02 07:39:00 +00:00
Bill Currie
6625d38a05
set the disksize of the wad entry
...
This is an imperfect revision of history.
2004-11-02 05:15:00 +00:00
Bill Currie
8e2f392d2d
pr_obj.h: add the structure for static instances rua_obj.c: add support for +initialize test.r: add some test code for +initialize main.c: don't need to initialize the hunk any more and fix a buffer overflow
...
This is an imperfect revision of history.
2004-11-02 05:12:00 +00:00
Bill Currie
25484f415b
move the script parser from qfbsp into libQFutil and correct a spelling error
...
This is an imperfect revision of history.
2004-11-02 05:05:00 +00:00
Bill Currie
33bc7858f7
avoid using the hunk in the progs engine (except for the override-able load and alloc functions) so tools (qfprogs and qwaq) don't need to create it.
...
register only the first instance of a progs provided string
This is an imperfect revision of history.
2004-11-02 04:59:00 +00:00
Bill Currie
ca46503607
add -Wsign-compare (default for -Wall only in C++) and fix up the warnings
2004-07-13 19:14:01 +00:00
Bill Currie
b36569eb9f
grievre's patch to make entity minlight and fullbright fields work properly
2004-07-11 00:37:48 +00:00
Bill Currie
cefc6df98c
grievre's patch to trade (minor) frame rate for frame (non-)latency
2004-07-10 02:32:30 +00:00
Bill Currie
e3008841be
forgot net_loopback_adr in the ipv6 code (thanks, SpanKY)
2004-05-17 22:01:18 +00:00
Bill Currie
986dae9ec9
as discussed with fuh, hide the endian dependency of the checksum calcs
...
(evil way of using md4, but oh well).
2004-05-16 23:17:51 +00:00
Bill Currie
d25f2c87ea
path is long dead. oops. thanks, Silh
2004-05-16 23:13:06 +00:00
Bill Currie
3f50758b01
make sure pcx is initialized
2004-05-11 07:27:27 +00:00
Bill Currie
f2d7d97319
Grievre's fix for his weirdness when toggling fullscren. Thanks Grievre
2004-05-10 01:17:55 +00:00
Bill Currie
67f913289c
move wad_extract into the wad utility and make QFS_CreatePath more
...
generally usable
2004-05-09 22:58:37 +00:00
Bill Currie
8a237169c3
patches to allow for multiple view ports
2004-05-07 03:54:35 +00:00
Bill Currie
4f71b39827
it seems glGetProcAddressARB is obsolete so check for glGetProcAddress first
2004-05-06 07:13:18 +00:00
Bill Currie
9ed9832789
bring back the alpha setting for dlights (finally found out what it was
...
for) and "fix" the wayward dlights in mvds: caused by svc_muzzleflash being
written before the player updates. Should probably fix properly that in the
server too.
2004-05-03 06:21:39 +00:00
Bill Currie
57ffcae9fe
remove some dead code
2004-05-03 04:52:00 +00:00
Bill Currie
fc4211c257
the rest of Grievre's lighting tweaks
2004-05-02 21:21:00 +00:00
Bill Currie
adf50949e2
slightly modified version of Grievre's fix for black models on an unlit map
2004-05-02 20:40:09 +00:00
Bill Currie
c99a011f21
make sure sample length is never 0
2004-04-29 03:00:25 +00:00
Bill Currie
c456eb1f80
fix a 64bit warning
2004-04-29 01:13:37 +00:00
Ragnvald Maartmann-Moe IV
f0d9008fa4
Swap normal/vertex order to match order they are accessed in during render.
...
Optimization from Grievre.
Also fix a minimum light clamping to actually be applied.
2004-04-28 20:27:11 +00:00
Bill Currie
1c0735d0c9
* taniwha mutters about end-runs (sorry, Grievre)
2004-04-28 04:07:50 +00:00
Bill Currie
785307fd9a
Grievre's lighting tweeks
2004-04-27 22:18:23 +00:00
Brian Koropoff
c16194cf76
Disable libQFobject from being built or used, since it doesn't serve
...
any purpose right now.
2004-04-27 21:58:21 +00:00
Brian Koropoff
409ba9887f
Last few changes to libQFobject, in case anyone wants to use the code
...
for something.
2004-04-27 21:56:26 +00:00
Bill Currie
2d671955fb
fix an oopsie that broke skyboxlist (early morning paper routes are bad for
...
coding:)
2004-04-23 22:53:39 +00:00
Bill Currie
616be68bdd
strip parameter to QFS_FilelistFill and add rua support
2004-04-20 22:52:09 +00:00
Bill Currie
e8f9761d33
move the filelist building code into quakefs
2004-04-20 22:25:52 +00:00
Bill Currie
dd989c18ff
fix a braino
2004-04-16 04:21:16 +00:00
Bill Currie
1f9d75a7c7
add r_norefresh support to sw and sw32 and rename the console side of the
...
cvar to get around the evil in customtf
2004-04-16 03:24:10 +00:00
Bill Currie
b62f3c98d9
full path reporting when writing screenshots
2004-04-14 03:31:08 +00:00
Bill Currie
31b867a08e
rework contains_updir to allow a specified number of ..s. QFS_FOpenFile now
...
allows one .. in the path (won't be able to find any files in a pak file
and is horribly inefficient, but oh well)
2004-04-14 02:15:14 +00:00
Bill Currie
1bf13a27b9
QFS_Open more secure and simplify contains_updir
2004-04-13 04:42:12 +00:00
Bill Currie
1fb50d2f08
don't create the path in QFS_Open if not writing
2004-04-13 03:38:16 +00:00
Bill Currie
45c304ffc0
add a -novideo option to allow for headless operation
2004-04-13 02:13:35 +00:00
Bill Currie
8fdd8a0888
make local command ip address checking sane
2004-04-12 23:38:09 +00:00
Brian Koropoff
8bbd7bc13a
For some reason, using static nested function as callback = segfault.
...
Fixed.
2004-04-09 18:18:19 +00:00
Bill Currie
4c4f40f137
fix a few bugs. basics seem to be working
2004-04-08 05:13:24 +00:00
Bill Currie
633dada682
quaternion conjugate support (engine side)
2004-04-08 04:57:17 +00:00
Bill Currie
fc2413ff72
more quaternion work (should be working, haven't come up with tests yet)
2004-04-08 03:32:14 +00:00
Bill Currie
4882005a49
compile fixes (oops) and start working on quaternion support in qfcc
2004-04-08 02:33:20 +00:00
Bill Currie
8d6f634f30
engine side quaternion support
2004-04-08 00:56:30 +00:00
Bill Currie
39685d0c63
more readability and add the quaternion functions
2004-04-07 18:01:45 +00:00
Bill Currie
49f8787450
fix up some accidental asm compilation when it's not wanted
2004-04-04 05:34:20 +00:00
Chris Ison
5dcdd2c194
fixed stalls and mis-placed rocket which was seen only in the cygwin->mingw32 builds, also removed redundant stdin_ready code and forcing of timeout setting for win32 build
2004-03-26 02:52:47 +00:00
Bill Currie
969cf7ac66
make sure the mouse input updates properly when going from fullscreen to
...
windowed
2004-03-22 03:23:59 +00:00
Bill Currie
23e8ef1dd8
do the viewport forcing in configure_notify. fixes Grievre's uncentered
...
viewport
2004-03-22 02:16:41 +00:00
Bill Currie
4b33ba547a
don't know why the expose event was being waited for. doesn't seem to be
...
needed (now, anyway) when going windowed and causes lockup when starting
fullscreen
2004-03-21 20:21:57 +00:00
Bill Currie
7feaa3d631
Want for the mouse to move when going fullscreen before moving the
...
viewport. This should fix the uncetnered viewport when going fullscreen.
Also discard mouse events caused by fullscreen toggling to avoid chaning
orientation.
2004-03-21 05:21:27 +00:00
Ragnvald Maartmann-Moe IV
db1f68347b
Fixes compilation with current GCC. Also a safety improvement (if macro should
...
use param more than once), taniwha tells me.
2004-03-21 04:59:02 +00:00
Bill Currie
0b808b0c49
so that's why you would want to use XMaskEvent... don't lose the FocusIn
...
and EnterNotify events when starting fullscreened
2004-03-21 00:34:24 +00:00
Bill Currie
60ca9854aa
dead code removal
2004-03-19 21:12:12 +00:00
Bill Currie
78fd6d2513
minor cleanup of window position handling. hopefully no more window off
...
screen issues (wait for ConfigureNotify instead of MapNotify on window
creation (ConfigureNotify gives us our window position)).
2004-03-19 20:24:26 +00:00
Bill Currie
9099baeb6d
minor cleanups preparing for an overhaul
2004-03-18 06:05:59 +00:00
Bill Currie
142127f89d
even better, use seta (new command) instead so config.cfg automaticly sets
...
the archive bit
2004-03-18 05:58:06 +00:00
Bill Currie
0c82006bd8
all archived cvars now get written to the config file prefixed with set
2004-03-18 05:45:45 +00:00
Bill Currie
4f79d8ce0a
hopefully more correct surface marking for dlights
2004-03-17 04:53:10 +00:00
Bill Currie
6c1c39c4d2
don't fudge the maxdist by 0.75. no clue why that was done, but it was the
...
cause of the bogusly lit surfaces (not sure why, though. imaginary numbers,
maybe?). timedemo runs are a little more variable :/
2004-03-17 04:47:55 +00:00
Bill Currie
e24cbd75e0
M_BUTTON6 and M_BUTTON7. nuff said :)
2004-03-16 04:12:28 +00:00