sezero
5fac2b24de
added IS_LOOP_DRIVER macro and made the confusing loop driver checks
...
more readable. from uhexen2.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@488 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-09-20 18:05:51 +00:00
stevenaaus
0da8a9c5aa
Make the default fullscreen mode 800x600 (same as window default), from Sander.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@487 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-09-20 06:41:36 +00:00
sezero
cafac97cc0
more ChangeLog updates
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@486 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-09-19 08:55:47 +00:00
stevenaaus
69cff15d5a
Update doco for minor changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@485 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-09-18 04:24:22 +00:00
sezero
0598fda2ce
gl_model.c: Added new external_ents cvar for Mod_LoadEntities()
...
in parallel to the old QIP code.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@484 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-09-15 07:51:11 +00:00
sezero
8b4e7c002e
updated makefiles.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@483 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-27 07:11:36 +00:00
sezero
373b91ba2d
updated snd_vorbis.c from the uhexen2 project: support for Tremor (libvorbisidec)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@482 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-27 07:11:02 +00:00
sezero
9914c59754
mlook and lookspring fixes by Jacques Krige :
...
http://www.quake-1.com/docs/quakesrc.org/1.html
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@481 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-25 21:37:34 +00:00
stevenaaus
ec387fbd0c
z-fighting (flickering gl texture clash most notable in e1m1) bug fix, from Sander.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@480 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-24 07:47:29 +00:00
sezero
479def2a90
snd_mp3.c (S_MP3_CodecOpenStream): Don't Z_Free() stream's private
...
data when not allocating on the zone.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@479 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-21 09:10:52 +00:00
sezero
9cea5ea9ab
recompiled all windows x64 libraries using the latest mingw-w64 v1.0 runtime rev.4360.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@478 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-10 05:05:36 +00:00
sezero
debacbdc65
updated my mk_header tool and added systest.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@477 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-06 16:10:43 +00:00
sezero
073114fce1
console.c (LOG_Init): Removed the O_APPEND flag when opening the log file.
...
It was a legacy from Quake who used to open and close the log file on every
write. Commented out the unlink() call and added O_TRUNC to the open flags.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@476 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-03 19:30:37 +00:00
sezero
d78c4feaf6
removed the LoadBufFile method
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@475 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-03 19:22:29 +00:00
sezero
7a389d27eb
fixed vorbisfile link order at another place
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@474 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-21 09:20:45 +00:00
sezero
ec39aaffeb
deleted unused vorbisenc.h header from OSX port too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@473 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-21 09:11:30 +00:00
sezero
00a9cb8cf6
fixed vorbisfile link order for static linkage if one chooses to do so.
...
deleted unused vorbisenc.h header.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@472 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-21 09:03:35 +00:00
sezero
c1f1d3c4ea
snd_mp3.c: leave Z_ alone and allocate libmad decoding buffers (ca. 64kb)
...
on the system memory.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@471 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-20 09:00:12 +00:00
sezero
8d2ae02b50
zone.c (Z_Realloc): If expanding size, zero-fill the expanded part
...
of the memory before returning, which is Z_Malloc() behavior.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@470 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-17 14:00:48 +00:00
stevenaaus
9870a7c609
Added a new OSX app. Update links in doco.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@469 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-16 11:07:19 +00:00
sezero
2a89e12257
progs.h (PR_RunError): Mark the function as noreturn.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@468 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-08 17:27:44 +00:00
sezero
9f4c7da187
host.c (Host_ClearMemory): Do not check if host_hunklevel is
...
set before freeing the hunk allocations. The order in Host_Init()
is clear and Host_ClearMemory must not be hit before host_hunklevel
is set. (otherwise, there _will_ be much trouble...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@467 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-05 06:50:23 +00:00
sezero
d6a8cbfe7b
host.c (Host_Init): Execute quake.rc _after_ setting host_hunklevel
...
and host_initialized.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@466 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-05 06:45:31 +00:00
sezero
5a80226b3d
* Removed some useless memset calls onto newly hunk allocated memory.
...
Hunk_Alloc() already clears the memory before returning it.
* Some minor cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@465 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-05 06:28:42 +00:00
sezero
595a7cbc83
Increased localmodels array size to 8 (better alignment)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@464 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-28 11:33:23 +00:00
sezero
bdf74f0c65
moved Host_Version_f from host_cmd.c to host.c.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@463 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-27 13:20:52 +00:00
sezero
389e536fd6
net_udp.c: check whether the address returned by gethostbyname is an IPv4 address
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@462 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-27 13:10:19 +00:00
sezero
1e25ba84e6
minor syncing with uhexen2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@461 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-13 12:41:00 +00:00
sezero
766f18d7ca
a little syncing with uhexen2.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@460 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-12 12:25:22 +00:00
sezero
3618c26dc1
updated q_stdinc.h from uhexen2.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@459 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-11 13:20:13 +00:00
sezero
63e785d2e7
gl_model.c (Mod_LoadEntities): Added support for loading external entity files.
...
Adding a cvar to control this option should follow later.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@458 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-11 05:03:04 +00:00
stevenaaus
e8b5623fd3
Trial a new Freeze cvar.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@457 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-10 03:04:51 +00:00
sezero
fba047b00d
Recompiled all windows x64 libraries using the latest mingw-w64 tools.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@456 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-02 07:56:15 +00:00
sezero
8d5a1dce3d
Sync music stuff with uHexen2: Removed S_FileExtension, replaced its use
...
by COM_FileGetExtension. Adjusted all users because COM_FileGetExtension
doesn't include the leading dot for the extension, nor does it ever return
NULL.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@455 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-20 22:20:30 +00:00
sezero
56395aed55
replaced COM_FileExtension by a slightly better version from uhexen2,
...
renamed it to COM_FileGetExtension, added a prototype to common.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@454 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-20 20:38:11 +00:00
sezero
2dd38f7f79
recompiled SDL.dll for windows x64 from 2010-11-11 snapshot.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@453 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-15 10:33:26 +00:00
stevenaaus
7a7ea1e390
Add note about music sampling and sndspeed to readme.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@452 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-28 06:24:37 +00:00
sezero
f49d120782
added a note to README.music about Quake cdrom audio tracks being pre-emphasized.
...
from Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@451 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-25 21:33:54 +00:00
sezero
c6feeb7b02
updated documents for new changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@450 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 16:25:26 +00:00
sezero
7697791c87
small documentation corrections. fixed the borked README.txt file.
...
changed version to 0.85.5 in the README files. changed version to
0.85.5 in quakedef.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@449 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 04:27:54 +00:00
stevenaaus
3c1010e6b0
Update Makefile.darwin (OSX) and doco.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@448 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 03:01:40 +00:00
sezero
6934c349f3
* codecs: updated libmpg123 windows libraries to the latest
...
stable 1.13.3 version.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@447 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-22 05:23:45 +00:00
sezero
a68b95a2de
check for arguments to several command line options. patch from Sander van Dijk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@446 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:29:41 +00:00
sezero
06a6c0c0cc
changed Misc/homedir_0.patch to incorporate host_parms->userdir
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@445 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:02:00 +00:00
sezero
e61ddf465c
keys.c (History_Init, History_Shutdown): use host_parms->userdir.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@444 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 17:02:41 +00:00
sezero
203ff53a7a
made global host_parms a pointer, set in main(). adjusted places where
...
host_parms is used. made COM_Init() and Host_Init() to take no arguments.
made Sys_Init() to set host_parms->userdir: at present, it is set to
host_parms->basedir, to be changed properly when user directories are
implemented.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@443 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 16:41:45 +00:00
sezero
f081c21a40
fixed several gcc-4.6 -Wunused-but-set-variable warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@442 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-12 12:36:04 +00:00
sezero
250b265398
minor update to README.music document.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@441 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 20:25:58 +00:00
sezero
0c2e3e79a2
cl_parse.c (CL_KeepaliveMessage): fixed big boom in net play in maps with
...
extended limits. it was a fitzquake-0.85 bug noticed by `mh' as explained
at http://forums.inside3d.com/viewtopic.php?p=35030
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@440 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 06:01:39 +00:00
sezero
0fbd3237b5
just properly use (u)intptr_t where necessary and don't do the cheap hack
...
of using size_t instead of it. include stdint.h in q_stdinc.h for it.
for Visual Studio earlier than version 2010, use the header provided by
the msinttypes project.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@439 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-01 14:55:45 +00:00