Commit graph

809 commits

Author SHA1 Message Date
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