Commit graph

911 commits

Author SHA1 Message Date
svdijk
39bba3775d Remove no longer used Misc/QuakeSpasm_256.png
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@674 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 08:55:00 +00:00
sezero
91a17cce70 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@673 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-21 12:32:20 +00:00
svdijk
d9040eefff Minor linux icon tweak.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@672 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-17 06:02:50 +00:00
sezero
1120671550 don't print both of the two possible warning messages in PF_VarString()
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@671 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 16:10:13 +00:00
svdijk
0c9ff95e9b pr_cmds.c: Make PF_VarString's buffer a bit larger (fixes UQC's menu).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@670 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 14:41:29 +00:00
sezero
7d745f1a0a removed unnecessary cb.bmp from codeblocks directories.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@669 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-12 15:28:14 +00:00
svdijk
61e96308fc Remove unneeded sizes (24, 64) from the windows icon.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@668 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:59:54 +00:00
svdijk
b2fa8dd48e (Untested) Use new transparent icon for macosx (16, 32, 64, 128 and 256).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@667 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:38:50 +00:00
svdijk
3f07e18f48 Use new transparent icon for windows (16, 24, 32, 48, 64 and 256).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@666 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:24:58 +00:00
svdijk
6bce934ae3 Use new transparent icon for linux (32x32 for now).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@665 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 20:21:20 +00:00
svdijk
f08789bbe3 Add new icon png to the repo.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@664 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 19:21:20 +00:00
svdijk
133184d1ea keys.[ch]: comment out KP_* keys, since we map them to their K_* counterparts
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@663 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 18:01:47 +00:00
sezero
853f85602d updated README files for 0.85.8 development version changes so far
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@662 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 17:01:11 +00:00
sezero
1b51748596 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@661 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 11:02:08 +00:00
sezero
0bc25ece34 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@660 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 07:55:56 +00:00
svdijk
f1554e1f37 in_sdl.c: invert the behaviour of numlock (numbers when on, not when off)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@659 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 20:23:55 +00:00
sezero
dd9733f870 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@658 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 19:47:22 +00:00
sezero
7b5b0b6502 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@657 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-18 20:33:12 +00:00
sezero
f8c136c534 * 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@656 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-01 18:03:25 +00:00
sezero
5c04251a36 cmd.c, gl_texmgr.c, gl_texmgr.h: killed the rest of the -Wsign-compare warnings.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@655 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-31 18:30:09 +00:00
sezero
ca8b38b076 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@654 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-28 17:50:47 +00:00
svdijk
625e9f6518 gl_warp: save some cvars to config.cfg.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@653 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-25 19:08:31 +00:00
sezero
666f247f73 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@652 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 10:50:29 +00:00
stevenaaus
686065e49d Add libSDL gamma known issue to readme.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@651 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 07:10:14 +00:00
sezero
dee036353f * 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@650 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 06:24:56 +00:00
kristianduske
f90082665b Updated version strings in OS X project to 0.85.8
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@649 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-14 07:06:49 +00:00
sezero
661379c20a bumped version to 0.85.8 in the development tree
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@648 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-14 07:02:41 +00:00
sezero
495d1308c2 more README updates.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@646 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-13 05:10:26 +00:00
sezero
52ddd6aa7f updated README files for 0.85.7 relnotes
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@645 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 20:00:24 +00:00
sezero
b75db882b0 Moved the stufftext_frame global to client_static_t structure and
adjusted CL_GetDemoMessage and CL_ParseServerMessage accordingly.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@644 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 08:24:16 +00:00
sezero
8d54cbcf10 windows codecs: updated libmpg123 to latest stable 1.13.6 version.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@643 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 06:28:10 +00:00
sezero
1bc8ffdb15 minor Makefile tidying
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@642 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-09 10:11:09 +00:00
sezero
5fe60a036b 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@641 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-08 10:14:58 +00:00
stevenaaus
39f9ad3116 'make install' directory needs trailing slash in order to fail (desired) if directory doesn't exist.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@640 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-08 07:17:49 +00:00
sezero
934aeb38e6 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@639 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-03 21:55:53 +00:00
sezero
79d0808dca apply anisotropic level setting only to mipmap textures
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@638 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-18 22:04:38 +00:00
sezero
89a1c03243 at least use the api sensibly and don't screw the whitespace
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@637 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 11:33:07 +00:00
stevenaaus
314774c99c common.c
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@636 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 02:59:21 +00:00
sezero
aff63908b0 renamed the file with spaces in its name
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@635 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 16:00:35 +00:00
sezero
39965c2472 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@634 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 15:55:09 +00:00
sezero
69a35ba645 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@633 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 14:30:19 +00:00
sezero
f3efdba768 removed the defunct block_drawing global (btw, it was checked incorrectly
in GL_EndRendering()... )

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@632 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:37:07 +00:00
sezero
a93c6a90f5 in_sdl.c: fixed backspace key on Mac OS X
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@631 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:04:43 +00:00
kristianduske
c223b70393 Removed options for ppc64 because it cannot build anyway.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@630 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 20:41:31 +00:00
svdijk
56f65849c7 make missing texture no-spam hack safer
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@629 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 18:22:55 +00:00
stevenaaus
5539f60c75 Refine missing texture no-spam hack.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@628 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 00:53:29 +00:00
stevenaaus
c1989375ab Don't spam developers about missing external textures.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@627 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-07 20:38:34 +00:00
sezero
951213ce30 windows codecs: Upgrade to the latest versions of ogg-
vorbis decoders.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@626 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-04 20:20:26 +00:00
sezero
da21476848 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@625 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-30 10:40:41 +00:00
sezero
c2e215c30f 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@624 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 19:15:20 +00:00