Commit graph

624 commits

Author SHA1 Message Date
Steven
ae7c52985b common.c
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@636 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 02:59:21 +00:00
Ozkan Sezer
dc18d09ab9 renamed the file with spaces in its name
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@635 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 16:00:35 +00:00
Ozkan Sezer
923e9280cd 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@634 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 15:55:09 +00:00
Ozkan Sezer
92f7731114 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@633 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 14:30:19 +00:00
Ozkan Sezer
ee56c76abd removed the defunct block_drawing global (btw, it was checked incorrectly
in GL_EndRendering()... )

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@632 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:37:07 +00:00
Ozkan Sezer
f99af3f724 in_sdl.c: fixed backspace key on Mac OS X
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@631 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:04:43 +00:00
Kristian Duske
b269598872 Removed options for ppc64 because it cannot build anyway.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@630 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 20:41:31 +00:00
Sander van Dijk
8f4e287407 make missing texture no-spam hack safer
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@629 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 18:22:55 +00:00
Steven
33c1ea94c4 Refine missing texture no-spam hack.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@628 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 00:53:29 +00:00
Steven
9f11380a74 Don't spam developers about missing external textures.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@627 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-07 20:38:34 +00:00
Ozkan Sezer
150a69123f windows codecs: Upgrade to the latest versions of ogg-
vorbis decoders.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@626 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-04 20:20:26 +00:00
Ozkan Sezer
69bd7690d3 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@625 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-30 10:40:41 +00:00
Ozkan Sezer
bd81e60d0e 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@624 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 19:15:20 +00:00
Ozkan Sezer
7cddd6cb2b gl_vidsdl.c (VID_Init): fixed a -Wparentheses-equality warning from clang
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@623 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 18:04:28 +00:00
Sander van Dijk
fe8d368a37 gl_texmgr.c: less ambiguous naming.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@622 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-24 21:24:14 +00:00
Sander van Dijk
0602ff7869 gl_texmgr.c: some small improvements and cleanup.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@621 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-23 18:51:12 +00:00
Ozkan Sezer
3e1b97a64f recompiled SDL for win32 and win64 from latest v1.2.15 (hg:rev/5273dfd19a5e)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@620 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-22 15:50:35 +00:00
Sander van Dijk
4a39cc0f63 gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@619 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-21 09:51:38 +00:00
Sander van Dijk
ced1af03af gl_texmgr.c: small optimization
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@618 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 19:31:18 +00:00
Sander van Dijk
cbd6732189 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@617 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 18:59:20 +00:00
Ozkan Sezer
abb004f5d4 minor cleanup
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@616 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 17:11:24 +00:00
Ozkan Sezer
0912ffd8a6 make sure gl_max_anisotropy is initialized. also added a uberparanoid check
for gl_max_anisotropy.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@615 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:55:27 +00:00
Ozkan Sezer
02bb0549fa some form of a workaround for recursive calling of TexMgr_Anisotropy_f()
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@614 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:22:29 +00:00
Sander van Dijk
a4ac23f19f gl_screen.c:SCR_ModalMessage(): make sure we don't ignore the next keypress (after a timeout).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@613 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 19:09:23 +00:00
Sander van Dijk
272919a523 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@612 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:48:09 +00:00
Sander van Dijk
fa43564cf8 Make the "Reset config" message more informative.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@611 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:00:35 +00:00
Sander van Dijk
b714fbb601 gl_screen.c:SCR_ModalMessage(): sleep a little while busy-waiting.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@610 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:34:54 +00:00
Sander van Dijk
7926cc5bf3 - 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@609 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:25:07 +00:00
Steven
d327fa302f Add README.music to htdocs.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-16 20:37:25 +00:00
Ozkan Sezer
b51d0c0878 SCR_CenterPrint() has been counting the lines in the wrong place: count
the copied string NOT the original.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@607 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-13 19:10:52 +00:00
Ozkan Sezer
5bd9d86d07 removed executable property from the icon file.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@606 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-11 07:10:24 +00:00
Steven
bec4e6a777 Make a proper OSX icon to replace the 'F'.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@605 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-10 22:25:43 +00:00
Ozkan Sezer
1918db04bf fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@604 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-09 08:10:35 +00:00
Sander van Dijk
296dc11b52 console.c:Con_DrawInput(): some changes for correctness and simplicity
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@603 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 13:21:42 +00:00
Ozkan Sezer
6960e71279 tidy up osx mouse acceleration hack a bit more.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@602 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 09:22:43 +00:00
Ozkan Sezer
96be2c7faa 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@601 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:50:11 +00:00
Kristian Duske
a66f610d3f Fixed link to IOKit.framework in Xcode project.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@600 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:31:40 +00:00
Kristian Duske
1ed3e46b7a Applied patch to disable mouse acceleration in Mac OS X.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@599 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:26:32 +00:00
Sander van Dijk
dc9166c3b8 console.c: some long input line fixes (keep cursor on screen, don't clip line early, buffer size fix)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@598 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-06 21:25:42 +00:00
Ozkan Sezer
fb02af5a08 removed remaining pieces of sparkle references from documents
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@597 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-05 10:27:09 +00:00
Ozkan Sezer
6f3a30351f Recompiled all win64 dlls and import libraries.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@596 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-05 10:00:25 +00:00
Sander van Dijk
f704084539 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@595 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-03 18:03:51 +00:00
Steven
73b56185fa Add a copyright section to the README.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@594 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-01 20:27:10 +00:00
Kristian Duske
700edc2477 Removed Sparkle auto updates from OS X build and increased version numbers to 0.85.7.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@593 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-01 16:50:33 +00:00
Ozkan Sezer
84e33a8db2 bumped version to 0.85.7 in the development tree
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@592 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-01 12:00:16 +00:00
Ozkan Sezer
65b01214fc documentation updates
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@590 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 21:15:31 +00:00
Ozkan Sezer
7f78c093b7 rediffed and adjusted the Misc/* extra patches so that they apply and compile
correctly.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@589 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 18:20:28 +00:00
Ozkan Sezer
d36de568a3 documentation update for 0.85.6
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@588 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 16:50:24 +00:00
Ozkan Sezer
ee951cfd44 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@587 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 16:00:18 +00:00
Ozkan Sezer
3f82cf4c91 recompiled SDL for windows from HG snapshot 19c7412a6345
(v1.2.15, 2011-12-30, SDL-1.2 branch.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@586 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-30 15:33:08 +00:00