Commit Graph

737 Commits

Author SHA1 Message Date
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
sezero ea46ad2ca6 gl_vidsdl.c (VID_Init): fixed a -Wparentheses-equality warning from clang
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@623 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 18:04:28 +00:00
svdijk 4b284d9547 gl_texmgr.c: less ambiguous naming.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@622 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-24 21:24:14 +00:00
svdijk 81eadc659d gl_texmgr.c: some small improvements and cleanup.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@621 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-23 18:51:12 +00:00
sezero fec3011e2b recompiled SDL for win32 and win64 from latest v1.2.15 (hg:rev/5273dfd19a5e)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@620 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-22 15:50:35 +00:00
svdijk 2151a3b9ed gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@619 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-21 09:51:38 +00:00
svdijk ec91b6a204 gl_texmgr.c: small optimization
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@618 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 19:31:18 +00:00
svdijk a398d25020 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@617 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 18:59:20 +00:00
sezero 848b6a0911 minor cleanup
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@616 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 17:11:24 +00:00
sezero 2b547aefbf make sure gl_max_anisotropy is initialized. also added a uberparanoid check
for gl_max_anisotropy.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@615 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:55:27 +00:00
sezero d148250fcb some form of a workaround for recursive calling of TexMgr_Anisotropy_f()
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@614 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:22:29 +00:00
svdijk 2eaf8974b7 gl_screen.c:SCR_ModalMessage(): make sure we don't ignore the next keypress (after a timeout).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@613 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 19:09:23 +00:00
svdijk f53eccda96 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@612 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:48:09 +00:00
svdijk ec75ca1621 Make the "Reset config" message more informative.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@611 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:00:35 +00:00
svdijk d16f04cda7 gl_screen.c:SCR_ModalMessage(): sleep a little while busy-waiting.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@610 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:34:54 +00:00
svdijk 7a574b265e - 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@609 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:25:07 +00:00
stevenaaus fe5238c73e Add README.music to htdocs.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-16 20:37:25 +00:00
sezero e6ebf96d46 SCR_CenterPrint() has been counting the lines in the wrong place: count
the copied string NOT the original.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@607 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-13 19:10:52 +00:00
sezero 9804335285 removed executable property from the icon file.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@606 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-11 07:10:24 +00:00
stevenaaus feb07d37f5 Make a proper OSX icon to replace the 'F'.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@605 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-10 22:25:43 +00:00
sezero 8d8f6c108f fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@604 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-09 08:10:35 +00:00
svdijk 8800a5c8eb console.c:Con_DrawInput(): some changes for correctness and simplicity
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@603 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 13:21:42 +00:00
sezero 42d50749e3 tidy up osx mouse acceleration hack a bit more.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@602 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 09:22:43 +00:00
sezero 70f452ed47 tidied up whitespace in osx mouse acceleration hack code. fixed declaration
of the new cvar to use the new cvar flags.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@601 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:50:11 +00:00
kristianduske 7f1f787d9b Fixed link to IOKit.framework in Xcode project.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@600 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:31:40 +00:00