svdijk
0712a5e3ff
Minor default sbaralpha tweak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@709 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:38:13 +00:00
svdijk
fe2f6abc9c
SCR_ModalMessage: (very) minor correction.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@708 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:29:01 +00:00
svdijk
75bd9bbc63
Handle some cornercases better in the scale slider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@707 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:24:40 +00:00
sezero
36bb4c31e0
removed static versions of osx codec import libs.
...
renamed osx codec dylib import lib directory to be lib.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@706 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 07:39:43 +00:00
sezero
4669b1935e
changed ToggleFullscreen failure message to be a debug print
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@705 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 06:54:59 +00:00
sezero
4e5c5f3a8f
- Makefile.darwin: -mmacosx-version-min also needs to be among
...
the linker flags for x86_64 builds. adjusted accordingly.
- build_cross_osx.sh, build_cross_win32.sh, build_cross_win64.sh:
added the cross-compile scripts I have been using.
- Makefiles,other: added LDFLAGS variables for future use.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@704 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-03 21:21:04 +00:00
svdijk
2712209f40
Rework the scale menu option to be more intuitive.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@703 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-03 19:47:16 +00:00
svdijk
7f11a48d57
Since it covers (part of) the weapon, make the statusbar somewhat more transparent by default.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@702 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 17:18:23 +00:00
sezero
0aba20390f
oslibs, codecs: minor libmad update
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@701 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 14:00:34 +00:00
sezero
8acde73fef
added SDL_FRAMEWORK to GCC_PREPROCESSOR_DEFINITIONS in the Xcode project
...
file. further updating is still needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@700 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-08-16 05:15:52 +00:00
sezero
c92128dda8
Updated support for building the OSX versions using Makefile.darwin. Do
...
not rely on sdl-config on OSX Framework builds, define new SDL_FRAMEWORK
and NO_SDL_CONFIG preprocessor macros to indicate that and include SDL.h
with the "SDL" subdirectory name included. Add new libmad and ogg/vorbis
headers and static and dynamic libraries for macosx. Xcode project files
need further updating.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@699 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-08-16 04:51:41 +00:00
sezero
0e33f931c9
fixed compilation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@698 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-19 05:40:16 +00:00
sezero
eba5d4937f
cl_demo.c (CL_PlayDemo_f): set key_dest to key_game only when the
...
demo file is successfully opened.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@697 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-18 21:20:07 +00:00
sezero
12d663c784
* cl_demo.c: for a command like "record demoname map [track]", don't
...
continue if the map cannot be started. do not continue if the demo
file cannot be opened for the timedemo command. for playdemo, verify
that the forcetrack '\n' byte appears among the very first 12 bytes
of the file.
* r_world.c (R_MarkSurfaces): reset vis_changed to false.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@696 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-18 20:51:35 +00:00
sezero
ac57f330d6
cl_main.c (CL_Disconnect): set cl.intermission to 0. Fixes a minor
...
intermission glitch which isn't hit easily. See Baker's notice at:
http://forums.inside3d.com/viewtopic.php?t=4944
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@695 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-16 17:00:24 +00:00
sezero
d1b7635b8e
Fixed increased (more than 32) dynamic lights.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@694 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-10 11:21:17 +00:00
svdijk
c95ac24351
Rework the linux icon a bit, also store smaller (indexed color)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@693 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 20:14:52 +00:00
sezero
686fdd6fd3
arch_def.h: Added GNU/Hurd defs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@692 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 07:15:23 +00:00
sezero
d2ecda1b3a
GNU/Hurd has BSD-style struct sockaddr too (reported by Svante Signell
...
in debian bug #657793 )
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@691 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 05:09:55 +00:00
sezero
6b16d303e6
updated the README.* files for 0.85.8 development version changes until
...
end of June 2012.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@690 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-03 21:20:11 +00:00
sezero
993ef3018a
zone.c: Use memcpy() instead of strcpy() in Hunk_Strdup() and Z_Strdup().
...
Removed dead Cache_Compact() function. Made mainzone static to zone.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@689 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 14:50:17 +00:00
sezero
f4dddb0203
updated snd bits from uhexen2. added signed 8 bit format support
...
to the mixer.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@688 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 12:50:09 +00:00
sezero
498fa8e1f9
updated arch_def.h and net_sys.h from uhexen2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@687 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:51:23 +00:00
sezero
6a8c9824d5
* keys.h: renamed KP_* key macros to K_KP_*.
...
* key.c (Key_ClearStates): Instead of clearing all key's down state
and repeat count, run KeyEvent(k,false) keys in down state, which
will already clear those states for them. This also helps getting
rid of several actions bound to keypad keys. Minor cleanups.
* gl_vidsdl.c (ClearAllStates): Removed code triggering every key
with a release event, because we just changed Key_ClearStates() to
do that for the necessary keys.
* in_sdl.c: Minor cleanups. Made K_KP_5 to send '5' when not in game
mode, regardless of the numlock status. Moved prev_gamekey to top
level and call SDL_EnableUNICODE() correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@686 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:20:38 +00:00
svdijk
6832763fc1
in_sdl.c: Add missing KP_NUMLOCK key event.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@685 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-10 06:09:50 +00:00
svdijk
ab2fd06513
Small update to r683.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@684 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-08 20:06:40 +00:00
svdijk
10e987f862
Re-introduce KP_* syms, but only "in-game".
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@683 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-08 19:27:12 +00:00
svdijk
a74060efc0
pl_linux.c: Set icon only if mask creation is successful.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@682 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 18:31:41 +00:00
svdijk
550c9144c1
Makefile, Makefile.darwin: Remove the not-so-useful "install" target.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@681 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 17:29:34 +00:00
sezero
b2de394759
added missing cast in PL_CreateIconMask() to fix compilation using g++
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@680 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 10:55:35 +00:00
sezero
2357325e56
Makefiles: defined new variable LINKER. for linkage we no longer use $(CC),
...
but $(LINKER)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@679 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:47:45 +00:00
sezero
7e24a4457c
fix linkage for solaris: needs -lsocket -lnsl -lresolv for network
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@678 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:28:34 +00:00
sezero
bfffadc040
removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@677 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:00:12 +00:00
sezero
9918ecc44e
renamed model_t to qmodel_t in order to avoid conflicts on solaris.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@676 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 08:56:06 +00:00
svdijk
02ff5e4394
gl_warp.c: revert part of r653, not really needed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@675 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 09:01:55 +00:00
svdijk
c23f8b3fff
Remove no longer used Misc/QuakeSpasm_256.png
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@674 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 08:55:00 +00:00
sezero
3e70932fb7
minor gl_vidsdl.c cleanups: tidied up VID_SetMode(). Removed the defunct
...
_windowed_mouse cvar. Simplified va()+Cvar_Set() calls into Cvar_SetValue().
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@673 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-21 12:32:20 +00:00
svdijk
7b5abd184f
Minor linux icon tweak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@672 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-17 06:02:50 +00:00
sezero
792318902f
don't print both of the two possible warning messages in PF_VarString()
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@671 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 16:10:13 +00:00
svdijk
b0c683f4cd
pr_cmds.c: Make PF_VarString's buffer a bit larger (fixes UQC's menu).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@670 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 14:41:29 +00:00
sezero
88201290f6
removed unnecessary cb.bmp from codeblocks directories.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@669 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-12 15:28:14 +00:00
svdijk
d1327e65d7
Remove unneeded sizes (24, 64) from the windows icon.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@668 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:59:54 +00:00
svdijk
1100f09fe7
(Untested) Use new transparent icon for macosx (16, 32, 64, 128 and 256).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@667 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:38:50 +00:00
svdijk
bd5394e434
Use new transparent icon for windows (16, 24, 32, 48, 64 and 256).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@666 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:24:58 +00:00
svdijk
410082f230
Use new transparent icon for linux (32x32 for now).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@665 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 20:21:20 +00:00
svdijk
02152f52a3
Add new icon png to the repo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@664 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 19:21:20 +00:00
svdijk
256ed6e7f6
keys.[ch]: comment out KP_* keys, since we map them to their K_* counterparts
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@663 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 18:01:47 +00:00
sezero
ff18f430e8
updated README files for 0.85.8 development version changes so far
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@662 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 17:01:11 +00:00
sezero
e4163ed108
snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number
...
of channels in the music file is supported, i.e. either stereo or
mono. Minor tidy up of the error return paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@661 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 11:02:08 +00:00
sezero
568010696c
removed the envmap command which drew to front buffer. adjusted the
...
timerefresh command not to draw to the front buffer. also made sure
that there is an active connection when timerefresh is called.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@660 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 07:55:56 +00:00
svdijk
b57e204840
in_sdl.c: invert the behaviour of numlock (numbers when on, not when off)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@659 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 20:23:55 +00:00
sezero
8d8213f6ba
common.c: until COM_CheckRegistered() is called keep the value of the
...
registered cvar as 1, set it right in COM_CheckRegistered(). fixes the
problem of registered game installed from later versions of cdroms not
being properly recognized by versions 0.85.6 and 0.85.7.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@658 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 19:47:22 +00:00
sezero
a049da1632
Limited the struct qsocket_s details only to net_*.c sources :
...
For menu serverlist handling, added new procedures NET_SlistSort,
NET_SlistPrintServer and NET_SlistPrintServerName. Added new
procedure NET_QSocketGetTime for status and spawn commands' print
functionality in host_cmd.c. Added new NET_QSocketGetAddressString
procedure for status and connect commands' print functionality in
host_cmd.c and sv_main.c. Patch ported over from uhexen2.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@657 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-18 20:33:12 +00:00
sezero
cf3c6d5f5e
* net_dgrm.c: Fixed the types of testSocket and test2Socket from int
...
to sys_socket_t.
* updated version date stamp to 2012-04-01.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@656 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-01 18:03:25 +00:00
sezero
0a32fb9214
cmd.c, gl_texmgr.c, gl_texmgr.h: killed the rest of the -Wsign-compare warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@655 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-31 18:30:09 +00:00
sezero
fab747c1ae
Added file count and header crc macros for id1/pak0.pak v1.00 and v1.01
...
so that the corresponding shareware versions actually work properly and
not error out.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@654 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-28 17:50:47 +00:00
svdijk
bc717b3c40
gl_warp: save some cvars to config.cfg.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@653 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-25 19:08:31 +00:00
sezero
211b10935e
fixed last changed date in the README files. hand-edited the generated
...
txt version for it to be a bit more readable.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@652 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 10:50:29 +00:00
stevenaaus
9213f757b2
Add libSDL gamma known issue to readme.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@651 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 07:10:14 +00:00
sezero
7b74929391
* mathlib.h (IS_NAN): Fixed strict aliasing violation by providing
...
an inline function using a float/int union instead of the original
macro.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@650 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 06:24:56 +00:00
kristianduske
b6afdf63d5
Updated version strings in OS X project to 0.85.8
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@649 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-14 07:06:49 +00:00
sezero
2bbf869fe9
bumped version to 0.85.8 in the development tree
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@648 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-14 07:02:41 +00:00
sezero
e308926219
more README updates.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@646 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-13 05:10:26 +00:00
sezero
1cdbd0b07f
updated README files for 0.85.7 relnotes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@645 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 20:00:24 +00:00
sezero
9438b6afd6
Moved the stufftext_frame global to client_static_t structure and
...
adjusted CL_GetDemoMessage and CL_ParseServerMessage accordingly.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@644 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 08:24:16 +00:00
sezero
cf02709698
windows codecs: updated libmpg123 to latest stable 1.13.6 version.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@643 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 06:28:10 +00:00
sezero
fea58a1661
minor Makefile tidying
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@642 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-09 10:11:09 +00:00
sezero
628318e603
changed the rowbytes, width, height, conwidth and conheight members of
...
viddef_t from unsigned to signed int. fixed the -Wsign-compare warnings
for NUM_GLMODES. fixed compilation using g++, by adding a missing type
cast.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@641 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-08 10:14:58 +00:00
stevenaaus
e2391c8792
'make install' directory needs trailing slash in order to fail (desired) if directory doesn't exist.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@640 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-08 07:17:49 +00:00
sezero
023e298dde
cmd.c (Cbuf_InsertText): Unconditionally add a newline after the inserted
...
text. Fixes executed files without a newline at the end of them eating up
followup commands.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@639 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-03 21:55:53 +00:00
sezero
391d38fc05
apply anisotropic level setting only to mipmap textures
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@638 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-18 22:04:38 +00:00
sezero
9b772c9fd2
at least use the api sensibly and don't screw the whitespace
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@637 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 11:33:07 +00:00
stevenaaus
97c5882297
common.c
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@636 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 02:59:21 +00:00
sezero
3340d9b5a4
renamed the file with spaces in its name
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@635 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 16:00:35 +00:00
sezero
3f8252bfbd
common.c (COM_FindFile): reverted ultra-hacky revs. 627-629. made it to
...
report files which aren't found only if developer.value >= 2, i.e. used
Con_DPrintf2 of fitz for the first time since its creation.. would have
been better if I'd implement and use Sys_DPrintf() there.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@634 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 15:55:09 +00:00
sezero
b1d8f204e0
gl_texmgr.c (TexMgr_ReloadImage): reduced the hunk memory usage during
...
reloading of images from the bsp by not loading the whole file but by
opening the file, fseek()ing and allocating only the necessary amount.
This way, I can load and reload a save of ne_ruins with just the default
64 Mb of memory on x86 and with only 68.5 Mb of memory (-heapsize 70000)
on x86_64.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@633 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 14:30:19 +00:00
sezero
63f50a3d7e
removed the defunct block_drawing global (btw, it was checked incorrectly
...
in GL_EndRendering()... )
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@632 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:37:07 +00:00
sezero
c6d89f9b6f
in_sdl.c: fixed backspace key on Mac OS X
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@631 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:04:43 +00:00
kristianduske
0f8e9072b6
Removed options for ppc64 because it cannot build anyway.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@630 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 20:41:31 +00:00
svdijk
f73d9a3f70
make missing texture no-spam hack safer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@629 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 18:22:55 +00:00
stevenaaus
eaf0bc1a59
Refine missing texture no-spam hack.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@628 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 00:53:29 +00:00
stevenaaus
7f37247ef0
Don't spam developers about missing external textures.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@627 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-07 20:38:34 +00:00
sezero
4e5389e53a
windows codecs: Upgrade to the latest versions of ogg-
...
vorbis decoders.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@626 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-04 20:20:26 +00:00
sezero
0f97c16639
net_sys.h: Add __FreeBSD_kernel__ to the HAVE_SA_LEN list. Debian
...
bug entry: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@625 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-30 10:40:41 +00:00
sezero
67f407a656
snd_mp3.c (mp3_madseek): clang, -Wtautological-compare: fixed the
...
"comparison of unsigned expression >= 0 is always true" warning for
to_skip_samples.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@624 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 19:15:20 +00:00
sezero
a774e66dd1
gl_vidsdl.c (VID_Init): fixed a -Wparentheses-equality warning from clang
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@623 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 18:04:28 +00:00
svdijk
2bbcda8854
gl_texmgr.c: less ambiguous naming.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@622 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-24 21:24:14 +00:00
svdijk
dc6e82d3d7
gl_texmgr.c: some small improvements and cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@621 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-23 18:51:12 +00:00
sezero
776ddadab0
recompiled SDL for win32 and win64 from latest v1.2.15 (hg:rev/5273dfd19a5e)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@620 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-22 15:50:35 +00:00
svdijk
c2188a9c85
gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@619 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-21 09:51:38 +00:00
svdijk
accfc75d91
gl_texmgr.c: small optimization
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@618 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 19:31:18 +00:00
svdijk
1cdaea229a
gl_texmgr.c: Make "gl_texturemode" a cvar with callback.
...
This has the benefit that it is stored in "config.cfg",
and is reset by "resetall" and "resetcfg". Other than
that though, it behaves exactly the same as before.
(The same console input will lead to the same result
as before when it was a command.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@617 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 18:59:20 +00:00
sezero
37e9b5a400
minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@616 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 17:11:24 +00:00
sezero
302e11c467
make sure gl_max_anisotropy is initialized. also added a uberparanoid check
...
for gl_max_anisotropy.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@615 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:55:27 +00:00
sezero
da6fde8df6
some form of a workaround for recursive calling of TexMgr_Anisotropy_f()
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@614 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:22:29 +00:00
svdijk
dec3161565
gl_screen.c:SCR_ModalMessage(): make sure we don't ignore the next keypress (after a timeout).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@613 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 19:09:23 +00:00
svdijk
4db1a1a004
When modetesting, redraw the screen before asking for confirmation. Otherwise the screen is just a black rectangle, which may be confusing for the user.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@612 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:48:09 +00:00
svdijk
695398b606
Make the "Reset config" message more informative.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@611 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:00:35 +00:00
svdijk
7248b2d61a
gl_screen.c:SCR_ModalMessage(): sleep a little while busy-waiting.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@610 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:34:54 +00:00
svdijk
55a52a15ab
- Rename the "Reset defaults" menu option to "Reset config".
...
- Make it reset only those cvar's that are saved to config.cfg.
- Make it as the user for confirmation.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@609 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:25:07 +00:00
stevenaaus
a3cb9cf29e
Add README.music to htdocs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-16 20:37:25 +00:00
sezero
d765686f93
SCR_CenterPrint() has been counting the lines in the wrong place: count
...
the copied string NOT the original.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@607 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-13 19:10:52 +00:00
sezero
1d9df2c728
removed executable property from the icon file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@606 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-11 07:10:24 +00:00
stevenaaus
d5962b7a52
Make a proper OSX icon to replace the 'F'.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@605 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-10 22:25:43 +00:00
sezero
bb539ef7c8
fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@604 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-09 08:10:35 +00:00
svdijk
8e4b58c37e
console.c:Con_DrawInput(): some changes for correctness and simplicity
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@603 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 13:21:42 +00:00
sezero
9dd8339eee
tidy up osx mouse acceleration hack a bit more.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@602 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 09:22:43 +00:00
sezero
5e9d475661
tidied up whitespace in osx mouse acceleration hack code. fixed declaration
...
of the new cvar to use the new cvar flags.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@601 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:50:11 +00:00
kristianduske
31ad97cccd
Fixed link to IOKit.framework in Xcode project.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@600 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:31:40 +00:00
kristianduske
f5ecfac4d4
Applied patch to disable mouse acceleration in Mac OS X.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@599 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:26:32 +00:00
svdijk
6a96da31d3
console.c: some long input line fixes (keep cursor on screen, don't clip line early, buffer size fix)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@598 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-06 21:25:42 +00:00
sezero
21c363e917
removed remaining pieces of sparkle references from documents
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@597 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-05 10:27:09 +00:00
sezero
e3e266e230
Recompiled all win64 dlls and import libraries.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@596 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-05 10:00:25 +00:00
svdijk
606890402c
Console word wrap fix: only check and wrap at word boundaries, not in the middle of a word.
...
(Enter "r_nolerp_list" in the console for an example.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@595 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-03 18:03:51 +00:00
stevenaaus
6dd3c40734
Add a copyright section to the README.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@594 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-01 20:27:10 +00:00
kristianduske
94e9396f62
Removed Sparkle auto updates from OS X build and increased version numbers to 0.85.7.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@593 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-01 16:50:33 +00:00
sezero
ec32dcce6b
bumped version to 0.85.7 in the development tree
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@592 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-01 12:00:16 +00:00
sezero
2bc64688a5
documentation updates
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@590 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 21:15:31 +00:00
sezero
8168a76d67
rediffed and adjusted the Misc/* extra patches so that they apply and compile
...
correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@589 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 18:20:28 +00:00
sezero
c7f143adfa
documentation update for 0.85.6
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@588 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 16:50:24 +00:00
sezero
ee629bc382
recompiled SDL for windows from HG snapshot 19c7412a6345
...
(v1.2.15, 2011-12-30, SDL-1.2 branch. this time for x86.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@587 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 16:00:18 +00:00
sezero
09ac6fd1e3
recompiled SDL for windows from HG snapshot 19c7412a6345
...
(v1.2.15, 2011-12-30, SDL-1.2 branch.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@586 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 15:33:08 +00:00
sezero
1412a89552
deleted winquake.h from visual studio project file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@585 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 14:12:10 +00:00
sezero
fa987143f1
gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@584 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 14:00:28 +00:00
sezero
17df3c6a59
removed some OS-specific drivers. they weren't used and was here only for
...
reference.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@583 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 13:59:14 +00:00
sezero
96dfa5e022
gl_vidsdl.c (GL_Init): set VID_Changed_f() callback to vid_vsync only if
...
GL_CheckExtensions() set gl_swap_control as true.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@582 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 12:15:19 +00:00
sezero
eff2d79e59
recompiled SDL for windows from HG snapshot adbed7ec5704
...
(v1.2.15, 2011-12-29, SDL-1.2 branch)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@581 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 09:16:00 +00:00
kristianduske
8a1f2fe348
Applied patch to remove poseAsClass call and fixed a compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@580 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 08:56:14 +00:00
sezero
629c666966
gl_vidsdl.c (VID_SyncCvars): set vid_vsync to 1 only if the received value
...
is positive, not "not zero".
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@579 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 00:10:16 +00:00
sezero
e3c4bd04ca
minor typo fixes for vsync related messages.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@578 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 23:05:12 +00:00
sezero
a231934c83
gl_vidsdl.c (VID_Toggle): if SDL_WM_ToggleFullScreen() succeeded, ignore
...
the vid_fullscreen callback function setting vid_changed to true.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@577 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 21:44:36 +00:00
sezero
650a215d7c
changed some of the Cvar_Set[Value] calls to their *Quick variants in the
...
source files where the vars are defined.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@576 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 21:21:11 +00:00
sezero
93d8acdba3
silenced -Wsign-compare warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@575 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 19:06:08 +00:00
sezero
1e76e69a31
cleanup of Cvar_Set[Value] calls in menu.c
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@574 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 16:50:45 +00:00
sezero
66a1169257
some common.c cleanup: Made COM_InitFilesystem() public through common.h,
...
moved its calling from COM_Init() to Host_Init() just after COM_Init().
Moved registration of registered and cmdline cvars and COM_Path_f command
and the calling of COM_CheckRegistered() to COM_InitFilesystem(). Removed
unused memsearch(). Fixed the stupidity in leading space elimination from
com_cmdline.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@573 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 15:10:18 +00:00
sezero
1810784da3
fixed typo
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@572 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 12:50:25 +00:00
sezero
2c056ed0bd
documentation update
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@571 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 12:30:32 +00:00
sezero
7c84129763
more cvar cleanups: Added Cvar_LockVar, Cvar_UnlockVar, Cvar_UnlockAll and
...
Cvar_FindVarAfter. Don't expose cvar_vars directly and use Cvar_FindVarAfter
instead. several typo fixes, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@570 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 12:28:21 +00:00
sezero
60648cbd31
some more cvar work: made Cvar_RegisterVariable() to only link the variable in
...
and set some basic flags, but then let functions to set it. Added Cvar_SetQuick
and Cvar_SetValueQuick which accept a cvar pointer instead of a var name, but
identical to the non-Quick versions otherwise. Made Cvar_SetValue to print the
value as an integer if the float value is the same when cast to an int; if not,
made it to strip the trailing zeroes in the string.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@569 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-29 09:37:28 +00:00
sezero
70e852bdb5
dropped CVAR_SERVERINFO flag from the cmdline cvar: sending cmdline upon
...
CCREQ_RULE_INFO is evil...
while I was there, did some whitespace clean-up in common.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@568 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-28 23:40:27 +00:00
sezero
6a3e4e8439
* gl_screen.c: removed oldscreensize, oldfov, oldsbarscale, oldsbaralpha.
...
use the callbacks for scr_fov, scr_viewsize, scr_conwidth & scr_conscale
changes by simply setting vid.recalc_refdef to 1: now that Cvar_Set()
doesn't do anything when there is no change, this has the same effect.
* snd_dma.c: removed oldvol, set a callback to sfxvol in order to call
SND_InitScaletable() upon every volume change.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@567 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-28 22:40:15 +00:00
sezero
4e485d16fa
* first shot at cvar flag system and cvar layer clean-ups :
...
- removed the archive and server members of cvar_t structure
which are now represented by the CVAR_ARCHIVE, CVAR_NOTIFY
and CVAR_SERVERINFO flags.
- added new Cvar_SetROM and Cvar_SetValueROM functions to
set vars marked as CVAR_ROM (read-only vars) programaticaly
- added Cvar_SetCallback() as a new function to assign (or
remove) a callback function to a cvar.
- changed Cvar_RegisterVariable() to only accept a var pointer
as in original quake
- moved notification handling from Cvar_Set() to callbacks.
- changed Cvar_Set() so that it doesn't reallocate the var's
string buffer if nothing is changed, nor does it run the
var's callback.
- changed the 'registered' and 'cmdline' cvars to be read-only
so that the users can't change it using the console. (and
with 'registered' flagged as CVAR_ROM, the 'static_registered'
thing is no longer required)
- added comment that sending cmdline upon CCREQ_RULE_INFO is
evil...
- more to follow later.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@566 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-28 22:01:33 +00:00
sezero
abb1e1a2cb
finally nailed the SubdividePolygon() segfault when running as a dedicated
...
server: R_Init() isn't called for dedicated server therefore gl_subdivide_size
was used without being registered hence divisions by zero when using its value
member. Geez.. Moved its registration to Mod_Init() and we are good.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@565 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-28 17:37:30 +00:00
sezero
9a89e593f0
cfgfile.c (CFG_ReadCvars): Also check for ferror(). Use FS_rewind()
...
instead of FS_fseek(). From Sander van Dijk.
cfgfile.c, cfgfile.h: synced with uhexen2 versions.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@564 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 19:40:14 +00:00
sezero
fadfa30b3f
common.c (q_vsnprintf): Don't attempt to nul terminate the buffer
...
if zero size was passed. From Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@563 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 19:32:17 +00:00
kristianduske
5fe1cd97dc
Updated version numbers to 0.85.6, updated sparkle files for 0.85.5, added some source files to Xcode project.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@562 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 17:18:28 +00:00
sezero
8ea0fd037b
added COM_ExtractExtension() helper.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@561 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 14:00:33 +00:00
sezero
f4824185c9
changed many strcpy and strncpy into q_strlcpy
...
and strcat and strncat into q_strlcat
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@560 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 13:15:31 +00:00
sezero
6c74c4a4c8
added strlcat.c and strlcpy.c to build.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@559 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 11:11:24 +00:00
sezero
a472060a85
added strlcat.c and strlcpy.c: will use them later.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@558 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 11:03:39 +00:00
sezero
88cd7e3232
changed many sprintf() calls into q_snprintf().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@557 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 10:50:42 +00:00
sezero
90dcb767b0
Makefiles update: Passing the libraries to the linker before passing the
...
object list is a bad idea.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@556 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 10:10:51 +00:00
sezero
3f60e1deb9
reverted revision 536 which made coop and deathmatch not to be set at
...
the same time
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@555 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 08:27:52 +00:00
sezero
8494877f84
better buffer size safety with COM_StripExtension, COM_FileBase and COM_DefaultExtension
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@554 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-27 08:04:02 +00:00
kristianduske
77235ac94c
Changed version strings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@553 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-26 22:42:21 +00:00
kristianduske
42ab95d35e
Cleaned up some build settings and fixed a minor glitch in OS X launcher UI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@552 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-26 22:27:18 +00:00
kristianduske
78b676d9be
Added building instructions for Mac OS X.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@551 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-26 18:36:10 +00:00
kristianduske
27c8e4d5e0
Updated schemes for cross compilation from XCode 4.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@550 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-26 18:08:21 +00:00
sezero
5f97e37e45
bumped version to 0.85.6 in the development tree. documentation tidy-up.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@549 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-25 09:28:30 +00:00
sezero
432d77fe70
reverted parts of rev. 544 where an unintended Xcode update was performed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@547 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 14:11:08 +00:00
sezero
637bfbdc4c
deleted unnecessary Xcode user files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@546 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 14:05:16 +00:00
sezero
bbc1197ed0
changed cvar callback functions to accept a cvar_t pointer arg. I may
...
have a use for that later.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@545 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 14:04:01 +00:00
stevenaaus
8ea6f7b566
Add cfgfile.[hc] to xcode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@544 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 12:42:19 +00:00
sezero
69a9a01293
minor correction after last cfgfile patch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@543 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 12:35:01 +00:00
sezero
7d8b89ec84
changed cfgfile to use FS_functions. From Sander van Dijk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@542 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 12:10:15 +00:00
sezero
0a38cc3dc3
added FS_fgets(). From Sander van Dijk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@541 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 12:03:29 +00:00
sezero
977a6e700f
tidy up nul termination for strncpy in CFG_ReadCvarOverrides (from Sander.)
...
update copyright years.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@540 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 12:02:25 +00:00
sezero
d954484023
updated CodeBlocks project files for newly added files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@539 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 12:01:07 +00:00
sezero
69720bce4f
documentation: removed the remark of `unreleased' from 0.85.5. changed
...
the download links for 0.85.5.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@538 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 09:41:41 +00:00
sezero
395d18e9ba
updated visual studio project file for newly added files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@537 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-24 09:10:49 +00:00
sezero
9a0d6c7328
Made sure that deathmatch and coop are not set at the same time
...
(fix originally from QIP sources of Matthias Buecher, a.k.a. Maddes)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@536 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-23 12:03:49 +00:00
sezero
359e770d65
removed support for the -mode argument from gl_vidsdl.c
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@535 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-22 23:10:25 +00:00
sezero
1089ae52a2
gl_vidsdl.c fixes/changes from Sander van Dijk: if (hypothetically) no
...
fullscreen modes are reported at all fixes bad behaviour of several
options in the video menu, and allows the user to use "-force" to force
a fullscreen mode even if none was reported; this was previously only
possible if there was at least one fullscreen mode reported), makes the
treatment of "-current" more similar to "-width/-height/-bpp" (only
forcing it if the user provides "-force"), gets rid of leavecurrentmode
hack (which didn't do much useful, besides making the code less clear).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@534 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-22 21:55:48 +00:00
sezero
b7ee9177d0
main_sdl.c: added SDL version check at runtime requiring at least SDL-1.2.10
...
and rejecting SDL >= 1.3.x.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@533 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-22 21:20:19 +00:00
sezero
201c4c6dc0
sys_sdl_unix.c, sys_sdl_win.c (Sys_Sleep): rely on SDL_Delay() instead
...
of platform specific usleep() or Sleep() calls.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@532 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-21 10:40:18 +00:00
sezero
1303651a7b
backport from uhexen2: read video variables early so that a vid_restart
...
isn't necessary after init. thanks to Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@531 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-20 09:22:19 +00:00
sezero
9039243d5f
gl_vidsdl.c: comment out the rest of vid_refreshrate usage which isn't supported.
...
(VID_SetMode): check whether SDL_SetVideoMode() actually succeeded. otherwise we
just segfault. noticed by Sander.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@530 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 16:27:14 +00:00
sezero
2e09ec39c5
* client.h: moved usercmd_t structure to protocol.h
...
* quakedef.h: moved chase declarations to client.h.
moved the entity_state_t structure to protocol.h.
tweaked the order of quake header includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@529 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 10:03:53 +00:00
sezero
e6c2601492
net_win.c, net_sdl.c, net_bsd.c, net_defs.h: removed fixed size from net_drivers
...
and net_landrivers. changed net_numdrivers and net_numlandrivers into const int
and assigned their values using array size macros instead of hardcoded numbers.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@528 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 10:00:36 +00:00
sezero
bd7b39c6dd
sv_main.c: changed a (cls.state != ca_dedicated) condition into (!isDedicated)
...
so that a server file doesn't use "cls"
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@527 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 09:55:18 +00:00
sezero
51ed74811e
net_loop.h: Tiny whitespace tidy up.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@526 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 09:51:28 +00:00
sezero
10b8dd954a
net_dgrm.c: removed the DEBUG build condition around the "Forged packet received"
...
message prints. Tiny whitespace tidy up.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@525 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 09:50:49 +00:00
sezero
893487a136
SDL input driver: updated from the uHexen2 project adding native keymap
...
and dead key support to the console, thanks to Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@524 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-16 14:11:37 +00:00
sezero
a6a1fb15e7
keys.c (History_Init): filter out '\r' and skip over to the first non-EOL
...
character. This allows using a windows-generated history.txt file on unix.
based on a patch from Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@523 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-15 21:41:48 +00:00
sezero
13fedad011
keys.c (Key_Event): Allow autorepeats in message (chat) mode; based on a
...
patch from Sander van Dijk. Rearrange the autorepeat condition checks a
bit, based on uhexen2.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@522 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-15 16:33:52 +00:00
sezero
28140a132a
menu.c (M_ToggleMenu_f): Set key_dest to key_game only if the client
...
is connected. Set it to key_console, otherwise. Patch from and thanks
to Sander van Dijk.
(M_Main_Key): Likewise.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@521 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-15 16:21:36 +00:00
sezero
bd8cc29f4e
sys_sdl_unix.c, sys_sdl_win.c (Sys_ConsoleInput): Moved isDedicated check to...
...
host.c (Host_GetConsoleCommands): ... here, where it should be.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@520 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-15 15:51:28 +00:00
sezero
68ed435145
gl_texmgr.c (TexMgr_LoadPalette): properly point to d_8to24table_fbright
...
(noticed this in recent RMQ sources.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@519 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-15 06:37:12 +00:00
sezero
43b6ee16e8
host_cmd.c (Host_Loadgame_f): Close the file before signalling an error
...
(noticed this in recent RMQ sources.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@518 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-15 06:31:51 +00:00
sezero
b4b9090d03
gl_model.c (Mod_SetExtraFlags): Fixed r_nolerp_list.string parsing code
...
of fitzquake: the loop was able to go beyond the null terminator of the
cvar. (Besides, it would technically yield a false positive because of
strncmp(), but much less likely..)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@517 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-14 14:21:12 +00:00
sezero
6ef1c8b70a
CL_ParseUpdate: removed unused bitcounts[] array
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@516 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-13 19:00:25 +00:00
sezero
b225ca736a
Cmd_Alias_f: don't append a space at the very end.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@515 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-13 18:40:23 +00:00
sezero
8d4e5768fc
Cmd_TokenizeString: simplify duplication by using Z_Strdup()
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@514 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-13 18:35:40 +00:00
sezero
b76812e60d
can these guys code in ANSI C????
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@513 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-13 09:12:16 +00:00
sezero
4a08a54a78
renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double
...
you know..) and adjusted all callers accordingly. changed Sys_Sleep() to
take a milliseconds argument, added implementations for unix (usleep) and
windows (Sleep).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@512 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-12 16:01:01 +00:00
sezero
9707080487
Made the cmd argument of CL_SendMove() const.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@511 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-12 14:11:17 +00:00
sezero
de8e861523
constified the name arguments of Image_LoadImage() and Image_WriteTGA()
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@510 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-12 12:56:57 +00:00
sezero
178a43c068
re-diff'ed the quake_retexturing_project.patch so that it applies cleanly
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@509 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-12 12:44:17 +00:00
sezero
6fffda6b99
made Sys_ConsoleInput() to return const
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@508 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-12 12:02:37 +00:00
sezero
7e595df33f
made unix Sys_mkdir() to print strerror in case of failure.
...
made windows Sys_mkdir() to use windows api functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@507 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-12 10:50:26 +00:00