------------------------------------------------------------------------
r843 | sezero | 2013-04-02 22:40:48 +0100 (Tue, 02 Apr 2013) | 3 lines

keys.c (Key_Message): move backspace handling before non-printable
check. (the functionality doesn't change. from tyrquake git repo.)
minor tidy-up.
------------------------------------------------------------------------
r842 | sezero | 2013-03-15 12:47:08 +0000 (Fri, 15 Mar 2013) | 3 lines

r_part.c (R_EntityParticles): fix undefined behavior in the loop
init'ing avelocities, thanks to a -Waggressive-loop-optimizations
warning from gcc-4.8.
------------------------------------------------------------------------
r841 | sezero | 2013-03-10 11:29:02 +0000 (Sun, 10 Mar 2013) | 2 lines

gl_model.c: change the 'ignored' messages from external lit and ent
files back to developer mode.
------------------------------------------------------------------------
r840 | svdijk | 2013-03-03 15:01:14 +0000 (Sun, 03 Mar 2013) | 2 lines

gl_vidsdl.c: minor cleanup (lets not hijack the SDL_ prefix)

------------------------------------------------------------------------
r839 | svdijk | 2013-03-03 13:43:11 +0000 (Sun, 03 Mar 2013) | 2 lines

gl_vidsdl.c: some video menu code readability tweaking

------------------------------------------------------------------------
r838 | svdijk | 2013-03-02 18:52:22 +0000 (Sat, 02 Mar 2013) | 2 lines

gl_screen.c: some fov_adapt style syncing with uhexen2

------------------------------------------------------------------------
r837 | svdijk | 2013-03-02 18:21:28 +0000 (Sat, 02 Mar 2013) | 2 lines

keys.c: comment correction

------------------------------------------------------------------------
r836 | svdijk | 2013-03-02 18:10:19 +0000 (Sat, 02 Mar 2013) | 2 lines

gl_vidsdl.c: be bit more lenient (and safer) regarding bpp

------------------------------------------------------------------------
r835 | svdijk | 2013-03-02 16:35:48 +0000 (Sat, 02 Mar 2013) | 2 lines

gl_vidsdl.c: fix a minor inconsistency in VID_Toggle

------------------------------------------------------------------------
r834 | svdijk | 2013-03-02 15:32:27 +0000 (Sat, 02 Mar 2013) | 2 lines

gl_vidsdl.c: make the intel hack feedback a bit more informative

------------------------------------------------------------------------
r833 | svdijk | 2013-03-02 13:46:59 +0000 (Sat, 02 Mar 2013) | 2 lines

gl_vidsdl.c: remove the PowerVR stuff, as it seems to be outdated

------------------------------------------------------------------------
r832 | svdijk | 2013-03-02 13:13:47 +0000 (Sat, 02 Mar 2013) | 2 lines

oops

------------------------------------------------------------------------
r831 | svdijk | 2013-03-02 13:10:02 +0000 (Sat, 02 Mar 2013) | 2 lines

Simplify the Intel video hack, make the PowerVR hack do the same

------------------------------------------------------------------------
r830 | svdijk | 2013-03-02 12:31:09 +0000 (Sat, 02 Mar 2013) | 2 lines

remove isIntelVideo special handling, simply set gl_clear instead

------------------------------------------------------------------------
r829 | sezero | 2013-03-02 12:03:52 +0000 (Sat, 02 Mar 2013) | 1 line

minor tidy-ups
------------------------------------------------------------------------
r828 | svdijk | 2013-03-02 10:36:28 +0000 (Sat, 02 Mar 2013) | 2 lines

host_cmd.c: fix typo in r827

------------------------------------------------------------------------
r827 | sezero | 2013-03-02 10:29:26 +0000 (Sat, 02 Mar 2013) | 2 lines

host_cmd.c (Host_Changelevel_f, Host_Restart_f): if the serverspawn
fails even with an existing map, issue a Host_Error().
------------------------------------------------------------------------
r826 | svdijk | 2013-03-02 09:34:18 +0000 (Sat, 02 Mar 2013) | 2 lines

revert r612, fix VID_Test blackscreen properly

------------------------------------------------------------------------
r825 | sezero | 2013-03-01 23:55:12 +0000 (Fri, 01 Mar 2013) | 3 lines

fixed fitzquake's map existence check in Host_Changelevel_f () leaking
file handles which would end up in a Sys_Error () due to consuming all
free handles if many maps reside not in pak files.
------------------------------------------------------------------------
r824 | sezero | 2013-02-28 12:55:16 +0000 (Thu, 28 Feb 2013) | 1 line

Opus decoding support (as an optional patch only.)
------------------------------------------------------------------------
r823 | sezero | 2013-02-27 16:50:25 +0000 (Wed, 27 Feb 2013) | 1 line

some codec stuff syncing with uhexen2
------------------------------------------------------------------------
r822 | sezero | 2013-02-24 17:15:04 +0000 (Sun, 24 Feb 2013) | 2 lines

putenv () may conform to different standards, therefore keep the vid_center[]
static char array in VID_Init ().
------------------------------------------------------------------------
r821 | svdijk | 2013-02-24 16:28:28 +0000 (Sun, 24 Feb 2013) | 2 lines

gl_vidsdl.c: make bpp default to current bpp

------------------------------------------------------------------------
r820 | svdijk | 2013-02-24 13:46:19 +0000 (Sun, 24 Feb 2013) | 2 lines

gl_vidsdl.c: fix an initialization oops

------------------------------------------------------------------------
r819 | svdijk | 2013-02-24 13:42:23 +0000 (Sun, 24 Feb 2013) | 2 lines

gl_vidsdl.c, vid.h: cleanup some modestate related stuff (requires a clean build)

------------------------------------------------------------------------
r818 | svdijk | 2013-02-24 13:33:30 +0000 (Sun, 24 Feb 2013) | 2 lines

gl_vidsdl.c: remove modelist[0] special treatment, some cleanup

------------------------------------------------------------------------
r817 | svdijk | 2013-02-24 13:23:26 +0000 (Sun, 24 Feb 2013) | 2 lines

gl_vidsdl.c: make VID_Init independent from modelist

------------------------------------------------------------------------
r816 | svdijk | 2013-02-21 19:35:21 +0000 (Thu, 21 Feb 2013) | 2 lines

gl_vidsdl.c: some cleanup

------------------------------------------------------------------------
r815 | svdijk | 2013-02-21 19:17:18 +0000 (Thu, 21 Feb 2013) | 2 lines

gl_vidsdl.c: fix ValidMode(), bpp < 16 is problematic on windows

------------------------------------------------------------------------
r814 | sezero | 2013-02-20 06:22:42 +0000 (Wed, 20 Feb 2013) | 1 line

comment cleanup
------------------------------------------------------------------------
r813 | sezero | 2013-02-20 06:01:10 +0000 (Wed, 20 Feb 2013) | 4 lines

convert our GL_RGB lightmaps to GL_RGBA which gives considerable
performance boost on some systems. add GL_BGRA as an option, thanks
to Kristian Duske. the format is hardcoded as GL_RGBA for now,
need a way to make it configurable later.
------------------------------------------------------------------------
r812 | svdijk | 2013-02-19 19:20:17 +0000 (Tue, 19 Feb 2013) | 2 lines

gl_vidsdl.c: make VID_Restart independent from modelist

------------------------------------------------------------------------
r811 | svdijk | 2013-02-19 19:00:19 +0000 (Tue, 19 Feb 2013) | 2 lines

gl_vidsdl.c: make VID_Test independent from modelist

------------------------------------------------------------------------
r810 | svdijk | 2013-02-19 18:18:38 +0000 (Tue, 19 Feb 2013) | 2 lines

gl_vidsdl.c: some cleanup

------------------------------------------------------------------------
r809 | svdijk | 2013-02-18 19:19:32 +0000 (Mon, 18 Feb 2013) | 2 lines

gl_vidsdl.c: make VID_SetMode independent from "modelist"

------------------------------------------------------------------------
r808 | svdijk | 2013-02-17 18:12:00 +0000 (Sun, 17 Feb 2013) | 2 lines

gl_vidsdl.c: don't depend on "modelist" for current mode info

------------------------------------------------------------------------
r807 | svdijk | 2013-02-17 17:58:05 +0000 (Sun, 17 Feb 2013) | 2 lines

gl_vidsdl.c: get rid of "modenum"

------------------------------------------------------------------------
r806 | svdijk | 2013-02-14 20:46:42 +0000 (Thu, 14 Feb 2013) | 2 lines

gl_vidsdl.c: fix windowed mode

------------------------------------------------------------------------
r805 | svdijk | 2013-02-13 19:07:19 +0000 (Wed, 13 Feb 2013) | 2 lines

rename the modestate_t enum items

------------------------------------------------------------------------
r804 | svdijk | 2013-02-13 19:01:26 +0000 (Wed, 13 Feb 2013) | 2 lines

remove "type" from "viddef_t", use "modestate" instead

------------------------------------------------------------------------
r803 | svdijk | 2013-02-11 18:13:09 +0000 (Mon, 11 Feb 2013) | 2 lines

gl_vidsdl.c: remove "modenum" from vmode_t

------------------------------------------------------------------------
r802 | svdijk | 2013-02-11 18:03:14 +0000 (Mon, 11 Feb 2013) | 2 lines

gl_vidsdl.c: remove "modedesc" from vmode_t

------------------------------------------------------------------------
r801 | svdijk | 2013-02-10 17:30:40 +0000 (Sun, 10 Feb 2013) | 2 lines

gl_vidsdl.c: get rid of obsolete "badmode"

------------------------------------------------------------------------
r800 | svdijk | 2013-02-09 16:10:23 +0000 (Sat, 09 Feb 2013) | 2 lines

gl_vidsdl.c: Simplification of some functions

------------------------------------------------------------------------
r799 | svdijk | 2013-02-03 17:22:59 +0000 (Sun, 03 Feb 2013) | 2 lines

Some "slowkey" tuning.

------------------------------------------------------------------------
r798 | svdijk | 2013-02-01 20:44:25 +0000 (Fri, 01 Feb 2013) | 5 lines

gl_vidsdl.c: Remove "halfscreen" stuff.

AFAICS this is not needed for SDL, and it in fact
breaks weird widescreen resolutions such as 1280x600.

------------------------------------------------------------------------
r797 | svdijk | 2013-02-01 20:06:52 +0000 (Fri, 01 Feb 2013) | 6 lines

Make the "speedkey" act as "slowkey" when "always run" is on.

A bit of a hack, this should really be controlled by a
separate "cl_alwaysrun" cvar, but lets stick to this for
backward compatibility for now.

------------------------------------------------------------------------
r796 | svdijk | 2013-01-31 20:03:23 +0000 (Thu, 31 Jan 2013) | 2 lines

Rename the fov_adaptive cvar to fov_adapt.

------------------------------------------------------------------------
r795 | sezero | 2013-01-16 19:02:23 +0000 (Wed, 16 Jan 2013) | 3 lines

fix quoted strings when EOF is reached before the closing '\"' and
support for C-style /*..*/ comments in COM_Parse(). some whitespace
tidy-up.
------------------------------------------------------------------------
r794 | sezero | 2013-01-11 20:58:08 +0000 (Fri, 11 Jan 2013) | 2 lines

snd_mix.c (SND_InitScaletable): fixed an off-by-one mistake in the
signed char conversion.
------------------------------------------------------------------------
r793 | sezero | 2013-01-07 17:30:17 +0000 (Mon, 07 Jan 2013) | 1 line

updated arch_def.h and net_sys.h from uhexen2. adjusted users accordingly.
------------------------------------------------------------------------
r792 | sezero | 2013-01-06 12:05:34 +0000 (Sun, 06 Jan 2013) | 1 line

relaxed PF_VarString() warnings a little.
------------------------------------------------------------------------
r791 | sezero | 2012-12-11 10:11:22 +0000 (Tue, 11 Dec 2012) | 3 lines

pr_edict.c (PR_ValueString, PR_UglyValueString, PR_GlobalString,
PR_GlobalStringNoContents): increase static line buffer size to
512, so that excessively long global strings don't cause a crash.
------------------------------------------------------------------------
r790 | svdijk | 2012-11-28 19:10:52 +0000 (Wed, 28 Nov 2012) | 2 lines

Remove more dead code.

------------------------------------------------------------------------
r789 | svdijk | 2012-11-22 18:58:45 +0000 (Thu, 22 Nov 2012) | 2 lines

gl_vidsdl.c: Remove some dead code.

------------------------------------------------------------------------
r788 | sezero | 2012-11-15 17:30:43 +0000 (Thu, 15 Nov 2012) | 4 lines

pr_cmds.c, pr_exec.c, pr_edict.c, sv_main.c: Changed several Sys_Error()
calls to Host_Error(). ED_PrintEdict_f(),ED_PrintEdicts() and ED_Count()
require an active server to print any infos. ED_PrintEdict_f cannot work
with a negative argument.
------------------------------------------------------------------------
r787 | svdijk | 2012-11-11 17:35:43 +0000 (Sun, 11 Nov 2012) | 2 lines

Really fix vsync saving/loading (finally...)

------------------------------------------------------------------------
r786 | sezero | 2012-11-11 09:55:55 +0000 (Sun, 11 Nov 2012) | 4 lines

gl_model.c (Mod_LoadTexinfo): although the end result in memory
doesn't change, load the texinfo in a way consistent with the
layout of the vecs in the mtexinfo_t struct. from a recent commit
in tyr-quake git repo.
------------------------------------------------------------------------
r785 | sezero | 2012-11-07 12:44:30 +0000 (Wed, 07 Nov 2012) | 1 line

regenerate gl_extensions_nice everytime the extensions string is retrieved
------------------------------------------------------------------------
r784 | sezero | 2012-11-07 12:27:39 +0000 (Wed, 07 Nov 2012) | 2 lines

move GL_Init(), TexMgr_ReloadImages() and GL_SetupState() calls from
VID_SetMode() to VID_Restart() so they aren't called twice at startup.
------------------------------------------------------------------------
r783 | sezero | 2012-11-07 07:51:41 +0000 (Wed, 07 Nov 2012) | 1 line

better parse for opengl extensions list (from quakeforge.)
------------------------------------------------------------------------
r782 | sezero | 2012-11-06 08:56:09 +0000 (Tue, 06 Nov 2012) | 2 lines

host.c (Host_ShutdownServer): no need to clear the sv structure, because
ServerSpawn already do this by Host_ClearMemory.
------------------------------------------------------------------------
r781 | sezero | 2012-11-06 08:50:45 +0000 (Tue, 06 Nov 2012) | 2 lines

made GL_Init() to be called every time a video mode is changed. we may
need to kill device and rendering contexts too, will see to that later.
------------------------------------------------------------------------
r780 | svdijk | 2012-11-02 22:16:08 +0000 (Fri, 02 Nov 2012) | 2 lines

Fix vsync saving/loading (take three...)

------------------------------------------------------------------------
r779 | svdijk | 2012-11-02 20:04:26 +0000 (Fri, 02 Nov 2012) | 2 lines

Fix vsync saving/loading (take two...)

------------------------------------------------------------------------
r778 | svdijk | 2012-11-01 17:34:40 +0000 (Thu, 01 Nov 2012) | 2 lines

Fix vsync saving/loading (hopefully...)

------------------------------------------------------------------------
r777 | svdijk | 2012-10-31 07:30:36 +0000 (Wed, 31 Oct 2012) | 2 lines

Adaptive FOV (Hor+). Patch by and thanks to rg3. Added cvar and clamping.

------------------------------------------------------------------------
r776 | sezero | 2012-10-25 12:15:15 +0100 (Thu, 25 Oct 2012) | 2 lines

added -Werror to compiler option checking so I don't have to edit
the Makefile whenever I want to use clang.
------------------------------------------------------------------------
r775 | sezero | 2012-10-23 09:44:20 +0100 (Tue, 23 Oct 2012) | 2 lines

renamed Key_ForceDest to Key_UpdateForDest. added M_Menu_Main_f()
prototype to menu.h. minor tidy-ups.
------------------------------------------------------------------------
r774 | sezero | 2012-10-22 08:10:13 +0100 (Mon, 22 Oct 2012) | 1 line

deleted QuakeSpasm_Prefix.pch, doesn't seem to be used.
------------------------------------------------------------------------
r773 | sezero | 2012-10-21 12:33:10 +0100 (Sun, 21 Oct 2012) | 5 lines

added IN_UpdateForKeydest() as a new helper who does stuff if the
key_dest changes matter to the keyboard driver, e.g. sending KP_
key decisions, or SDL unicode stuff. we run it every frame either
before Sys_SendKeyEvents() or from within Key_ForceDest() for now.
(merged from uhexen2.)
------------------------------------------------------------------------
r772 | sezero | 2012-10-21 12:02:48 +0100 (Sun, 21 Oct 2012) | 1 line

r_part.c: fixed pointfile loading.
------------------------------------------------------------------------
r771 | sezero | 2012-10-21 10:55:16 +0100 (Sun, 21 Oct 2012) | 8 lines

some merges from uhexen2:  clean up some crap in long chat line support.
do not set messagemode when not really connected. made chat_buffer[] and
chat_bufferlen static to keys.c. console.c uses new Key_GetChatBuffer()
and Key_GetChatMsgLen() accessor functions. renamed team_message global
to chat_team as in qw/q2. added Key_EndChat() as a new helper. called
Key_EndChat() from within CL_Disconnect() to not get stuck in chat mode.
now that key_message is guaranteed to be set only in game mode, removed
its cases from Key_ForceDest(). several other cleanups.
------------------------------------------------------------------------
r770 | svdijk | 2012-10-15 20:53:07 +0100 (Mon, 15 Oct 2012) | 2 lines

Another approach to fixing mouse grab/key_dest

------------------------------------------------------------------------
r769 | sezero | 2012-10-12 08:50:45 +0100 (Fri, 12 Oct 2012) | 1 line

removed unused global host_time
------------------------------------------------------------------------
r768 | sezero | 2012-10-12 08:33:11 +0100 (Fri, 12 Oct 2012) | 2 lines

moved cfg_unbindall and its registration to cl_main.c. moved the
config.cfg write of unbindall to Key_WriteBindings().
------------------------------------------------------------------------
r767 | sezero | 2012-10-08 09:50:49 +0100 (Mon, 08 Oct 2012) | 1 line

bumped version to 0.85.9 in the development tree
------------------------------------------------------------------------
r766 | sezero | 2012-10-08 09:11:35 +0100 (Mon, 08 Oct 2012) | 1 line

tagged r765 as quakespasm-0.85.8
------------------------------------------------------------------------
r765 | sezero | 2012-10-07 14:24:08 +0100 (Sun, 07 Oct 2012) | 1 line

updated README for 0.85.8 changes
------------------------------------------------------------------------
r764 | sezero | 2012-10-07 14:15:15 +0100 (Sun, 07 Oct 2012) | 1 line

removed unnecessary m_keys_bind_grab check from autorepeats.
------------------------------------------------------------------------
r763 | svdijk | 2012-10-07 13:46:57 +0100 (Sun, 07 Oct 2012) | 2 lines

some more minor changes to accomodate r761

------------------------------------------------------------------------
r762 | sezero | 2012-10-07 07:55:24 +0100 (Sun, 07 Oct 2012) | 1 line

updated date stamp in the README
------------------------------------------------------------------------
r761 | svdijk | 2012-10-06 19:09:23 +0100 (Sat, 06 Oct 2012) | 2 lines

revert (most of) r521, r756 and r759. Alter "gamekey" handling a bit to compensate.

------------------------------------------------------------------------
r760 | sezero | 2012-10-06 13:28:33 +0100 (Sat, 06 Oct 2012) | 1 line

removed duplicated assignment to the local 'was_changed'
------------------------------------------------------------------------
r759 | svdijk | 2012-10-05 19:58:59 +0100 (Fri, 05 Oct 2012) | 2 lines

more mouse grab/release fixes

------------------------------------------------------------------------
r758 | svdijk | 2012-10-01 04:55:45 +0100 (Mon, 01 Oct 2012) | 2 lines

console.c: fix skipping of first match when tab-completing

------------------------------------------------------------------------
r757 | svdijk | 2012-10-01 04:13:40 +0100 (Mon, 01 Oct 2012) | 2 lines

console.c: move some externals to a better place

------------------------------------------------------------------------
r756 | svdijk | 2012-10-01 04:06:52 +0100 (Mon, 01 Oct 2012) | 2 lines

menu.c: fix mouse release in fullscreen console

------------------------------------------------------------------------
r755 | svdijk | 2012-10-01 03:26:44 +0100 (Mon, 01 Oct 2012) | 2 lines

pl_linux.c: add a comment about magenta tranparency

------------------------------------------------------------------------
r754 | svdijk | 2012-10-01 02:57:20 +0100 (Mon, 01 Oct 2012) | 2 lines

minor tuning of r753

------------------------------------------------------------------------
r753 | sezero | 2012-09-30 22:35:16 +0100 (Sun, 30 Sep 2012) | 1 line

array size fix for r752
------------------------------------------------------------------------
r752 | svdijk | 2012-09-30 22:11:39 +0100 (Sun, 30 Sep 2012) | 2 lines

gl_vidsdl.c: minor improvement to bpp list creation

------------------------------------------------------------------------
r751 | sezero | 2012-09-30 15:03:15 +0100 (Sun, 30 Sep 2012) | 2 lines

simplify VID_Gamma_f: the oldgamma stuff is already handled by the cvar
system itself.
------------------------------------------------------------------------
r750 | sezero | 2012-09-30 13:55:09 +0100 (Sun, 30 Sep 2012) | 1 line

further Key_Console() cleanup. made Shift-Ins to paste text like Ctrl-v.
------------------------------------------------------------------------
r749 | svdijk | 2012-09-30 09:23:00 +0100 (Sun, 30 Sep 2012) | 2 lines

Style

------------------------------------------------------------------------
r748 | sezero | 2012-09-29 15:50:54 +0100 (Sat, 29 Sep 2012) | 2 lines

in_sdl.c (IN_SendKeyEvents): fixed major thinko in SDLK_WORLD_xx
change from yesterday's r746.
------------------------------------------------------------------------
r747 | sezero | 2012-09-28 23:24:27 +0100 (Fri, 28 Sep 2012) | 1 line

include arch_def.h in keys.c
------------------------------------------------------------------------
r746 | sezero | 2012-09-28 22:41:31 +0100 (Fri, 28 Sep 2012) | 5 lines

* keys.c: added K_COMMAND as a new key. added Cmd+V as a Mac special
  case for paste request.
* keys.h: added K_COMMAND as a new key (170 for now).
* in_sdl.c (IN_SendKeyEvents): translate SDLK_LMETA/SDLK_RMETA as
  K_COMMAND. ignore unhandled SDLK_WORLD_* international characters.
------------------------------------------------------------------------
r745 | sezero | 2012-09-28 21:10:30 +0100 (Fri, 28 Sep 2012) | 1 line

text pasting support for macosx. updated macosx error dialog procedure.
------------------------------------------------------------------------
r744 | sezero | 2012-09-27 15:00:12 +0100 (Thu, 27 Sep 2012) | 1 line

moved clipboard pasting code into new PasteToConsole() helper procedure
------------------------------------------------------------------------
r743 | sezero | 2012-09-27 14:33:22 +0100 (Thu, 27 Sep 2012) | 1 line

updated documents for 0.85.8 changes.
------------------------------------------------------------------------
r742 | sezero | 2012-09-27 14:11:36 +0100 (Thu, 27 Sep 2012) | 3 lines

keys.c (Key_Console): several cleanups from uhexen2. replaced in-place
strcpy() calls by proper memmove() calls. activated (and fixed) Ctrl-V
text pasting support from OS clipboard (only works on windows for now.)
------------------------------------------------------------------------
r741 | sezero | 2012-09-27 13:58:37 +0100 (Thu, 27 Sep 2012) | 1 line

added PL_GetClipboardData()
------------------------------------------------------------------------
r740 | sezero | 2012-09-27 13:55:03 +0100 (Thu, 27 Sep 2012) | 1 line

finetuning of r736 & 738
------------------------------------------------------------------------
r739 | svdijk | 2012-09-27 13:22:51 +0100 (Thu, 27 Sep 2012) | 2 lines

keys.c: don't be case-sensitive about ctrl-c

------------------------------------------------------------------------
r738 | svdijk | 2012-09-27 13:19:19 +0100 (Thu, 27 Sep 2012) | 2 lines

Some finetuning of r736.

------------------------------------------------------------------------
r737 | svdijk | 2012-09-27 11:58:04 +0100 (Thu, 27 Sep 2012) | 2 lines

menu.c: style fix

------------------------------------------------------------------------
r736 | svdijk | 2012-09-27 11:41:07 +0100 (Thu, 27 Sep 2012) | 2 lines

in_sdl.c: Fix control-character handling.

------------------------------------------------------------------------
r735 | sezero | 2012-09-27 10:55:41 +0100 (Thu, 27 Sep 2012) | 1 line

console.c (Con_TabComplete): eliminated string buffer overflow issues.
------------------------------------------------------------------------
r734 | svdijk | 2012-09-26 18:08:37 +0100 (Wed, 26 Sep 2012) | 2 lines

Some history browsing fixes (partly from uhexen2)

------------------------------------------------------------------------
r733 | svdijk | 2012-09-26 09:27:07 +0100 (Wed, 26 Sep 2012) | 2 lines

Arrows

------------------------------------------------------------------------
r732 | svdijk | 2012-09-26 00:30:55 +0100 (Wed, 26 Sep 2012) | 2 lines

Finetuning of previous commit

------------------------------------------------------------------------
r731 | svdijk | 2012-09-25 18:30:11 +0100 (Tue, 25 Sep 2012) | 2 lines

Make the key menu scrollable (otherwise we draw allmost-offscreen at max scale)

------------------------------------------------------------------------
r730 | svdijk | 2012-09-25 04:07:33 +0100 (Tue, 25 Sep 2012) | 2 lines

Simplify the linux icon transparency setting.

------------------------------------------------------------------------
r729 | svdijk | 2012-09-24 18:19:01 +0100 (Mon, 24 Sep 2012) | 2 lines

Casing.

------------------------------------------------------------------------
r728 | svdijk | 2012-09-24 12:43:36 +0100 (Mon, 24 Sep 2012) | 2 lines

Remove unused file.

------------------------------------------------------------------------
r727 | svdijk | 2012-09-23 17:40:52 +0100 (Sun, 23 Sep 2012) | 2 lines

Misc/QuakeSpasm_512.png: Remove unwanted ancillary chunks.

------------------------------------------------------------------------
r726 | sezero | 2012-09-16 20:40:14 +0100 (Sun, 16 Sep 2012) | 1 line

recompiled mac os x codec libraries
------------------------------------------------------------------------
r725 | sezero | 2012-09-15 21:11:47 +0100 (Sat, 15 Sep 2012) | 1 line

re-diff'ed some of the extra patches.
------------------------------------------------------------------------
r724 | sezero | 2012-09-15 12:30:49 +0100 (Sat, 15 Sep 2012) | 1 line

updated documents for 0.85.8 changes.
------------------------------------------------------------------------
r723 | svdijk | 2012-09-14 20:03:31 +0100 (Fri, 14 Sep 2012) | 2 lines

Simplify r343 (the "oldval" stuff is already handled by the cvar system itself)

------------------------------------------------------------------------
r722 | svdijk | 2012-09-12 21:14:20 +0100 (Wed, 12 Sep 2012) | 2 lines

Make the "unbindall" in config.cfg configurable (on by default)

------------------------------------------------------------------------
r721 | sezero | 2012-09-10 15:33:30 +0100 (Mon, 10 Sep 2012) | 1 line

updated net_sys.h from uhexen2
------------------------------------------------------------------------
r720 | svdijk | 2012-09-10 13:44:43 +0100 (Mon, 10 Sep 2012) | 2 lines

Linux icon: one pixel tweak.

------------------------------------------------------------------------
r719 | svdijk | 2012-09-10 13:21:28 +0100 (Mon, 10 Sep 2012) | 2 lines

48x48 linux icon (allowing a little more detail in the nail).

------------------------------------------------------------------------
r718 | sezero | 2012-09-10 08:51:23 +0100 (Mon, 10 Sep 2012) | 1 line

updated documents for 0.85.8 changes.
------------------------------------------------------------------------
r717 | svdijk | 2012-09-10 07:55:29 +0100 (Mon, 10 Sep 2012) | 2 lines

Recalc refdef on sbaralpha change.

------------------------------------------------------------------------
r716 | sezero | 2012-09-09 08:41:43 +0100 (Sun, 09 Sep 2012) | 3 lines

OSX client,  Makefile.darwin: require 10.6 for amd64 builds,
not 10.5 (SDL's requirement). needed adding bundle1.o to linkage
for dyld_stub_binding_helper.
------------------------------------------------------------------------
r715 | svdijk | 2012-09-08 14:46:18 +0100 (Sat, 08 Sep 2012) | 2 lines

keys.c:Key_WriteBindings(): Clear old bindings before setting new ones.

------------------------------------------------------------------------
r714 | sezero | 2012-09-08 13:50:58 +0100 (Sat, 08 Sep 2012) | 1 line

xcode project file update from Kristian.
------------------------------------------------------------------------
r713 | svdijk | 2012-09-08 11:48:15 +0100 (Sat, 08 Sep 2012) | 2 lines

Some more scale slider tuning.

------------------------------------------------------------------------
r712 | sezero | 2012-09-05 17:24:57 +0100 (Wed, 05 Sep 2012) | 1 line

minor Makefile correction
------------------------------------------------------------------------
r711 | sezero | 2012-09-05 10:03:41 +0100 (Wed, 05 Sep 2012) | 1 line

makefile update
------------------------------------------------------------------------
r710 | svdijk | 2012-09-05 07:07:06 +0100 (Wed, 05 Sep 2012) | 2 lines

Minor readability tweak

------------------------------------------------------------------------
r709 | svdijk | 2012-09-04 19:38:13 +0100 (Tue, 04 Sep 2012) | 2 lines

Minor default sbaralpha tweak.

------------------------------------------------------------------------
r708 | svdijk | 2012-09-04 19:29:01 +0100 (Tue, 04 Sep 2012) | 2 lines

SCR_ModalMessage: (very) minor correction.

------------------------------------------------------------------------
r707 | svdijk | 2012-09-04 19:24:40 +0100 (Tue, 04 Sep 2012) | 2 lines

Handle some cornercases better in the scale slider.

------------------------------------------------------------------------
r706 | sezero | 2012-09-04 08:39:43 +0100 (Tue, 04 Sep 2012) | 2 lines

removed static versions of osx codec import libs.
renamed osx codec dylib import lib directory to be lib.
------------------------------------------------------------------------
r705 | sezero | 2012-09-04 07:54:59 +0100 (Tue, 04 Sep 2012) | 1 line

changed ToggleFullscreen failure message to be a debug print
------------------------------------------------------------------------
r704 | sezero | 2012-09-03 22:21:04 +0100 (Mon, 03 Sep 2012) | 5 lines

- 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.
------------------------------------------------------------------------
r703 | svdijk | 2012-09-03 20:47:16 +0100 (Mon, 03 Sep 2012) | 2 lines

Rework the scale menu option to be more intuitive.

------------------------------------------------------------------------
r702 | svdijk | 2012-09-02 18:18:23 +0100 (Sun, 02 Sep 2012) | 2 lines

Since it covers (part of) the weapon, make the statusbar somewhat more transparent by default.

------------------------------------------------------------------------
r701 | sezero | 2012-09-02 15:00:34 +0100 (Sun, 02 Sep 2012) | 1 line

oslibs, codecs: minor libmad update
------------------------------------------------------------------------
r700 | sezero | 2012-08-16 06:15:52 +0100 (Thu, 16 Aug 2012) | 2 lines

added SDL_FRAMEWORK to GCC_PREPROCESSOR_DEFINITIONS in the Xcode project
file. further updating is still needed.
------------------------------------------------------------------------
r699 | sezero | 2012-08-16 05:51:41 +0100 (Thu, 16 Aug 2012) | 6 lines

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.
------------------------------------------------------------------------
r698 | sezero | 2012-07-19 06:40:16 +0100 (Thu, 19 Jul 2012) | 1 line

fixed compilation
------------------------------------------------------------------------
r697 | sezero | 2012-07-18 22:20:07 +0100 (Wed, 18 Jul 2012) | 2 lines

cl_demo.c (CL_PlayDemo_f): set key_dest to key_game only when the
demo file is successfully opened.
------------------------------------------------------------------------
r696 | sezero | 2012-07-18 21:51:35 +0100 (Wed, 18 Jul 2012) | 6 lines

* 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.
------------------------------------------------------------------------
r695 | sezero | 2012-07-16 18:00:24 +0100 (Mon, 16 Jul 2012) | 3 lines

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
------------------------------------------------------------------------
r694 | sezero | 2012-07-10 12:21:17 +0100 (Tue, 10 Jul 2012) | 1 line

Fixed increased (more than 32) dynamic lights.
------------------------------------------------------------------------
r693 | svdijk | 2012-07-07 21:14:52 +0100 (Sat, 07 Jul 2012) | 2 lines

Rework the linux icon a bit, also store smaller (indexed color)

------------------------------------------------------------------------
r692 | sezero | 2012-07-07 08:15:23 +0100 (Sat, 07 Jul 2012) | 1 line

arch_def.h: Added GNU/Hurd defs.
------------------------------------------------------------------------
r691 | sezero | 2012-07-07 06:09:55 +0100 (Sat, 07 Jul 2012) | 3 lines

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
------------------------------------------------------------------------
r690 | sezero | 2012-07-03 22:20:11 +0100 (Tue, 03 Jul 2012) | 2 lines

updated the README.* files for 0.85.8 development version changes until
end of June 2012.
------------------------------------------------------------------------
r689 | sezero | 2012-06-25 15:50:17 +0100 (Mon, 25 Jun 2012) | 2 lines

zone.c: Use memcpy() instead of strcpy() in Hunk_Strdup() and Z_Strdup().
Removed dead Cache_Compact() function. Made mainzone static to zone.c.
------------------------------------------------------------------------
r688 | sezero | 2012-06-25 13:50:09 +0100 (Mon, 25 Jun 2012) | 2 lines

updated snd bits from uhexen2. added signed 8 bit format support
to the mixer.
------------------------------------------------------------------------
r687 | sezero | 2012-06-25 12:51:23 +0100 (Mon, 25 Jun 2012) | 1 line

updated arch_def.h and net_sys.h from uhexen2
------------------------------------------------------------------------
r686 | sezero | 2012-06-25 12:20:38 +0100 (Mon, 25 Jun 2012) | 11 lines

* 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.
------------------------------------------------------------------------
r685 | svdijk | 2012-06-10 07:09:50 +0100 (Sun, 10 Jun 2012) | 2 lines

in_sdl.c: Add missing KP_NUMLOCK key event.

------------------------------------------------------------------------
r684 | svdijk | 2012-06-08 21:06:40 +0100 (Fri, 08 Jun 2012) | 2 lines

Small update to r683.

------------------------------------------------------------------------
r683 | svdijk | 2012-06-08 20:27:12 +0100 (Fri, 08 Jun 2012) | 2 lines

Re-introduce KP_* syms, but only "in-game".

------------------------------------------------------------------------
r682 | svdijk | 2012-05-30 19:31:41 +0100 (Wed, 30 May 2012) | 2 lines

pl_linux.c: Set icon only if mask creation is successful.

------------------------------------------------------------------------
r681 | svdijk | 2012-05-30 18:29:34 +0100 (Wed, 30 May 2012) | 2 lines

Makefile, Makefile.darwin: Remove the not-so-useful "install" target.

------------------------------------------------------------------------
r680 | sezero | 2012-05-30 11:55:35 +0100 (Wed, 30 May 2012) | 1 line

added missing cast in PL_CreateIconMask() to fix compilation using g++
------------------------------------------------------------------------
r679 | sezero | 2012-05-30 10:47:45 +0100 (Wed, 30 May 2012) | 2 lines

Makefiles: defined new variable LINKER. for linkage we no longer use $(CC),
but $(LINKER)
------------------------------------------------------------------------
r678 | sezero | 2012-05-30 10:28:34 +0100 (Wed, 30 May 2012) | 1 line

fix linkage for solaris: needs -lsocket -lnsl -lresolv for network
------------------------------------------------------------------------
r677 | sezero | 2012-05-30 10:00:12 +0100 (Wed, 30 May 2012) | 1 line

removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris
------------------------------------------------------------------------
r676 | sezero | 2012-05-30 09:56:06 +0100 (Wed, 30 May 2012) | 1 line

renamed model_t to qmodel_t in order to avoid conflicts on solaris.
------------------------------------------------------------------------
r675 | svdijk | 2012-05-27 10:01:55 +0100 (Sun, 27 May 2012) | 2 lines

gl_warp.c: revert part of r653, not really needed.

------------------------------------------------------------------------
r674 | svdijk | 2012-05-27 09:55:00 +0100 (Sun, 27 May 2012) | 2 lines

Remove no longer used Misc/QuakeSpasm_256.png

------------------------------------------------------------------------
r673 | sezero | 2012-05-21 13:32:20 +0100 (Mon, 21 May 2012) | 2 lines

minor gl_vidsdl.c cleanups: tidied up VID_SetMode().  Removed the defunct
_windowed_mouse cvar. Simplified va()+Cvar_Set() calls into Cvar_SetValue().
------------------------------------------------------------------------
r672 | svdijk | 2012-05-17 07:02:50 +0100 (Thu, 17 May 2012) | 2 lines

Minor linux icon tweak.

------------------------------------------------------------------------
r671 | sezero | 2012-05-15 17:10:13 +0100 (Tue, 15 May 2012) | 1 line

don't print both of the two possible warning messages in PF_VarString()
------------------------------------------------------------------------
r670 | svdijk | 2012-05-15 15:41:29 +0100 (Tue, 15 May 2012) | 2 lines

pr_cmds.c: Make PF_VarString's buffer a bit larger (fixes UQC's menu).

------------------------------------------------------------------------
r669 | sezero | 2012-05-12 16:28:14 +0100 (Sat, 12 May 2012) | 1 line

removed unnecessary cb.bmp from codeblocks directories.
------------------------------------------------------------------------
r668 | svdijk | 2012-05-10 22:59:54 +0100 (Thu, 10 May 2012) | 2 lines

Remove unneeded sizes (24, 64) from the windows icon.

------------------------------------------------------------------------
r667 | svdijk | 2012-05-10 22:38:50 +0100 (Thu, 10 May 2012) | 2 lines

(Untested) Use new transparent icon for macosx (16, 32, 64, 128 and 256).

------------------------------------------------------------------------
r666 | svdijk | 2012-05-10 22:24:58 +0100 (Thu, 10 May 2012) | 2 lines

Use new transparent icon for windows (16, 24, 32, 48, 64 and 256).

------------------------------------------------------------------------
r665 | svdijk | 2012-05-10 21:21:20 +0100 (Thu, 10 May 2012) | 2 lines

Use new transparent icon for linux (32x32 for now).

------------------------------------------------------------------------
r664 | svdijk | 2012-05-10 20:21:20 +0100 (Thu, 10 May 2012) | 2 lines

Add new icon png to the repo.

------------------------------------------------------------------------
r663 | svdijk | 2012-04-23 19:01:47 +0100 (Mon, 23 Apr 2012) | 2 lines

keys.[ch]: comment out KP_* keys, since we map them to their K_* counterparts

------------------------------------------------------------------------
r662 | sezero | 2012-04-23 18:01:11 +0100 (Mon, 23 Apr 2012) | 1 line

updated README files for 0.85.8 development version changes so far
------------------------------------------------------------------------
r661 | sezero | 2012-04-22 12:02:08 +0100 (Sun, 22 Apr 2012) | 3 lines

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.
------------------------------------------------------------------------
r660 | sezero | 2012-04-22 08:55:56 +0100 (Sun, 22 Apr 2012) | 3 lines

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.
------------------------------------------------------------------------
r659 | svdijk | 2012-04-20 21:23:55 +0100 (Fri, 20 Apr 2012) | 2 lines

in_sdl.c: invert the behaviour of numlock (numbers when on, not when off)

------------------------------------------------------------------------
r658 | sezero | 2012-04-20 20:47:22 +0100 (Fri, 20 Apr 2012) | 4 lines

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.
------------------------------------------------------------------------
r657 | sezero | 2012-04-18 21:33:12 +0100 (Wed, 18 Apr 2012) | 7 lines

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.
------------------------------------------------------------------------
r656 | sezero | 2012-04-01 19:03:25 +0100 (Sun, 01 Apr 2012) | 3 lines

* net_dgrm.c: Fixed the types of testSocket and test2Socket from int
  to sys_socket_t.
* updated version date stamp to 2012-04-01.
------------------------------------------------------------------------
r655 | sezero | 2012-03-31 19:30:09 +0100 (Sat, 31 Mar 2012) | 1 line

cmd.c, gl_texmgr.c, gl_texmgr.h: killed the rest of the -Wsign-compare warnings.
------------------------------------------------------------------------
r654 | sezero | 2012-03-28 18:50:47 +0100 (Wed, 28 Mar 2012) | 3 lines

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.
------------------------------------------------------------------------
r653 | svdijk | 2012-03-25 20:08:31 +0100 (Sun, 25 Mar 2012) | 2 lines

gl_warp: save some cvars to config.cfg.

------------------------------------------------------------------------
r652 | sezero | 2012-03-24 10:50:29 +0000 (Sat, 24 Mar 2012) | 2 lines

fixed last changed date in the README files. hand-edited the generated
txt version for it to be a bit more readable.
------------------------------------------------------------------------
r651 | stevenaaus | 2012-03-24 07:10:14 +0000 (Sat, 24 Mar 2012) | 1 line

Add libSDL gamma known issue to readme.
------------------------------------------------------------------------
r650 | sezero | 2012-03-24 06:24:56 +0000 (Sat, 24 Mar 2012) | 3 lines

* mathlib.h (IS_NAN): Fixed strict aliasing violation by providing
  an inline function using a float/int union instead of the original
  macro.
------------------------------------------------------------------------
r649 | kristianduske | 2012-03-14 07:06:49 +0000 (Wed, 14 Mar 2012) | 1 line

Updated version strings in OS X project to 0.85.8
------------------------------------------------------------------------
r648 | sezero | 2012-03-14 07:02:41 +0000 (Wed, 14 Mar 2012) | 1 line

bumped version to 0.85.8 in the development tree
------------------------------------------------------------------------
r647 | sezero | 2012-03-14 07:00:27 +0000 (Wed, 14 Mar 2012) | 1 line

tagged revision 646 as quakespasm-0.85.7
------------------------------------------------------------------------
r646 | sezero | 2012-03-13 05:10:26 +0000 (Tue, 13 Mar 2012) | 1 line

more README updates.
------------------------------------------------------------------------
r645 | sezero | 2012-03-12 20:00:24 +0000 (Mon, 12 Mar 2012) | 1 line

updated README files for 0.85.7 relnotes
------------------------------------------------------------------------
r644 | sezero | 2012-03-12 08:24:16 +0000 (Mon, 12 Mar 2012) | 2 lines

Moved the stufftext_frame global to client_static_t structure and
adjusted CL_GetDemoMessage and CL_ParseServerMessage accordingly.
------------------------------------------------------------------------
r643 | sezero | 2012-03-12 06:28:10 +0000 (Mon, 12 Mar 2012) | 1 line

windows codecs: updated libmpg123 to latest stable 1.13.6 version.
------------------------------------------------------------------------
r642 | sezero | 2012-03-09 10:11:09 +0000 (Fri, 09 Mar 2012) | 1 line

minor Makefile tidying
------------------------------------------------------------------------
r641 | sezero | 2012-03-08 10:14:58 +0000 (Thu, 08 Mar 2012) | 4 lines

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.
------------------------------------------------------------------------
r640 | stevenaaus | 2012-03-08 07:17:49 +0000 (Thu, 08 Mar 2012) | 1 line

'make install' directory needs trailing slash in order to fail (desired) if directory doesn't exist.
------------------------------------------------------------------------
r639 | sezero | 2012-03-03 21:55:53 +0000 (Sat, 03 Mar 2012) | 3 lines

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.
------------------------------------------------------------------------
r638 | sezero | 2012-02-18 22:04:38 +0000 (Sat, 18 Feb 2012) | 1 line

apply anisotropic level setting only to mipmap textures
------------------------------------------------------------------------
r637 | sezero | 2012-02-12 11:33:07 +0000 (Sun, 12 Feb 2012) | 1 line

at least use the api sensibly and don't screw the whitespace
------------------------------------------------------------------------
r636 | stevenaaus | 2012-02-12 02:59:21 +0000 (Sun, 12 Feb 2012) | 1 line

common.c
------------------------------------------------------------------------
r635 | sezero | 2012-02-11 16:00:35 +0000 (Sat, 11 Feb 2012) | 1 line

renamed the file with spaces in its name
------------------------------------------------------------------------
r634 | sezero | 2012-02-11 15:55:09 +0000 (Sat, 11 Feb 2012) | 4 lines

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.
------------------------------------------------------------------------
r633 | sezero | 2012-02-11 14:30:19 +0000 (Sat, 11 Feb 2012) | 6 lines

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.
------------------------------------------------------------------------
r632 | sezero | 2012-02-10 22:37:07 +0000 (Fri, 10 Feb 2012) | 2 lines

removed the defunct block_drawing global (btw, it was checked incorrectly
in GL_EndRendering()... )
------------------------------------------------------------------------
r631 | sezero | 2012-02-10 22:04:43 +0000 (Fri, 10 Feb 2012) | 1 line

in_sdl.c: fixed backspace key on Mac OS X
------------------------------------------------------------------------
r630 | kristianduske | 2012-02-10 20:41:31 +0000 (Fri, 10 Feb 2012) | 1 line

Removed options for ppc64 because it cannot build anyway.
------------------------------------------------------------------------
r629 | svdijk | 2012-02-08 18:22:55 +0000 (Wed, 08 Feb 2012) | 2 lines

make missing texture no-spam hack safer

------------------------------------------------------------------------
r628 | stevenaaus | 2012-02-08 00:53:29 +0000 (Wed, 08 Feb 2012) | 1 line

Refine missing texture no-spam hack.
------------------------------------------------------------------------
r627 | stevenaaus | 2012-02-07 20:38:34 +0000 (Tue, 07 Feb 2012) | 1 line

Don't spam developers about missing external textures.
------------------------------------------------------------------------
r626 | sezero | 2012-02-04 20:20:26 +0000 (Sat, 04 Feb 2012) | 2 lines

	windows codecs: Upgrade to the latest versions of ogg-
	vorbis decoders.
------------------------------------------------------------------------
r625 | sezero | 2012-01-30 10:40:41 +0000 (Mon, 30 Jan 2012) | 2 lines

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
------------------------------------------------------------------------
r624 | sezero | 2012-01-29 19:15:20 +0000 (Sun, 29 Jan 2012) | 3 lines

snd_mp3.c (mp3_madseek): clang, -Wtautological-compare: fixed the
"comparison of unsigned expression >= 0 is always true" warning for
to_skip_samples.
------------------------------------------------------------------------
r623 | sezero | 2012-01-29 18:04:28 +0000 (Sun, 29 Jan 2012) | 1 line

gl_vidsdl.c (VID_Init): fixed a -Wparentheses-equality warning from clang
------------------------------------------------------------------------
r622 | svdijk | 2012-01-24 21:24:14 +0000 (Tue, 24 Jan 2012) | 2 lines

gl_texmgr.c: less ambiguous naming.

------------------------------------------------------------------------
r621 | svdijk | 2012-01-23 18:51:12 +0000 (Mon, 23 Jan 2012) | 2 lines

gl_texmgr.c: some small improvements and cleanup.

------------------------------------------------------------------------
r620 | sezero | 2012-01-22 15:50:35 +0000 (Sun, 22 Jan 2012) | 1 line

recompiled SDL for win32 and win64 from latest v1.2.15 (hg:rev/5273dfd19a5e)
------------------------------------------------------------------------
r619 | svdijk | 2012-01-21 09:51:38 +0000 (Sat, 21 Jan 2012) | 2 lines

gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".

------------------------------------------------------------------------
r618 | svdijk | 2012-01-20 19:31:18 +0000 (Fri, 20 Jan 2012) | 2 lines

gl_texmgr.c: small optimization

------------------------------------------------------------------------
r617 | svdijk | 2012-01-20 18:59:20 +0000 (Fri, 20 Jan 2012) | 8 lines

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.)

------------------------------------------------------------------------
r616 | sezero | 2012-01-20 17:11:24 +0000 (Fri, 20 Jan 2012) | 1 line

minor cleanup
------------------------------------------------------------------------
r615 | sezero | 2012-01-19 20:55:27 +0000 (Thu, 19 Jan 2012) | 2 lines

make sure gl_max_anisotropy is initialized. also added a uberparanoid check
for gl_max_anisotropy.
------------------------------------------------------------------------
r614 | sezero | 2012-01-19 20:22:29 +0000 (Thu, 19 Jan 2012) | 1 line

some form of a workaround for recursive calling of TexMgr_Anisotropy_f()
------------------------------------------------------------------------
r613 | svdijk | 2012-01-19 19:09:23 +0000 (Thu, 19 Jan 2012) | 2 lines

gl_screen.c:SCR_ModalMessage(): make sure we don't ignore the next keypress (after a timeout).

------------------------------------------------------------------------
r612 | svdijk | 2012-01-18 12:48:09 +0000 (Wed, 18 Jan 2012) | 2 lines

When modetesting, redraw the screen before asking for confirmation. Otherwise the screen is just a black rectangle, which may be confusing for the user.

------------------------------------------------------------------------
r611 | svdijk | 2012-01-18 12:00:35 +0000 (Wed, 18 Jan 2012) | 2 lines

Make the "Reset config" message more informative.

------------------------------------------------------------------------
r610 | svdijk | 2012-01-17 08:34:54 +0000 (Tue, 17 Jan 2012) | 2 lines

gl_screen.c:SCR_ModalMessage(): sleep a little while busy-waiting.

------------------------------------------------------------------------
r609 | svdijk | 2012-01-17 08:25:07 +0000 (Tue, 17 Jan 2012) | 4 lines

- 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.

------------------------------------------------------------------------
r608 | stevenaaus | 2012-01-16 20:37:25 +0000 (Mon, 16 Jan 2012) | 1 line

Add README.music to htdocs.
------------------------------------------------------------------------
r607 | sezero | 2012-01-13 19:10:52 +0000 (Fri, 13 Jan 2012) | 2 lines

SCR_CenterPrint() has been counting the lines in the wrong place: count
the copied string NOT the original.
------------------------------------------------------------------------
r606 | sezero | 2012-01-11 07:10:24 +0000 (Wed, 11 Jan 2012) | 1 line

removed executable property from the icon file.
------------------------------------------------------------------------
r605 | stevenaaus | 2012-01-10 22:25:43 +0000 (Tue, 10 Jan 2012) | 1 line

Make a proper OSX icon to replace the 'F'.
------------------------------------------------------------------------
r604 | sezero | 2012-01-09 08:10:35 +0000 (Mon, 09 Jan 2012) | 1 line

fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source)
------------------------------------------------------------------------
r603 | svdijk | 2012-01-07 13:21:42 +0000 (Sat, 07 Jan 2012) | 2 lines

console.c:Con_DrawInput(): some changes for correctness and simplicity

------------------------------------------------------------------------
r602 | sezero | 2012-01-07 09:22:43 +0000 (Sat, 07 Jan 2012) | 1 line

tidy up osx mouse acceleration hack a bit more.
------------------------------------------------------------------------
r601 | sezero | 2012-01-07 08:50:11 +0000 (Sat, 07 Jan 2012) | 2 lines

tidied up whitespace in osx mouse acceleration hack code. fixed declaration
of the new cvar to use the new cvar flags.
------------------------------------------------------------------------
r600 | kristianduske | 2012-01-07 08:31:40 +0000 (Sat, 07 Jan 2012) | 1 line

Fixed link to IOKit.framework in Xcode project.
------------------------------------------------------------------------
r599 | kristianduske | 2012-01-07 08:26:32 +0000 (Sat, 07 Jan 2012) | 1 line

Applied patch to disable mouse acceleration in Mac OS X.
------------------------------------------------------------------------
r598 | svdijk | 2012-01-06 21:25:42 +0000 (Fri, 06 Jan 2012) | 2 lines

console.c: some long input line fixes (keep cursor on screen, don't clip line early, buffer size fix)

------------------------------------------------------------------------
r597 | sezero | 2012-01-05 10:27:09 +0000 (Thu, 05 Jan 2012) | 1 line

removed remaining pieces of sparkle references from documents
------------------------------------------------------------------------
r596 | sezero | 2012-01-05 10:00:25 +0000 (Thu, 05 Jan 2012) | 1 line

Recompiled all win64 dlls and import libraries.
------------------------------------------------------------------------
r595 | svdijk | 2012-01-03 18:03:51 +0000 (Tue, 03 Jan 2012) | 3 lines

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.)

------------------------------------------------------------------------
r594 | stevenaaus | 2012-01-01 20:27:10 +0000 (Sun, 01 Jan 2012) | 1 line

Add a copyright section to the README.
------------------------------------------------------------------------
r593 | kristianduske | 2012-01-01 16:50:33 +0000 (Sun, 01 Jan 2012) | 1 line

Removed Sparkle auto updates from OS X build and increased version numbers to 0.85.7.
------------------------------------------------------------------------
r592 | sezero | 2012-01-01 12:00:16 +0000 (Sun, 01 Jan 2012) | 1 line

bumped version to 0.85.7 in the development tree
------------------------------------------------------------------------
r591 | sezero | 2012-01-01 11:55:21 +0000 (Sun, 01 Jan 2012) | 1 line

tagged revision 590 as quakespasm-0.85.6
------------------------------------------------------------------------
r590 | sezero | 2011-12-30 21:15:31 +0000 (Fri, 30 Dec 2011) | 1 line

documentation updates
------------------------------------------------------------------------
r589 | sezero | 2011-12-30 18:20:28 +0000 (Fri, 30 Dec 2011) | 2 lines

rediffed and adjusted the Misc/* extra patches so that they apply and compile
correctly.
------------------------------------------------------------------------
r588 | sezero | 2011-12-30 16:50:24 +0000 (Fri, 30 Dec 2011) | 1 line

documentation update for 0.85.6
------------------------------------------------------------------------
r587 | sezero | 2011-12-30 16:00:18 +0000 (Fri, 30 Dec 2011) | 2 lines

recompiled SDL for windows from HG snapshot 19c7412a6345
(v1.2.15, 2011-12-30, SDL-1.2 branch. this time for x86.)
------------------------------------------------------------------------
r586 | sezero | 2011-12-30 15:33:08 +0000 (Fri, 30 Dec 2011) | 2 lines

recompiled SDL for windows from HG snapshot 19c7412a6345
(v1.2.15, 2011-12-30, SDL-1.2 branch.)
------------------------------------------------------------------------
r585 | sezero | 2011-12-30 14:12:10 +0000 (Fri, 30 Dec 2011) | 1 line

deleted winquake.h from visual studio project file
------------------------------------------------------------------------
r584 | sezero | 2011-12-30 14:00:28 +0000 (Fri, 30 Dec 2011) | 1 line

gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static.
------------------------------------------------------------------------
r583 | sezero | 2011-12-30 13:59:14 +0000 (Fri, 30 Dec 2011) | 2 lines

removed some OS-specific drivers. they weren't used and was here only for
reference.
------------------------------------------------------------------------
r582 | sezero | 2011-12-30 12:15:19 +0000 (Fri, 30 Dec 2011) | 2 lines

gl_vidsdl.c (GL_Init): set VID_Changed_f() callback to vid_vsync only if
GL_CheckExtensions() set gl_swap_control as true.
------------------------------------------------------------------------
r581 | sezero | 2011-12-30 09:16:00 +0000 (Fri, 30 Dec 2011) | 2 lines

recompiled SDL for windows from HG snapshot adbed7ec5704
(v1.2.15, 2011-12-29, SDL-1.2 branch)
------------------------------------------------------------------------
r580 | kristianduske | 2011-12-30 08:56:14 +0000 (Fri, 30 Dec 2011) | 1 line

Applied patch to remove poseAsClass call and fixed a compiler warning.
------------------------------------------------------------------------
r579 | sezero | 2011-12-30 00:10:16 +0000 (Fri, 30 Dec 2011) | 2 lines

gl_vidsdl.c (VID_SyncCvars): set vid_vsync to 1 only if the received value
is positive, not "not zero".
------------------------------------------------------------------------
r578 | sezero | 2011-12-29 23:05:12 +0000 (Thu, 29 Dec 2011) | 1 line

minor typo fixes for vsync related messages.
------------------------------------------------------------------------
r577 | sezero | 2011-12-29 21:44:36 +0000 (Thu, 29 Dec 2011) | 2 lines

gl_vidsdl.c (VID_Toggle): if SDL_WM_ToggleFullScreen() succeeded, ignore
the vid_fullscreen callback function setting vid_changed to true.
------------------------------------------------------------------------
r576 | sezero | 2011-12-29 21:21:11 +0000 (Thu, 29 Dec 2011) | 2 lines

changed some of the Cvar_Set[Value] calls to their *Quick variants in the
source files where the vars are defined.
------------------------------------------------------------------------
r575 | sezero | 2011-12-29 19:06:08 +0000 (Thu, 29 Dec 2011) | 1 line

silenced -Wsign-compare warnings.
------------------------------------------------------------------------
r574 | sezero | 2011-12-29 16:50:45 +0000 (Thu, 29 Dec 2011) | 1 line

cleanup of Cvar_Set[Value] calls in menu.c
------------------------------------------------------------------------
r573 | sezero | 2011-12-29 15:10:18 +0000 (Thu, 29 Dec 2011) | 6 lines

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.
------------------------------------------------------------------------
r572 | sezero | 2011-12-29 12:50:25 +0000 (Thu, 29 Dec 2011) | 1 line

fixed typo
------------------------------------------------------------------------
r571 | sezero | 2011-12-29 12:30:32 +0000 (Thu, 29 Dec 2011) | 1 line

documentation update
------------------------------------------------------------------------
r570 | sezero | 2011-12-29 12:28:21 +0000 (Thu, 29 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r569 | sezero | 2011-12-29 09:37:28 +0000 (Thu, 29 Dec 2011) | 6 lines

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.
------------------------------------------------------------------------
r568 | sezero | 2011-12-28 23:40:27 +0000 (Wed, 28 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r567 | sezero | 2011-12-28 22:40:15 +0000 (Wed, 28 Dec 2011) | 6 lines

* 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.
------------------------------------------------------------------------
r566 | sezero | 2011-12-28 22:01:33 +0000 (Wed, 28 Dec 2011) | 21 lines

* 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.
------------------------------------------------------------------------
r565 | sezero | 2011-12-28 17:37:30 +0000 (Wed, 28 Dec 2011) | 4 lines

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.
------------------------------------------------------------------------
r564 | sezero | 2011-12-27 19:40:14 +0000 (Tue, 27 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r563 | sezero | 2011-12-27 19:32:17 +0000 (Tue, 27 Dec 2011) | 2 lines

common.c (q_vsnprintf): Don't attempt to nul terminate the buffer
if zero size was passed. From Sander van Dijk.
------------------------------------------------------------------------
r562 | kristianduske | 2011-12-27 17:18:28 +0000 (Tue, 27 Dec 2011) | 1 line

Updated version numbers to 0.85.6, updated sparkle files for 0.85.5, added some source files to Xcode project.
------------------------------------------------------------------------
r561 | sezero | 2011-12-27 14:00:33 +0000 (Tue, 27 Dec 2011) | 2 lines

added COM_ExtractExtension() helper.

------------------------------------------------------------------------
r560 | sezero | 2011-12-27 13:15:31 +0000 (Tue, 27 Dec 2011) | 2 lines

changed many strcpy and strncpy into q_strlcpy
	 and strcat and strncat into q_strlcat
------------------------------------------------------------------------
r559 | sezero | 2011-12-27 11:11:24 +0000 (Tue, 27 Dec 2011) | 1 line

added strlcat.c and strlcpy.c to build.
------------------------------------------------------------------------
r558 | sezero | 2011-12-27 11:03:39 +0000 (Tue, 27 Dec 2011) | 1 line

added strlcat.c and strlcpy.c: will use them later.
------------------------------------------------------------------------
r557 | sezero | 2011-12-27 10:50:42 +0000 (Tue, 27 Dec 2011) | 1 line

changed many sprintf() calls into q_snprintf().
------------------------------------------------------------------------
r556 | sezero | 2011-12-27 10:10:51 +0000 (Tue, 27 Dec 2011) | 2 lines

Makefiles update: Passing the libraries to the linker before passing the
object list is a bad idea.
------------------------------------------------------------------------
r555 | sezero | 2011-12-27 08:27:52 +0000 (Tue, 27 Dec 2011) | 2 lines

reverted revision 536 which made coop and deathmatch not to be set at 
the same time
------------------------------------------------------------------------
r554 | sezero | 2011-12-27 08:04:02 +0000 (Tue, 27 Dec 2011) | 1 line

better buffer size safety with COM_StripExtension, COM_FileBase and COM_DefaultExtension
------------------------------------------------------------------------
r553 | kristianduske | 2011-12-26 22:42:21 +0000 (Mon, 26 Dec 2011) | 1 line

Changed version strings.
------------------------------------------------------------------------
r552 | kristianduske | 2011-12-26 22:27:18 +0000 (Mon, 26 Dec 2011) | 1 line

Cleaned up some build settings and fixed a minor glitch in OS X launcher UI.
------------------------------------------------------------------------
r551 | kristianduske | 2011-12-26 18:36:10 +0000 (Mon, 26 Dec 2011) | 1 line

Added building instructions for Mac OS X.
------------------------------------------------------------------------
r550 | kristianduske | 2011-12-26 18:08:21 +0000 (Mon, 26 Dec 2011) | 1 line

Updated schemes for cross compilation from XCode 4.
------------------------------------------------------------------------
r549 | sezero | 2011-12-25 09:28:30 +0000 (Sun, 25 Dec 2011) | 1 line

bumped version to 0.85.6 in the development tree. documentation tidy-up.
------------------------------------------------------------------------
r548 | sezero | 2011-12-25 08:10:28 +0000 (Sun, 25 Dec 2011) | 1 line

tagged revision 547 as quakespasm-0.85.5
------------------------------------------------------------------------
r547 | sezero | 2011-12-24 14:11:08 +0000 (Sat, 24 Dec 2011) | 1 line

reverted parts of rev. 544 where an unintended Xcode update was performed
------------------------------------------------------------------------
r546 | sezero | 2011-12-24 14:05:16 +0000 (Sat, 24 Dec 2011) | 1 line

deleted unnecessary Xcode user files.
------------------------------------------------------------------------
r545 | sezero | 2011-12-24 14:04:01 +0000 (Sat, 24 Dec 2011) | 2 lines

changed cvar callback functions to accept a cvar_t pointer arg.  I may
have a use for that later.
------------------------------------------------------------------------
r544 | stevenaaus | 2011-12-24 12:42:19 +0000 (Sat, 24 Dec 2011) | 1 line

Add cfgfile.[hc] to xcode.
------------------------------------------------------------------------
r543 | sezero | 2011-12-24 12:35:01 +0000 (Sat, 24 Dec 2011) | 1 line

minor correction after last cfgfile patch.
------------------------------------------------------------------------
r542 | sezero | 2011-12-24 12:10:15 +0000 (Sat, 24 Dec 2011) | 1 line

changed cfgfile to use FS_functions. From Sander van Dijk.
------------------------------------------------------------------------
r541 | sezero | 2011-12-24 12:03:29 +0000 (Sat, 24 Dec 2011) | 1 line

added FS_fgets(). From Sander van Dijk.
------------------------------------------------------------------------
r540 | sezero | 2011-12-24 12:02:25 +0000 (Sat, 24 Dec 2011) | 2 lines

tidy up nul termination for strncpy in CFG_ReadCvarOverrides (from Sander.)
update copyright years.
------------------------------------------------------------------------
r539 | sezero | 2011-12-24 12:01:07 +0000 (Sat, 24 Dec 2011) | 1 line

updated CodeBlocks project files for newly added files.
------------------------------------------------------------------------
r538 | sezero | 2011-12-24 09:41:41 +0000 (Sat, 24 Dec 2011) | 2 lines

documentation: removed the remark of `unreleased' from 0.85.5. changed
the download links for 0.85.5.
------------------------------------------------------------------------
r537 | sezero | 2011-12-24 09:10:49 +0000 (Sat, 24 Dec 2011) | 1 line

updated visual studio project file for newly added files
------------------------------------------------------------------------
r536 | sezero | 2011-12-23 12:03:49 +0000 (Fri, 23 Dec 2011) | 2 lines

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)
------------------------------------------------------------------------
r535 | sezero | 2011-12-22 23:10:25 +0000 (Thu, 22 Dec 2011) | 1 line

removed support for the -mode argument from gl_vidsdl.c
------------------------------------------------------------------------
r534 | sezero | 2011-12-22 21:55:48 +0000 (Thu, 22 Dec 2011) | 8 lines

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).
------------------------------------------------------------------------
r533 | sezero | 2011-12-22 21:20:19 +0000 (Thu, 22 Dec 2011) | 2 lines

main_sdl.c: added SDL version check at runtime requiring at least SDL-1.2.10
and rejecting SDL >= 1.3.x.
------------------------------------------------------------------------
r532 | sezero | 2011-12-21 10:40:18 +0000 (Wed, 21 Dec 2011) | 2 lines

sys_sdl_unix.c, sys_sdl_win.c (Sys_Sleep): rely on SDL_Delay() instead
of platform specific usleep() or Sleep() calls.
------------------------------------------------------------------------
r531 | sezero | 2011-12-20 09:22:19 +0000 (Tue, 20 Dec 2011) | 2 lines

backport from uhexen2: read video variables early so that a vid_restart
isn't necessary after init. thanks to Sander van Dijk.
------------------------------------------------------------------------
r530 | sezero | 2011-12-18 16:27:14 +0000 (Sun, 18 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r529 | sezero | 2011-12-18 10:03:53 +0000 (Sun, 18 Dec 2011) | 4 lines

* 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.
------------------------------------------------------------------------
r528 | sezero | 2011-12-18 10:00:36 +0000 (Sun, 18 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r527 | sezero | 2011-12-18 09:55:18 +0000 (Sun, 18 Dec 2011) | 2 lines

sv_main.c: changed a (cls.state != ca_dedicated) condition into (!isDedicated)
so that a server file doesn't use "cls"
------------------------------------------------------------------------
r526 | sezero | 2011-12-18 09:51:28 +0000 (Sun, 18 Dec 2011) | 1 line

net_loop.h: Tiny whitespace tidy up.
------------------------------------------------------------------------
r525 | sezero | 2011-12-18 09:50:49 +0000 (Sun, 18 Dec 2011) | 2 lines

net_dgrm.c: removed the DEBUG build condition around the "Forged packet received"
message prints. Tiny whitespace tidy up.
------------------------------------------------------------------------
r524 | sezero | 2011-12-16 14:11:37 +0000 (Fri, 16 Dec 2011) | 2 lines

SDL input driver: updated from the uHexen2 project adding native keymap
and dead key support to the console, thanks to Sander van Dijk.
------------------------------------------------------------------------
r523 | sezero | 2011-12-15 21:41:48 +0000 (Thu, 15 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r522 | sezero | 2011-12-15 16:33:52 +0000 (Thu, 15 Dec 2011) | 3 lines

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.
------------------------------------------------------------------------
r521 | sezero | 2011-12-15 16:21:36 +0000 (Thu, 15 Dec 2011) | 4 lines

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.
------------------------------------------------------------------------
r520 | sezero | 2011-12-15 15:51:28 +0000 (Thu, 15 Dec 2011) | 2 lines

sys_sdl_unix.c, sys_sdl_win.c (Sys_ConsoleInput): Moved isDedicated check to...
host.c (Host_GetConsoleCommands): ... here, where it should be.
------------------------------------------------------------------------
r519 | sezero | 2011-12-15 06:37:12 +0000 (Thu, 15 Dec 2011) | 2 lines

gl_texmgr.c (TexMgr_LoadPalette): properly point to d_8to24table_fbright
(noticed this in recent RMQ sources.)
------------------------------------------------------------------------
r518 | sezero | 2011-12-15 06:31:51 +0000 (Thu, 15 Dec 2011) | 2 lines

host_cmd.c (Host_Loadgame_f): Close the file before signalling an error
(noticed this in recent RMQ sources.)
------------------------------------------------------------------------
r517 | sezero | 2011-12-14 14:21:12 +0000 (Wed, 14 Dec 2011) | 4 lines

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..)
------------------------------------------------------------------------
r516 | sezero | 2011-12-13 19:00:25 +0000 (Tue, 13 Dec 2011) | 1 line

CL_ParseUpdate: removed unused bitcounts[] array
------------------------------------------------------------------------
r515 | sezero | 2011-12-13 18:40:23 +0000 (Tue, 13 Dec 2011) | 1 line

Cmd_Alias_f: don't append a space at the very end.
------------------------------------------------------------------------
r514 | sezero | 2011-12-13 18:35:40 +0000 (Tue, 13 Dec 2011) | 1 line

Cmd_TokenizeString: simplify duplication by using Z_Strdup()
------------------------------------------------------------------------
r513 | sezero | 2011-12-13 09:12:16 +0000 (Tue, 13 Dec 2011) | 1 line

can these guys code in ANSI C????
------------------------------------------------------------------------
r512 | sezero | 2011-12-12 16:01:01 +0000 (Mon, 12 Dec 2011) | 4 lines

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).
------------------------------------------------------------------------
r511 | sezero | 2011-12-12 14:11:17 +0000 (Mon, 12 Dec 2011) | 1 line

Made the cmd argument of CL_SendMove() const.
------------------------------------------------------------------------
r510 | sezero | 2011-12-12 12:56:57 +0000 (Mon, 12 Dec 2011) | 1 line

constified the name arguments of Image_LoadImage() and Image_WriteTGA()
------------------------------------------------------------------------
r509 | sezero | 2011-12-12 12:44:17 +0000 (Mon, 12 Dec 2011) | 1 line

re-diff'ed the quake_retexturing_project.patch so that it applies cleanly
------------------------------------------------------------------------
r508 | sezero | 2011-12-12 12:02:37 +0000 (Mon, 12 Dec 2011) | 1 line

made Sys_ConsoleInput() to return const
------------------------------------------------------------------------
r507 | sezero | 2011-12-12 10:50:26 +0000 (Mon, 12 Dec 2011) | 2 lines

made unix Sys_mkdir() to print strerror in case of failure.
made windows Sys_mkdir() to use windows api functions.
------------------------------------------------------------------------
r506 | sezero | 2011-12-12 09:50:23 +0000 (Mon, 12 Dec 2011) | 1 line

removed privileged member from the client structure
------------------------------------------------------------------------
r505 | sezero | 2011-12-12 09:03:34 +0000 (Mon, 12 Dec 2011) | 9 lines

pr_exec.c (PR_ExecuteProgram):  Implemented some of LordHavoc's
optimizations mostly by removing the temporary eval_t *a,*b and *c
variables and replacing them by OPA, OPB and OPC macros. Removed
the statement index s and used the statement pointer instead,
updating the pr_xstatement global whenever necessary. In OP_STATE,
stored OPA->_float to ed->v.frame without comparing them (I don't
understand the significance to the comparison.)  Casted st->a, b
and c to unsigned short instead of using them signed as they are
as the pr_globals index value. Updated profiling code.
------------------------------------------------------------------------
r504 | sezero | 2011-12-12 08:56:25 +0000 (Mon, 12 Dec 2011) | 2 lines

pr_comp.h, pr_edict.c, progs.h, pr_cmds.c, pr_exec.c: made some of the
variables and functions private and did some whitespace tidy-ups.
------------------------------------------------------------------------
r503 | stevenaaus | 2011-11-19 23:33:54 +0000 (Sat, 19 Nov 2011) | 1 line

Make 'R_DrawSprite' error messages Con_DPrintf.
------------------------------------------------------------------------
r502 | sezero | 2011-11-12 18:03:49 +0000 (Sat, 12 Nov 2011) | 2 lines

net_udp.c: Fixed FIONREAD ioctl to take an int* argument instead of
an unsigned long*.
------------------------------------------------------------------------
r501 | sezero | 2011-11-07 23:02:02 +0000 (Mon, 07 Nov 2011) | 1 line

recompiled SDL library from git snapshot a04171d6fa11 (2011-11-07, SDL-1.2 branch)
------------------------------------------------------------------------
r500 | sezero | 2011-10-30 16:56:03 +0000 (Sun, 30 Oct 2011) | 5 lines

cd_sdl.c: Reverted the CDAudio_Update() change from 27 Oct: it does
not make things better.  Removed the SDL_CDStatus() check before the
error message in case of SDL_CDPlay() failures: I don't really know
the significance to it and witnessed that it caused the error report
once, so I don't see any merit in its presence.
------------------------------------------------------------------------
r499 | sezero | 2011-10-30 16:02:34 +0000 (Sun, 30 Oct 2011) | 1 line

windows codecs: Recompiled mpg123 from latest 1.13.4 release.
------------------------------------------------------------------------
r498 | sezero | 2011-10-27 10:40:46 +0100 (Thu, 27 Oct 2011) | 3 lines

cd_sdl.c: Simplified, making it similar to cd_linux.c or cd_bsd.c by
performing checks every two seconds in CDAudio_Update() and caching
the last check time.
------------------------------------------------------------------------
r497 | sezero | 2011-10-26 13:11:25 +0100 (Wed, 26 Oct 2011) | 3 lines

recompiled all windows x64 dlls using a new gcc-4.5-based toolchain.
also updated the SDL library to HG/1.2 branch 2011-10-14 with
patch from http://bugzilla.libsdl.org/show_bug.cgi?id=1254#c15.
------------------------------------------------------------------------
r496 | sezero | 2011-10-24 18:40:12 +0100 (Mon, 24 Oct 2011) | 1 line

updated the user directories support patch
------------------------------------------------------------------------
r495 | sezero | 2011-10-19 21:10:49 +0100 (Wed, 19 Oct 2011) | 2 lines

in Sbar_DrawFace(), don't let the index derived off cl.stats[STAT_HEALTH]
to become negative. (noticed this in rmq some time ago...)
------------------------------------------------------------------------
r494 | sezero | 2011-10-19 20:33:23 +0100 (Wed, 19 Oct 2011) | 1 line

moved README.music to top-level directory
------------------------------------------------------------------------
r493 | sezero | 2011-10-09 09:51:29 +0100 (Sun, 09 Oct 2011) | 1 line

cl_demo.c: Several tidy-ups and message corrections
------------------------------------------------------------------------
r492 | sezero | 2011-10-07 08:12:18 +0100 (Fri, 07 Oct 2011) | 1 line

updated my systest tool from uhexen2
------------------------------------------------------------------------
r491 | sezero | 2011-10-03 15:00:16 +0100 (Mon, 03 Oct 2011) | 4 lines

updated windows SDL libraries to HG/1.2 branch 2011-09-21 with two
patches applied:
http://bugzilla.libsdl.org/show_bug.cgi?id=1254#c15
http://bugzilla.libsdl.org/show_bug.cgi?id=1310
------------------------------------------------------------------------
r490 | stevenaaus | 2011-09-21 03:51:56 +0100 (Wed, 21 Sep 2011) | 1 line

Typo: scr_crosshaircale -> scr_crosshairscale (from Sander).
------------------------------------------------------------------------
r489 | stevenaaus | 2011-09-20 23:45:52 +0100 (Tue, 20 Sep 2011) | 1 line

Update sndspeed cvar when it is changed from the command line (from Sander). Note in-game changes of the sound cvars don't change sound playback settings or behaviour.
------------------------------------------------------------------------
r488 | sezero | 2011-09-20 19:05:51 +0100 (Tue, 20 Sep 2011) | 2 lines

added IS_LOOP_DRIVER macro and made the confusing loop driver checks
more readable. from uhexen2.
------------------------------------------------------------------------
r487 | stevenaaus | 2011-09-20 07:41:36 +0100 (Tue, 20 Sep 2011) | 1 line

Make the default fullscreen mode 800x600 (same as window default), from Sander.
------------------------------------------------------------------------
r486 | sezero | 2011-09-19 09:55:47 +0100 (Mon, 19 Sep 2011) | 1 line

more ChangeLog updates
------------------------------------------------------------------------
r485 | stevenaaus | 2011-09-18 05:24:22 +0100 (Sun, 18 Sep 2011) | 1 line

Update doco for minor changes.
------------------------------------------------------------------------
r484 | sezero | 2011-09-15 08:51:11 +0100 (Thu, 15 Sep 2011) | 2 lines

gl_model.c: Added new external_ents cvar for Mod_LoadEntities()
in parallel to the old QIP code.
------------------------------------------------------------------------
r483 | sezero | 2011-08-27 08:11:36 +0100 (Sat, 27 Aug 2011) | 1 line

updated makefiles.
------------------------------------------------------------------------
r482 | sezero | 2011-08-27 08:11:02 +0100 (Sat, 27 Aug 2011) | 1 line

updated snd_vorbis.c from the uhexen2 project: support for Tremor (libvorbisidec)
------------------------------------------------------------------------
r481 | sezero | 2011-08-25 22:37:34 +0100 (Thu, 25 Aug 2011) | 2 lines

mlook and lookspring fixes by Jacques Krige :
http://www.quake-1.com/docs/quakesrc.org/1.html
------------------------------------------------------------------------
r480 | stevenaaus | 2011-08-24 08:47:29 +0100 (Wed, 24 Aug 2011) | 1 line

z-fighting (flickering gl texture clash most notable in e1m1) bug fix, from Sander.
------------------------------------------------------------------------
r479 | sezero | 2011-08-21 10:10:52 +0100 (Sun, 21 Aug 2011) | 2 lines

snd_mp3.c (S_MP3_CodecOpenStream): Don't Z_Free() stream's private
data when not allocating on the zone.
------------------------------------------------------------------------
r478 | sezero | 2011-08-10 06:05:36 +0100 (Wed, 10 Aug 2011) | 1 line

recompiled all windows x64 libraries using the latest mingw-w64 v1.0 runtime rev.4360.
------------------------------------------------------------------------
r477 | sezero | 2011-08-06 17:10:43 +0100 (Sat, 06 Aug 2011) | 1 line

updated my mk_header tool and added systest.
------------------------------------------------------------------------
r476 | sezero | 2011-08-03 20:30:37 +0100 (Wed, 03 Aug 2011) | 3 lines

console.c (LOG_Init): Removed the O_APPEND flag when opening the log file.
It was a legacy from Quake who used to open and close the log file on every
write. Commented out the unlink() call and added O_TRUNC to the open flags.
------------------------------------------------------------------------
r475 | sezero | 2011-08-03 20:22:29 +0100 (Wed, 03 Aug 2011) | 1 line

removed the LoadBufFile method
------------------------------------------------------------------------
r474 | sezero | 2011-07-21 10:20:45 +0100 (Thu, 21 Jul 2011) | 1 line

fixed vorbisfile link order at another place
------------------------------------------------------------------------
r473 | sezero | 2011-07-21 10:11:30 +0100 (Thu, 21 Jul 2011) | 1 line

deleted unused vorbisenc.h header from OSX port too
------------------------------------------------------------------------
r472 | sezero | 2011-07-21 10:03:35 +0100 (Thu, 21 Jul 2011) | 2 lines

fixed vorbisfile link order for static linkage if one chooses to do so.
deleted unused vorbisenc.h header.
------------------------------------------------------------------------
r471 | sezero | 2011-07-20 10:00:12 +0100 (Wed, 20 Jul 2011) | 2 lines

snd_mp3.c: leave Z_ alone and allocate libmad decoding buffers (ca. 64kb)
on the system memory.
------------------------------------------------------------------------
r470 | sezero | 2011-07-17 15:00:48 +0100 (Sun, 17 Jul 2011) | 2 lines

zone.c (Z_Realloc): If expanding size, zero-fill the expanded part
of the memory before returning, which is Z_Malloc() behavior.
------------------------------------------------------------------------
r469 | stevenaaus | 2011-07-16 12:07:19 +0100 (Sat, 16 Jul 2011) | 1 line

Added a new OSX app. Update links in doco.
------------------------------------------------------------------------
r468 | sezero | 2011-07-08 18:27:44 +0100 (Fri, 08 Jul 2011) | 1 line

progs.h (PR_RunError): Mark the function as noreturn.
------------------------------------------------------------------------
r467 | sezero | 2011-07-05 07:50:23 +0100 (Tue, 05 Jul 2011) | 4 lines

host.c (Host_ClearMemory): Do not check if host_hunklevel is
set before freeing the hunk allocations.  The order in Host_Init()
is clear and Host_ClearMemory must not be hit before host_hunklevel
is set. (otherwise, there _will_ be much trouble...)
------------------------------------------------------------------------
r466 | sezero | 2011-07-05 07:45:31 +0100 (Tue, 05 Jul 2011) | 2 lines

host.c (Host_Init): Execute quake.rc _after_ setting host_hunklevel
and host_initialized.
------------------------------------------------------------------------
r465 | sezero | 2011-07-05 07:28:42 +0100 (Tue, 05 Jul 2011) | 3 lines

* Removed some useless memset calls onto newly hunk allocated memory.
  Hunk_Alloc() already clears the memory before returning it.
* Some minor cleanups.
------------------------------------------------------------------------
r464 | sezero | 2011-06-28 12:33:23 +0100 (Tue, 28 Jun 2011) | 1 line

Increased localmodels array size to 8 (better alignment)
------------------------------------------------------------------------
r463 | sezero | 2011-06-27 14:20:52 +0100 (Mon, 27 Jun 2011) | 1 line

moved Host_Version_f from host_cmd.c to host.c.
------------------------------------------------------------------------
r462 | sezero | 2011-06-27 14:10:19 +0100 (Mon, 27 Jun 2011) | 1 line

net_udp.c: check whether the address returned by gethostbyname is an IPv4 address
------------------------------------------------------------------------
r461 | sezero | 2011-06-13 13:41:00 +0100 (Mon, 13 Jun 2011) | 1 line

minor syncing with uhexen2
------------------------------------------------------------------------
r460 | sezero | 2011-06-12 13:25:22 +0100 (Sun, 12 Jun 2011) | 1 line

a little syncing with uhexen2.
------------------------------------------------------------------------
r459 | sezero | 2011-06-11 14:20:13 +0100 (Sat, 11 Jun 2011) | 1 line

updated q_stdinc.h from uhexen2.
------------------------------------------------------------------------
r458 | sezero | 2011-06-11 06:03:04 +0100 (Sat, 11 Jun 2011) | 2 lines

gl_model.c (Mod_LoadEntities): Added support for loading external entity files.
Adding a cvar to control this option should follow later.
------------------------------------------------------------------------
r457 | stevenaaus | 2011-06-10 04:04:51 +0100 (Fri, 10 Jun 2011) | 1 line

Trial a new Freeze cvar.
------------------------------------------------------------------------
r456 | sezero | 2011-06-02 08:56:15 +0100 (Thu, 02 Jun 2011) | 1 line

Recompiled all windows x64 libraries using the latest mingw-w64 tools.
------------------------------------------------------------------------
r455 | sezero | 2011-05-20 23:20:30 +0100 (Fri, 20 May 2011) | 4 lines

Sync music stuff with uHexen2:  Removed S_FileExtension, replaced its use
by COM_FileGetExtension.  Adjusted all users because COM_FileGetExtension
doesn't include the leading dot for the extension, nor does it ever return
NULL.
------------------------------------------------------------------------
r454 | sezero | 2011-05-20 21:38:11 +0100 (Fri, 20 May 2011) | 2 lines

replaced COM_FileExtension by a slightly better version from uhexen2,
renamed it to COM_FileGetExtension, added a prototype to common.h.
------------------------------------------------------------------------
r453 | sezero | 2011-05-15 11:33:26 +0100 (Sun, 15 May 2011) | 1 line

recompiled SDL.dll for windows x64 from 2010-11-11 snapshot.
------------------------------------------------------------------------
r452 | stevenaaus | 2011-04-28 07:24:37 +0100 (Thu, 28 Apr 2011) | 1 line

Add note about music sampling and sndspeed to readme.
------------------------------------------------------------------------
r451 | sezero | 2011-04-25 22:33:54 +0100 (Mon, 25 Apr 2011) | 2 lines

added a note to README.music about Quake cdrom audio tracks being pre-emphasized.
from Sander van Dijk.
------------------------------------------------------------------------
r450 | sezero | 2011-04-24 17:25:26 +0100 (Sun, 24 Apr 2011) | 1 line

updated documents for new changes
------------------------------------------------------------------------
r449 | sezero | 2011-04-24 05:27:54 +0100 (Sun, 24 Apr 2011) | 3 lines

small documentation corrections. fixed the borked README.txt file.
changed version to 0.85.5 in the README files. changed version to
0.85.5 in quakedef.h.
------------------------------------------------------------------------
r448 | stevenaaus | 2011-04-24 04:01:40 +0100 (Sun, 24 Apr 2011) | 1 line

Update Makefile.darwin (OSX) and doco.
------------------------------------------------------------------------
r447 | sezero | 2011-04-22 06:23:45 +0100 (Fri, 22 Apr 2011) | 3 lines

* codecs:  updated libmpg123 windows libraries to the latest
  stable 1.13.3 version.

------------------------------------------------------------------------
r446 | sezero | 2011-04-19 19:29:41 +0100 (Tue, 19 Apr 2011) | 1 line

check for arguments to several command line options. patch from Sander van Dijk.
------------------------------------------------------------------------
r445 | sezero | 2011-04-19 19:02:00 +0100 (Tue, 19 Apr 2011) | 1 line

changed Misc/homedir_0.patch to incorporate host_parms->userdir
------------------------------------------------------------------------
r444 | sezero | 2011-04-19 18:02:41 +0100 (Tue, 19 Apr 2011) | 1 line

keys.c (History_Init, History_Shutdown): use host_parms->userdir.
------------------------------------------------------------------------
r443 | sezero | 2011-04-19 17:41:45 +0100 (Tue, 19 Apr 2011) | 5 lines

made global host_parms a pointer, set in main(). adjusted places where
host_parms is used. made COM_Init() and Host_Init() to take no arguments.
made Sys_Init() to set host_parms->userdir: at present, it is set to
host_parms->basedir, to be changed properly when user directories are
implemented.
------------------------------------------------------------------------
r442 | sezero | 2011-04-12 13:36:04 +0100 (Tue, 12 Apr 2011) | 1 line

fixed several gcc-4.6 -Wunused-but-set-variable warnings.
------------------------------------------------------------------------
r441 | sezero | 2011-04-08 21:25:58 +0100 (Fri, 08 Apr 2011) | 1 line

minor update to README.music document.
------------------------------------------------------------------------
r440 | sezero | 2011-04-08 07:01:39 +0100 (Fri, 08 Apr 2011) | 3 lines

cl_parse.c (CL_KeepaliveMessage): fixed big boom in net play in maps with
extended limits. it was a fitzquake-0.85 bug noticed by `mh' as explained
at http://forums.inside3d.com/viewtopic.php?p=35030
------------------------------------------------------------------------
r439 | sezero | 2011-04-01 15:55:45 +0100 (Fri, 01 Apr 2011) | 4 lines

just properly use (u)intptr_t where necessary and don't do the cheap hack
of using size_t instead of it.  include stdint.h in q_stdinc.h for it.
for Visual Studio earlier than version 2010, use the header provided by
the msinttypes project.
------------------------------------------------------------------------
r438 | sezero | 2011-03-31 10:50:24 +0100 (Thu, 31 Mar 2011) | 1 line

updated README files.  added Misc/README.music as a new reference document.
------------------------------------------------------------------------
r437 | sezero | 2011-03-28 21:12:02 +0100 (Mon, 28 Mar 2011) | 1 line

tagging revision 436 as quakespasm-0.85.4
------------------------------------------------------------------------
r436 | kristianduske | 2011-03-28 16:17:30 +0100 (Mon, 28 Mar 2011) | 1 line

Removed unused XCode user files.
------------------------------------------------------------------------
r435 | kristianduske | 2011-03-28 15:28:18 +0100 (Mon, 28 Mar 2011) | 3 lines

Added fat binary for libmpg123 v 1.12.1 with support for ppc, i386 and x86_64.
Adapted paths for libraries within the dylibs.
Added header files for ogg, vorbis and libmpg123 to MacOSX build to avoid people having to get ahold of the music decorders when they want to build on OS X.
------------------------------------------------------------------------
r434 | sezero | 2011-03-28 12:37:44 +0100 (Mon, 28 Mar 2011) | 2 lines

added native sound code snd_alsa.c, snd_oss.c, snd_win.c and for future
reference and/or probable use.
------------------------------------------------------------------------
r433 | kristianduske | 2011-03-28 12:16:43 +0100 (Mon, 28 Mar 2011) | 2 lines

Added vorbis fat binaries to SVN to avoid future headaches.
Adapted XCode project so that the dylibs are copied into the App bundle (untested).
------------------------------------------------------------------------
r432 | kristianduske | 2011-03-28 11:04:08 +0100 (Mon, 28 Mar 2011) | 3 lines

Launcher window is now centered and will launch Quake when Return key is pressed.
Enabled PPC builds.
All OS X builds are without music support for now.
------------------------------------------------------------------------
r431 | kristianduske | 2011-03-28 11:03:28 +0100 (Mon, 28 Mar 2011) | 3 lines

Launcher window is now centered and will launch Quake when Return key is pressed.
Enabled PPC builds.
All OS X builds are without music support for now.
------------------------------------------------------------------------
r430 | sezero | 2011-03-27 15:00:31 +0100 (Sun, 27 Mar 2011) | 1 line

minor documentation updates, final touches for 0.85.4.
------------------------------------------------------------------------
r429 | stevenaaus | 2011-03-05 10:20:00 +0000 (Sat, 05 Mar 2011) | 1 line

Trivial doco updates
------------------------------------------------------------------------
r428 | sezero | 2011-03-01 18:00:30 +0000 (Tue, 01 Mar 2011) | 4 lines

* gl_model.c: relaxed searchpath requirements for external lit file
  loading: they are now allowed from the same game directory as the
  map itself as well as from a searchpath with a higher priority.

------------------------------------------------------------------------
r427 | sezero | 2011-02-27 07:05:18 +0000 (Sun, 27 Feb 2011) | 3 lines

cvar'ize the game loop throttling by adding the new sys_throttle with
a default value of 0.02.  changing its value to 0 disables throttling.

------------------------------------------------------------------------
r426 | sezero | 2011-02-24 10:01:03 +0000 (Thu, 24 Feb 2011) | 1 line

recopiled windows mpg123 libraries with debug/error/warning console messages disabled
------------------------------------------------------------------------
r425 | sezero | 2011-02-23 10:27:38 +0000 (Wed, 23 Feb 2011) | 3 lines

* Windows/codecs: update libmpg123 header, import libraries and dlls
  to version 1.13.2.

------------------------------------------------------------------------
r424 | sezero | 2011-02-21 18:03:35 +0000 (Mon, 21 Feb 2011) | 2 lines

snd_mix.c, minor cleanup: eliminated stupid multiple casting in SND_PaintChannelFrom8(),
added braces to the inner for loop in SND_InitScaletable().
------------------------------------------------------------------------
r423 | sezero | 2011-02-18 14:00:28 +0000 (Fri, 18 Feb 2011) | 2 lines

spelling fixes from Sander

------------------------------------------------------------------------
r422 | sezero | 2011-02-18 14:00:13 +0000 (Fri, 18 Feb 2011) | 2 lines

re-diff'ed the user directories patch

------------------------------------------------------------------------
r421 | sezero | 2011-02-17 10:20:26 +0000 (Thu, 17 Feb 2011) | 1 line

updated documentation (again..)
------------------------------------------------------------------------
r420 | sezero | 2011-02-17 07:02:47 +0000 (Thu, 17 Feb 2011) | 2 lines

* snd_mpg123.c: Print a message if mpg123_init() fails.

------------------------------------------------------------------------
r419 | sezero | 2011-02-17 06:56:28 +0000 (Thu, 17 Feb 2011) | 1 line

updated documentation
------------------------------------------------------------------------
r418 | sezero | 2011-02-17 06:38:52 +0000 (Thu, 17 Feb 2011) | 3 lines

* gl_model.c: changed the `ignored' messages from Con_DPrintf
  to Con_Printf for external lit files.

------------------------------------------------------------------------
r417 | sezero | 2011-02-16 15:20:20 +0000 (Wed, 16 Feb 2011) | 2 lines

bgmusic.c, bgmusic.h: small updates and tidy-ups from uHexen2.

------------------------------------------------------------------------
r416 | sezero | 2011-02-15 21:30:32 +0000 (Tue, 15 Feb 2011) | 3 lines

bgmusic.c: renamed -nomusic command line switch to -noextmusic. minor update.
updated documentation for the command line option name change.

------------------------------------------------------------------------
r415 | sezero | 2011-02-15 09:27:52 +0000 (Tue, 15 Feb 2011) | 2 lines

added libmpg123 header, import libraries and dlls for windows builds
using libmpg123 for mp3 support.
------------------------------------------------------------------------
r414 | sezero | 2011-02-14 20:02:52 +0000 (Mon, 14 Feb 2011) | 4 lines

* snd_mpg123.c: added new codec for mp3 playback using libmpg123 as
  an alternative to the existing one using libmad. requires at least
  mpg123-1.12.0, i.e. api version 25.

------------------------------------------------------------------------
r413 | sezero | 2011-02-13 16:50:18 +0000 (Sun, 13 Feb 2011) | 2 lines

updated changelog entries in the REDAME for 0.85.4

------------------------------------------------------------------------
r412 | sezero | 2011-02-12 22:20:09 +0000 (Sat, 12 Feb 2011) | 1 line

README punctuation patch from Sander van Dijk
------------------------------------------------------------------------
r411 | sezero | 2011-02-10 18:23:50 +0000 (Thu, 10 Feb 2011) | 2 lines

snd_codec.c (S_CodecUtilOpen): fix again after rev.410.

------------------------------------------------------------------------
r410 | sezero | 2011-02-10 18:20:33 +0000 (Thu, 10 Feb 2011) | 1 line

snd_codec.c (S_CodecUtilOpen): minor cleanup (better type for length.)
------------------------------------------------------------------------
r409 | sezero | 2011-02-10 18:15:19 +0000 (Thu, 10 Feb 2011) | 1 line

documentation updates
------------------------------------------------------------------------
r408 | sezero | 2011-02-10 17:25:43 +0000 (Thu, 10 Feb 2011) | 8 lines

* common.c (COM_FileExists): changed return type to qboolean.
(COM_filelength): new procedure.
(COM_FindFile): adjustments to avoid multiple file open/close operations just a
little.
* common.h (COM_FileExists): adjusted prototype.
* bgmusic.c (BGM_PlayCDtrack): adjusted for COM_FileExists() return type change.
* sys_sdl_win.c, sys_sdl_unix.c (Sys_filelength): changed return type to long.

------------------------------------------------------------------------
r407 | sezero | 2011-02-10 16:10:53 +0000 (Thu, 10 Feb 2011) | 6 lines

support for mouse buttons 4 and 5:
* keys.h: add KMOUSE4 and K_MOUSE5 defines after K_MWHEELDOWN
* keys.c: add KMOUSE4 and K_MOUSE5 to the keynames table.
* main_sdl.c: handle SDL_BUTTON_X1 and SDL_BUTTON_X2 for mouse
button events.

------------------------------------------------------------------------
r406 | sezero | 2011-02-08 11:00:29 +0000 (Tue, 08 Feb 2011) | 3 lines

* common.c (FS_fread): fixed coding style.
* bgmusic.c:  minor updates from uhexen2.

------------------------------------------------------------------------
r405 | sezero | 2011-01-30 21:34:12 +0000 (Sun, 30 Jan 2011) | 3 lines

* snd_mp3.c: removed useless rudimentary info checks.
* updated copyright years for several sound related sources.

------------------------------------------------------------------------
r404 | sezero | 2011-01-30 18:23:20 +0000 (Sun, 30 Jan 2011) | 4 lines

* snd_mp3.c: sync with sox project CVS repo and add mp3_madseek()
  as a new private function. make S_MP3_CodecRewindStream() to use
  the new mp3_madseek() function.

------------------------------------------------------------------------
r403 | sezero | 2011-01-29 07:21:04 +0000 (Sat, 29 Jan 2011) | 2 lines

gl_vidsdl.c (VID_Menu_ChooseNextRate): refresh rates not implemented for SDL.

------------------------------------------------------------------------
r402 | sezero | 2011-01-22 20:11:46 +0000 (Sat, 22 Jan 2011) | 2 lines

fixed a typo in a comment, noticed by Sander van Dijk.

------------------------------------------------------------------------
r401 | sezero | 2011-01-18 06:50:35 +0000 (Tue, 18 Jan 2011) | 5 lines

* snd_mix.c (SND_PaintChannelFrom16): multiplication might cause
  integer overflow as observed in the warpspasm mod depending on
  the volume level. so, moved the left shifting to left/right
  volume before the multiplication.

------------------------------------------------------------------------
r400 | sezero | 2011-01-15 09:50:17 +0000 (Sat, 15 Jan 2011) | 3 lines

added linux, bsd and windows native cdaudio code from uhexen2.
will integrate to build later.

------------------------------------------------------------------------
r399 | sezero | 2011-01-13 14:10:16 +0000 (Thu, 13 Jan 2011) | 1 line

updated visual studio project file.
------------------------------------------------------------------------
r398 | sezero | 2011-01-12 20:10:34 +0000 (Wed, 12 Jan 2011) | 7 lines

* net_sys.h: revert previous commit undefining EWOULDBLOCK and
  ECONNREFUSED for windows.  define new macros NET_EWOULDBLOCK and
  NET_ECONNREFUSED for both unix and for windows and change the
  users accordingly.
* net_udp.c, net_wins.c, net_wipx.c:
  adjust for the new NET_EWOULDBLOCK and NET_ECONNREFUSED macros.

------------------------------------------------------------------------
r397 | sezero | 2011-01-12 12:39:24 +0000 (Wed, 12 Jan 2011) | 2 lines

net_sys.h: the new MS SDKs define EWOULDBLOCK and ECONNREFUSED,
so we must undefine them before redefining.
------------------------------------------------------------------------
r396 | sezero | 2011-01-12 10:20:24 +0000 (Wed, 12 Jan 2011) | 3 lines

removed references to Misc/Todo.txt and Misc/Changelog.txt from the Xcode
project files.

------------------------------------------------------------------------
r395 | sezero | 2011-01-12 10:12:33 +0000 (Wed, 12 Jan 2011) | 3 lines

removed Misc/Todo.txt and Misc/Changelog.txt.  Appended old Misc/Changelog.txt
content to Misc/fitzquake080sdl.txt for future reference.

------------------------------------------------------------------------
r394 | sezero | 2011-01-12 10:02:16 +0000 (Wed, 12 Jan 2011) | 1 line

removed the cdplayer facility added in 0.85.3
------------------------------------------------------------------------
r393 | stevenaaus | 2011-01-12 09:55:01 +0000 (Wed, 12 Jan 2011) | 1 line

Update Todo list
------------------------------------------------------------------------
r392 | sezero | 2011-01-12 09:32:22 +0000 (Wed, 12 Jan 2011) | 4 lines

changed makefiles to use 1/0 instead of yes/no for the codec options.
made quakespasm custom conback embedding optional, still defaulting to 1.
the code requires USE_QS_CONBACK preprocessor definition.

------------------------------------------------------------------------
r391 | sezero | 2011-01-11 20:05:12 +0000 (Tue, 11 Jan 2011) | 3 lines

updated the user directories patch to apply and function properly after
the latset changes.

------------------------------------------------------------------------
r390 | stevenaaus | 2011-01-11 08:19:22 +0000 (Tue, 11 Jan 2011) | 1 line

Make Makefile.darwin consistent with Makefile
------------------------------------------------------------------------
r389 | stevenaaus | 2011-01-11 08:06:03 +0000 (Tue, 11 Jan 2011) | 1 line

Documentation typos
------------------------------------------------------------------------
r388 | sezero | 2011-01-10 20:33:12 +0000 (Mon, 10 Jan 2011) | 6 lines

bgmusic.c: remove some unnecessary comments.
(BGM_Play): call BGM_Stop() before anything else. don't do anything
if there are no music handlers.
(BGM_PlayCDtrack): remove commented out code. if CDAudio_Play() call
failed and there are no music handlers, don't do anything else.

------------------------------------------------------------------------
r387 | sezero | 2011-01-10 20:17:15 +0000 (Mon, 10 Jan 2011) | 3 lines

bgm*: updated copyright years.
bgmnull.c: removed unused file.

------------------------------------------------------------------------
r386 | sezero | 2011-01-10 10:35:40 +0000 (Mon, 10 Jan 2011) | 4 lines

min/max macros:  renamed them to q_min and q_max, moved them common.h.
removed the inline versions which only handled integers.  moved CLAMP
macro to common.h.  Adjusted all places for the renamed macros.

------------------------------------------------------------------------
r385 | sezero | 2011-01-10 08:37:18 +0000 (Mon, 10 Jan 2011) | 2 lines

add the new bgm_extmusic cvar to bgmnull.c, too.

------------------------------------------------------------------------
r384 | sezero | 2011-01-10 08:33:22 +0000 (Mon, 10 Jan 2011) | 4 lines

added -nomusic command line switch to turn off playing external music files.
added new cvar bgm_extmusic to enable/disable playing of external music files.
added a new menu entry to control bgm_extmusic.

------------------------------------------------------------------------
r383 | stevenaaus | 2011-01-10 03:09:09 +0000 (Mon, 10 Jan 2011) | 1 line

Doco update
------------------------------------------------------------------------
r382 | stevenaaus | 2011-01-06 20:19:37 +0000 (Thu, 06 Jan 2011) | 1 line

Author name change
------------------------------------------------------------------------
r381 | sezero | 2011-01-06 20:05:49 +0000 (Thu, 06 Jan 2011) | 2 lines

applied a modified version of heritage & quit message by Sander van Dijk

------------------------------------------------------------------------
r380 | sezero | 2011-01-05 23:05:17 +0000 (Wed, 05 Jan 2011) | 2 lines

updated the darwin makefile after music streaming changes. it probably needs
further updating, though...
------------------------------------------------------------------------
r379 | sezero | 2011-01-05 22:27:33 +0000 (Wed, 05 Jan 2011) | 2 lines

updated codeblocks project files after the streaming music changes.

------------------------------------------------------------------------
r378 | sezero | 2011-01-05 21:30:37 +0000 (Wed, 05 Jan 2011) | 1 line

menu.c: allow proper music volume adjustment for windows.
------------------------------------------------------------------------
r377 | sezero | 2011-01-05 21:29:00 +0000 (Wed, 05 Jan 2011) | 1 line

snd_mp3.c: fixed windows build.
------------------------------------------------------------------------
r376 | sezero | 2011-01-05 21:27:37 +0000 (Wed, 05 Jan 2011) | 3 lines

updated windows makefiles and visual studio project files after streaming
music changes.

------------------------------------------------------------------------
r375 | sezero | 2011-01-05 19:55:57 +0000 (Wed, 05 Jan 2011) | 3 lines

added libmad, libogg and libvorbis headers and x86 and x64 import
libraries for windows builds.

------------------------------------------------------------------------
r374 | sezero | 2011-01-05 19:50:43 +0000 (Wed, 05 Jan 2011) | 36 lines

Backported external music files support using decoder libraries and the
new raw samples interface from Hammer of Thyrion (uhexen2) :
- bgmusic.c, bgmusic.h: New BGM interface for background music handling.
  Handles streaming music as raw sound samples.
- bgmnull.c: BGM source for cases where the engine is configured for no
  sound.
- cl_main.c: Include bgmusic.h. Call BGM_Stop() and CDAudio_Stop() in
  CL_Disconnect().
- cd_sdl.c: Moved bgmvolume boundary checking to bgmusic.c upon value
  changes.
- gl_vidnt.c, gl_vidsdl.c, cl_parse.c: Include bgmusic.h. Add BGM_Pause()
  and BGM_Resume() calls along with CDAudio_ counterparts.
- cl_parse.c: Replace CDAudio_Play() call by the new BGM_PlayCDtrack()
  which first tries CDAudio_Play() and then streaming music if it fails.
- host.c: Include bgmusic.h. Call BGM_Update() just before S_Update()
  in Host_Frame(). In Host_Init(), call BGM_Init() after other audio init
  calls. In Host_Shutdown(), call BGM_Shutdown() before all other audio
  shutdown calls.
- snd_dma.c: Include snd_codec.h and bgmusic.h. Call S_CodecInit() from
  S_Init(). Call S_CodecShutdown() from S_Shutdown().
- snd_codec.c, snd_codec.h: New public codec interface for streaming
  music as raw samples. Adapted from quake2 and ioquake3 with changes.
  Individual codecs are responsible for handling any necessary byte swap
  operations.
- snd_codeci.h: New header for snd_codec internals.
- snd_wave.c, snd_wave.h: Codec for WAV format streaming music. Adapted
  from ioquake3 with changes.
- snd_vorbis.c, snd_vorbis.h: Codec for Ogg/Vorbis format streaming music.
- snd_mp3.c, snd_mp3.h: Codec for MP3 format streaming music using libmad.
  Adapted from the SoX project with changes.
- Makefile: Adjusted for the new sources. Added switches USE_CODEC_WAVE,
  USE_CODEC_MP3, USE_CODEC_VORBIS for enabling and disabling individual
  codecs.
- Windows makefiles and project files as well as other CodeBlocks project
  files will be updated shortly.

------------------------------------------------------------------------
r373 | sezero | 2011-01-05 18:01:15 +0000 (Wed, 05 Jan 2011) | 4 lines

made COM_FindFile to accept both file and handle as NULL. Added
COM_FileExists as a new helper procedure which calls COM_FindFile
with both file and handle parameters as NULL.

------------------------------------------------------------------------
r372 | sezero | 2011-01-02 22:02:11 +0000 (Sun, 02 Jan 2011) | 4 lines

gl_model.c (Mod_LoadLighting): Check the path_id of the lit file and
accept only if it is coming from the same game directory as for the map
itself.

------------------------------------------------------------------------
r371 | sezero | 2011-01-02 21:55:26 +0000 (Sun, 02 Jan 2011) | 6 lines

gl_model.h (model_t): Added a path_id member to store the
information about the game directory from where the model is
loaded.
gl_model.c (Mod_LoadModel): Send the path_id member of the
model to FS_Load* function, instead of NULL.

------------------------------------------------------------------------
r370 | sezero | 2011-01-02 21:45:16 +0000 (Sun, 02 Jan 2011) | 10 lines

common.c (searchpath_t):  Added new member `path_id', an unsigned
int identifier assigned to the game directory. Remember that main
<install_dir>/game1 and the unix <userdir>/game1 have the same id.
The id starts as 1 for the first data1 directory. For every new
directory, the value is the left-shifted version of the previous
one.  Made COM_FindFile() to accept a path_id pointer argument
and storing the id in it if it isn't NULL. Made COM_OpenFile(),
COM_FOpenFile() and all COM_Load* functions to accept a path_id
pointer argument similarly. Adjusted callers accordingly.

------------------------------------------------------------------------
r369 | sezero | 2011-01-02 21:42:54 +0000 (Sun, 02 Jan 2011) | 4 lines

Removed support for -proghack and -path. I think no one misses them.
Made COM_FindFile() static to common.c. Removed COM_CopyFile(), no
callers at the moment.

------------------------------------------------------------------------
r368 | sezero | 2011-01-02 18:33:21 +0000 (Sun, 02 Jan 2011) | 2 lines

Made CDAudio_Play() to return success (0) or failure (-1) instead of void.

------------------------------------------------------------------------
r367 | sezero | 2011-01-01 14:05:20 +0000 (Sat, 01 Jan 2011) | 2 lines

fixed rest of the strict-aliasing and uninitialized use warnings.

------------------------------------------------------------------------
r366 | sezero | 2011-01-01 12:32:16 +0000 (Sat, 01 Jan 2011) | 2 lines

whitespace/formatting tidy-up in quakedef.h.

------------------------------------------------------------------------
r365 | sezero | 2011-01-01 12:27:02 +0000 (Sat, 01 Jan 2011) | 2 lines

removed the useless msg_suppress_1 thing.

------------------------------------------------------------------------
r364 | sezero | 2011-01-01 12:24:28 +0000 (Sat, 01 Jan 2011) | 3 lines

removed all remaining references to id386 and UNALIGNED_OK because
the fitz engine doesn't use them at all.

------------------------------------------------------------------------
r363 | sezero | 2011-01-01 12:20:15 +0000 (Sat, 01 Jan 2011) | 2 lines

changed MAX_OSPATH from 128 to 256 for better compatibility everywhere.

------------------------------------------------------------------------
r362 | sezero | 2010-12-31 10:47:29 +0000 (Fri, 31 Dec 2010) | 2 lines

W_LoadWadFile: Just use COM_LoadMallocFile(). Some minor cleanup.

------------------------------------------------------------------------
r361 | sezero | 2010-12-31 10:29:38 +0000 (Fri, 31 Dec 2010) | 5 lines

common.c, common.h: Added LOADFILE_* defines for use with COM_LoadFile,
for easier reading. Added COM_LoadZoneFile(), COM_LoadMallocFile() and
COM_LoadBufFile() from uhexen2. Added comments after their prototypes
in common.h.

------------------------------------------------------------------------
r360 | sezero | 2010-12-31 09:05:44 +0000 (Fri, 31 Dec 2010) | 3 lines

Mod_LoadLighting:  free the allocated hunk memory in case of broken or
unsupported lit file.

------------------------------------------------------------------------
r359 | sezero | 2010-12-31 07:55:43 +0000 (Fri, 31 Dec 2010) | 4 lines

applied a better fix for the infamous "SV_TouchLinks: next != l->next" problem.
Fixes "whiteroom" (http://www.quaddicted.com/reviews/whiteroom.html) completely
locking the engine. fix from the quakeforge sources.

------------------------------------------------------------------------
r358 | sezero | 2010-12-30 23:30:42 +0000 (Thu, 30 Dec 2010) | 2 lines

W_LoadWadFile: free wad_base only if it isn't NULL.

------------------------------------------------------------------------
r357 | sezero | 2010-12-30 23:28:08 +0000 (Thu, 30 Dec 2010) | 2 lines

killed all references to Draw_BeginDisc

------------------------------------------------------------------------
r356 | sezero | 2010-12-30 21:10:26 +0000 (Thu, 30 Dec 2010) | 9 lines

sync several sound-related files with uhexen2 a little:  move 
DEFAULT_SOUND_PACKET_VOLUME and DEFAULT_SOUND_PACKET_ATTENUATION
from sound.h to protocol.h. remove unused gamealive, soundalive
and splitbuffer members from the dma_t structure. make SNDDMA_Init()
to take a dma_t* parameter and make sn static to snd_dma.c. copy
over LordHavoc's S_StartSound skip calculation fixes from uhexen2.
make many functions/data static to their respective files. many
whitespace/formatting clean-ups.

------------------------------------------------------------------------
r355 | sezero | 2010-12-30 17:11:28 +0000 (Thu, 30 Dec 2010) | 23 lines

backports from uhexen2 source, preparing for streaming music support:
* snd_mix.c: Increased PAINTBUFFER_SIZE from 512 to 2048.
* snd_mix.c: snd_vol is static now. it is calculated in S_PaintChannels and
  only used in SND_PaintChannelFrom16. all its other uses are removed from
  Snd_WriteLinearBlastStereo16, S_TransferStereo16, S_TransferPaintBuffer.
  The way it was, the sound volume was applied to the whole final contents
  of the paint buffer, but with this new quake2+ way we can add raw samples
  to the paint buffer with its own volume, such as bgmvolume. However, this
  makes the snd_scaletable to be recalculated everytime the sfxvolume is,
  changed, therefore it is adjusted that way to incorporate sfxvolume.
* snd_mix.c: In S_PaintChannels, check against s_rawend and copy from the
  streaming sound source if necessary.
* snd_dma.c: Added old_volume to detect sfxvolume changes. Made S_Update to
  compare it to sfxvolume.value and call SND_InitScaletable() if it changed.
* snd_dma.c: Add new globals s_rawsamples and s_rawend. Reset s_rawend to 0
  in S_ClearBuffer. Add new function S_RawSamples, adapted from quake2 with
  its 8 bit stereo playback fixed.
* snd_dma.c (S_FileExtension): Add new function which returns the given
  sound file's extension including the dot, or NULL.
* q_sound.h: Add new macro MAX_RAW_SAMPLES, defined as 8192. Add externs
  for new globals s_rawsamples and s_rawend. Add prototype for the new
  S_RawSamples and S_FileExtension functions.

------------------------------------------------------------------------
r354 | sezero | 2010-12-30 17:00:19 +0000 (Thu, 30 Dec 2010) | 4 lines

added windows version detection back from original sources
with extra bits from uhexen2. we may use the information some
day.. (or not..)

------------------------------------------------------------------------
r353 | sezero | 2010-12-30 16:50:15 +0000 (Thu, 30 Dec 2010) | 8 lines

backports from uHexen2 tree:
* common.c, common.h: Added new structure fshandle_t. Added new procedures
  FS_fread, FS_fseek, FS_ftell, FS_rewind, FS_feof, FS_ferror and FS_fclose.
  The new FS_*() stdio replacements are necessary if one is to perform non-
  sequential reads on files reopened on pak files because bookkeeping about
  file start/end positions is needed. Allocating and filling in the fshandle_t
  structure is the users' responsibility when the file is initially opened.

------------------------------------------------------------------------
r352 | sezero | 2010-12-30 16:35:16 +0000 (Thu, 30 Dec 2010) | 3 lines

added file_from_pak as a new flobal, made COM_FindFile() to set it properly.
from quakeworld sources.

------------------------------------------------------------------------
r351 | sezero | 2010-12-30 14:55:25 +0000 (Thu, 30 Dec 2010) | 3 lines

Minor cd_sdl.c cleanups from uhexen2. Reorganized cdaudio volume
handling. If volume is 0, don't bother advancing and pause.

------------------------------------------------------------------------
r350 | sezero | 2010-12-30 14:39:12 +0000 (Thu, 30 Dec 2010) | 6 lines

snd_mem.c updates from uhexen2 :
* q_sound.h: add WAV_FORMAT_PCM as a new macro, defined as 1.
* snd_mem.c (S_LoadSound): use WAV_FORMAT_PCM. reject wav files which are
  neither 8 nor 16 bit. reject wav files which have zero samples. report
  the wav file name with the error messages so that they mean something.

------------------------------------------------------------------------
r349 | sezero | 2010-12-30 14:30:52 +0000 (Thu, 30 Dec 2010) | 1 line

renamed sound.h to q_sound.h
------------------------------------------------------------------------
r348 | sezero | 2010-12-26 22:10:44 +0000 (Sun, 26 Dec 2010) | 3 lines

gl_vidnt.c, gl_vidsdl.c: Reformatted GL_CheckExtensions for better readability,
removed the old unused CheckArrayExtensions.

------------------------------------------------------------------------
r347 | sezero | 2010-11-23 06:48:02 +0000 (Tue, 23 Nov 2010) | 3 lines

* sv_main.c (SV_WriteEntitiesToClient): the protocol check must be against
sv.protocol, not sv_protocol.

------------------------------------------------------------------------
r346 | sezero | 2010-11-12 15:51:04 +0000 (Fri, 12 Nov 2010) | 2 lines

SDL_putenv() is problematic in versions <= 1.2.9 so replaced it with plain putenv().

------------------------------------------------------------------------
r345 | sezero | 2010-10-29 14:03:04 +0100 (Fri, 29 Oct 2010) | 2 lines

menu.c: restore the screen size menu item that was removed in rev. 125.

------------------------------------------------------------------------
r344 | sezero | 2010-10-24 15:15:27 +0100 (Sun, 24 Oct 2010) | 2 lines

cmd.c: Fix the unalias command.

------------------------------------------------------------------------
r343 | stevenaaus | 2010-10-24 08:57:46 +0100 (Sun, 24 Oct 2010) | 1 line

more max_edicts stuff (from Sander)
------------------------------------------------------------------------
r342 | stevenaaus | 2010-10-23 22:50:16 +0100 (Sat, 23 Oct 2010) | 1 line

Bump max_edicts for compatibility with WarpSpasm
------------------------------------------------------------------------
r341 | sezero | 2010-10-18 21:39:10 +0100 (Mon, 18 Oct 2010) | 4 lines

* snd_mem.c: Remove prototype for non-existant function S_Alloc().
Remove unused global cache_full_cycle. Comment out unused function
DumpChunks().

------------------------------------------------------------------------
r340 | sezero | 2010-10-11 19:06:11 +0100 (Mon, 11 Oct 2010) | 2 lines

increased default zone memory size to 384kb

------------------------------------------------------------------------
r339 | sezero | 2010-10-04 08:40:12 +0100 (Mon, 04 Oct 2010) | 2 lines

cmd.c (Cmd_Alias_f): replace another occasion of Z_Malloc() + strcpy() by Z_Strdup().

------------------------------------------------------------------------
r338 | stevenaaus | 2010-09-22 10:03:22 +0100 (Wed, 22 Sep 2010) | 1 line

Add quake retexturing project patch
------------------------------------------------------------------------
r337 | sezero | 2010-09-20 09:27:20 +0100 (Mon, 20 Sep 2010) | 2 lines

* console.c, sbar.c: fixed a few format string issues.

------------------------------------------------------------------------
r336 | kristianduske | 2010-09-20 09:11:33 +0100 (Mon, 20 Sep 2010) | 1 line

Added version information to launcher window.
------------------------------------------------------------------------
r335 | kristianduske | 2010-09-20 07:24:15 +0100 (Mon, 20 Sep 2010) | 1 line

Changed signing scripts to use stock openssl over the macports version. Signing and automatic updates now work on OS X.
------------------------------------------------------------------------
r334 | kristianduske | 2010-09-19 17:01:31 +0100 (Sun, 19 Sep 2010) | 2 lines

Updated bundle version and strings to 0.85.4.

------------------------------------------------------------------------
r333 | kristianduske | 2010-09-19 16:40:49 +0100 (Sun, 19 Sep 2010) | 2 lines

Cleaned up two symlinks.

------------------------------------------------------------------------
r332 | kristianduske | 2010-09-19 12:46:03 +0100 (Sun, 19 Sep 2010) | 2 lines

Added Sparkle framework to SVN again. Hope the stupid symlinks don't cause trouble again.

------------------------------------------------------------------------
r331 | kristianduske | 2010-09-19 12:36:13 +0100 (Sun, 19 Sep 2010) | 3 lines

Better Sparkle Update GUI (less intrusive).
Removed Sparkle Framework to sort out SVN problems, will re-add with next commit.

------------------------------------------------------------------------
r330 | sezero | 2010-09-19 10:11:38 +0100 (Sun, 19 Sep 2010) | 2 lines

bumped version to 0.85.4 in the development tree.

------------------------------------------------------------------------
r329 | sezero | 2010-09-19 10:08:36 +0100 (Sun, 19 Sep 2010) | 2 lines

tagging revision 328 as quakespasm-0.85.3

------------------------------------------------------------------------
r328 | stevenaaus | 2010-09-19 02:37:19 +0100 (Sun, 19 Sep 2010) | 1 line

Fix download links in doco
------------------------------------------------------------------------
r327 | stevenaaus | 2010-09-19 02:24:11 +0100 (Sun, 19 Sep 2010) | 1 line

Minor doco update for 0.85.3 release
------------------------------------------------------------------------
r326 | kristianduske | 2010-09-18 10:15:22 +0100 (Sat, 18 Sep 2010) | 1 line

Change build architecture to universal PPC/x86/x86_64.
------------------------------------------------------------------------
r325 | kristianduske | 2010-09-18 10:01:16 +0100 (Sat, 18 Sep 2010) | 1 line

Disabled automatic updates through Sparkle for now due to signing problems.
------------------------------------------------------------------------
r324 | kristianduske | 2010-09-17 14:00:00 +0100 (Fri, 17 Sep 2010) | 1 line

Preparations for 0.85.3 release.
------------------------------------------------------------------------
r323 | kristianduske | 2010-09-17 11:42:00 +0100 (Fri, 17 Sep 2010) | 1 line

Removed Sparkle keys from repository.
------------------------------------------------------------------------
r322 | sezero | 2010-09-01 11:15:49 +0100 (Wed, 01 Sep 2010) | 2 lines

fix dangling symlinks

------------------------------------------------------------------------
r321 | sezero | 2010-09-01 07:10:21 +0100 (Wed, 01 Sep 2010) | 2 lines

makefile comment tweaks

------------------------------------------------------------------------
r320 | sezero | 2010-08-31 17:57:12 +0100 (Tue, 31 Aug 2010) | 2 lines

replaced all usess of vsprintf by q_vsnprintf

------------------------------------------------------------------------
r319 | sezero | 2010-08-31 15:09:00 +0100 (Tue, 31 Aug 2010) | 3 lines

added q_snprintf and q_vsnprintf from uhexen2. always use our wrapper
versions to ensure consistent behavior accross platforms.

------------------------------------------------------------------------
r318 | sezero | 2010-08-31 13:15:38 +0100 (Tue, 31 Aug 2010) | 2 lines

host_cmd.c: minor tidy up, nothing serious.

------------------------------------------------------------------------
r317 | sezero | 2010-08-31 12:55:55 +0100 (Tue, 31 Aug 2010) | 3 lines

host_cmd.c (Host_Say_f, Host_Tell_f): adjustments, mostly inspired from
the darkplaces engine.

------------------------------------------------------------------------
r316 | sezero | 2010-08-30 14:50:28 +0100 (Mon, 30 Aug 2010) | 2 lines

updated dirent.[ch] from mingw-w64.

------------------------------------------------------------------------
r315 | sezero | 2010-08-30 03:51:21 +0100 (Mon, 30 Aug 2010) | 2 lines

fixed lazy declaration and cleaned up the .bsp extension removal logic.

------------------------------------------------------------------------
r314 | sezero | 2010-08-30 03:15:22 +0100 (Mon, 30 Aug 2010) | 2 lines

remove the defunct cls.mapstring

------------------------------------------------------------------------
r313 | stevenaaus | 2010-08-30 00:03:50 +0100 (Mon, 30 Aug 2010) | 1 line

Remove any trailing ".bsp" from mapname
------------------------------------------------------------------------
r312 | stevenaaus | 2010-08-29 22:37:07 +0100 (Sun, 29 Aug 2010) | 1 line

End of the world commit
------------------------------------------------------------------------
r311 | sezero | 2010-08-29 18:51:38 +0100 (Sun, 29 Aug 2010) | 2 lines

moved CodeBlocks and Visual Studio project files under their own directories.

------------------------------------------------------------------------
r310 | sezero | 2010-08-29 18:50:20 +0100 (Sun, 29 Aug 2010) | 2 lines

pr_edict.c (PR_LoadProgs): silenced a minor compiler warning after the const changes.

------------------------------------------------------------------------
r309 | sezero | 2010-08-29 17:56:00 +0100 (Sun, 29 Aug 2010) | 2 lines

manual update of CodeBlocks project files.

------------------------------------------------------------------------
r308 | sezero | 2010-08-29 17:02:55 +0100 (Sun, 29 Aug 2010) | 3 lines

CDAudio_Next() and CDAudio_Prev() aren't public to the engine and do not
belong in a placeholder like cd_null.c.

------------------------------------------------------------------------
r307 | sezero | 2010-08-29 13:55:41 +0100 (Sun, 29 Aug 2010) | 5 lines

more fixes for deprecated conversion from string constant to char*:
handle the -safe command line switch using a new global safemode,
check for safemode in the related driver init functions and remove
the safeargvs & co from common.c and COM_InitArgv().

------------------------------------------------------------------------
r306 | sezero | 2010-08-29 13:36:03 +0100 (Sun, 29 Aug 2010) | 3 lines

pr_edict.c: changed the type arguments of PR_ValueString() and PR_UglyValueString()
from etype_t to int for C++ compatibility. from uhexen2.

------------------------------------------------------------------------
r305 | sezero | 2010-08-29 13:33:33 +0100 (Sun, 29 Aug 2010) | 2 lines

constified basedir member of quakeparms_t

------------------------------------------------------------------------
r304 | sezero | 2010-08-29 13:27:17 +0100 (Sun, 29 Aug 2010) | 2 lines

pr_comp.h: fixed a harmless typo with DEF_SAVEGLOBAL

------------------------------------------------------------------------
r303 | sezero | 2010-08-29 13:04:19 +0100 (Sun, 29 Aug 2010) | 3 lines

some more constifications and fixes for  deprecated conversion
from string constant to char*

------------------------------------------------------------------------
r302 | sezero | 2010-08-29 12:15:21 +0100 (Sun, 29 Aug 2010) | 2 lines

re-diff'ed the user directories patch. at least it actually applies now.

------------------------------------------------------------------------
r301 | sezero | 2010-08-29 11:22:17 +0100 (Sun, 29 Aug 2010) | 2 lines

added comment in Host_Name_f()

------------------------------------------------------------------------
r300 | sezero | 2010-08-29 03:22:55 +0100 (Sun, 29 Aug 2010) | 2 lines

const correctness changes.

------------------------------------------------------------------------
r299 | sezero | 2010-08-24 11:41:41 +0100 (Tue, 24 Aug 2010) | 3 lines

gl_model.c (Mod_LoadAliasModel, Mod_LoadSpriteModel): add some enum casts
to make things more compatible with C++.

------------------------------------------------------------------------
r298 | sezero | 2010-08-24 11:29:19 +0100 (Tue, 24 Aug 2010) | 2 lines

made the PollProcedure api compatible with C++.

------------------------------------------------------------------------
r297 | stevenaaus | 2010-08-24 11:06:16 +0100 (Tue, 24 Aug 2010) | 1 line

Back out Oz's cd-sdl.c changes
------------------------------------------------------------------------
r296 | sezero | 2010-08-24 10:55:43 +0100 (Tue, 24 Aug 2010) | 2 lines

removed net_serial which was for dosquake only.

------------------------------------------------------------------------
r295 | sezero | 2010-08-24 10:20:19 +0100 (Tue, 24 Aug 2010) | 3 lines

screen.h (canvastype): Added CANVAS_INVALID as a new enumerated value (-1).
gl_draw.c (GL_Set2D): Use CANVAS_INVALID instead of -1.

------------------------------------------------------------------------
r294 | sezero | 2010-08-24 10:11:57 +0100 (Tue, 24 Aug 2010) | 3 lines

main_sdl.c: removed dedicated setup TODO notes. added a new TODO note about
setting up the dedicated server with less memory.

------------------------------------------------------------------------
r293 | sezero | 2010-08-24 10:04:16 +0100 (Tue, 24 Aug 2010) | 3 lines

cd_sdl.c: cleaned up the latest mess a little. restricted track progressing
to the cd player facility only.

------------------------------------------------------------------------
r292 | stevenaaus | 2010-08-24 02:28:40 +0100 (Tue, 24 Aug 2010) | 1 line

cd fix needed fo gameplay
------------------------------------------------------------------------
r291 | stevenaaus | 2010-08-24 01:35:22 +0100 (Tue, 24 Aug 2010) | 1 line

Make "cd play" progress tracks
------------------------------------------------------------------------
r290 | sezero | 2010-08-24 00:46:16 +0100 (Tue, 24 Aug 2010) | 2 lines

* cd_sdl.c (export_cddev_arg): make putevn() actually work.

------------------------------------------------------------------------
r289 | sezero | 2010-08-24 00:20:16 +0100 (Tue, 24 Aug 2010) | 3 lines

* cd_sdl.c (export_cddev_arg): fixed bad snprintf and the crash it was
causing.

------------------------------------------------------------------------
r288 | sezero | 2010-08-23 18:23:39 +0100 (Mon, 23 Aug 2010) | 2 lines

cd_sdl.c:  no need for uhexen2's CVS version identifier to stay here.

------------------------------------------------------------------------
r287 | sezero | 2010-08-23 16:55:54 +0100 (Mon, 23 Aug 2010) | 2 lines

* cd_sdl.c (get_cddev_arg): fix stupid typo in uppercasing.

------------------------------------------------------------------------
r286 | sezero | 2010-08-23 15:32:34 +0100 (Mon, 23 Aug 2010) | 3 lines

* cd_sdl.c (get_cddev_arg): check for null or empty arguments also
for non-windows platforms.

------------------------------------------------------------------------
r285 | sezero | 2010-08-23 15:05:32 +0100 (Mon, 23 Aug 2010) | 19 lines

* cd_sdl.c: Remove unnecessary SDL_getenv.h include.

(CDAudio_Init): Move the bad ugly hack about SDL_CDROM environment
variable into the new export_cddev_arg() helper. FOr the -cddev option,
call the new get_cddev_arg() helper.

(export_cddev_arg): SDL_CDROM environment variable hack moved from
CDAudio_Init() to here. Fixed bad strcat() usage orto the array. Made it
for non-windows platforms only.

(get_cddev_arg): Added for checking the argument to the -cddev option.
For non-windows platforms just return the argument itself. For windows,
arg should be like "D:\", make sure it is so, but tolerate args like "D"
or "D:", as well.

(CDAudio_Next): Make static. Minor cleanups.

(CDAudio_Prev): Make static. Minor cleanups.

------------------------------------------------------------------------
r284 | stevenaaus | 2010-08-23 11:31:00 +0100 (Mon, 23 Aug 2010) | 1 line

cd command tweaks
------------------------------------------------------------------------
r283 | stevenaaus | 2010-08-23 10:49:03 +0100 (Mon, 23 Aug 2010) | 1 line

Add "cd next" and "cd prev" commands. Add a new "-cd" option , which in combination with "-dedicated", allows QS to be a stand-alone cd player... Useful\!
------------------------------------------------------------------------
r282 | stevenaaus | 2010-08-23 05:12:19 +0100 (Mon, 23 Aug 2010) | 1 line

Set SDL_CDROM environment variable when using -cddev. Some doco updates.
------------------------------------------------------------------------
r281 | sezero | 2010-08-20 03:25:22 +0100 (Fri, 20 Aug 2010) | 9 lines

MS Visual Studio support:
* Quake/console.c, net_udp.c: replace snprintf by q_snprintf.
* Quake/common.h: Define q_snprintf as _snprintf for windows and as
snprintf for all others. Likewise for q_vsnprintf. Disable several
MSVC warnings. Define fmin and fmax as min and max macros for MSVC.
* Windows/quakespasm.vcproj, quakespasm.sln: Add Visual Studio 2005
project files.
* Windows/SDL_x64.zip: Add SDL x64 import libraries for MSVC.

------------------------------------------------------------------------
r280 | sezero | 2010-08-17 20:30:35 +0100 (Tue, 17 Aug 2010) | 3 lines

Makefile.w32, Makefile.w64: made them a little bit more flexible by adding
CROSS_COMPILE and TARGET variables.

------------------------------------------------------------------------
r279 | kristianduske | 2010-08-14 23:31:28 +0100 (Sat, 14 Aug 2010) | 1 line

OS X launcher now uses -fullscreen argument to switch into fullscreen mode instead of just omitting the -windowed argument.
------------------------------------------------------------------------
r278 | sezero | 2010-08-14 22:02:31 +0100 (Sat, 14 Aug 2010) | 2 lines

pr_cmds.c (PF_traceline): Added a FIXME note about the NaN issue with certain progs.dat

------------------------------------------------------------------------
r277 | sezero | 2010-08-14 21:55:39 +0100 (Sat, 14 Aug 2010) | 3 lines

added q_stdinc.h, adapted from uhexen2, to tidy up several includes and
macros in one place.

------------------------------------------------------------------------
r276 | sezero | 2010-08-14 21:50:31 +0100 (Sat, 14 Aug 2010) | 2 lines

pr_cmds.c (PF_traceline): fix entity number printing.

------------------------------------------------------------------------
r275 | sezero | 2010-08-14 21:10:20 +0100 (Sat, 14 Aug 2010) | 3 lines

mathlib.h, mathlib.c: changed nanmask from being a global to being
a macro.

------------------------------------------------------------------------
r274 | sezero | 2010-08-14 21:06:06 +0100 (Sat, 14 Aug 2010) | 2 lines

* pr_cmd.c: replaced isnan() calls with quake's own ISNAN() macro.

------------------------------------------------------------------------
r273 | sezero | 2010-08-14 20:44:58 +0100 (Sat, 14 Aug 2010) | 2 lines

added note that the "homedir" patch here is outdated

------------------------------------------------------------------------
r272 | kristianduske | 2010-08-14 20:41:09 +0100 (Sat, 14 Aug 2010) | 1 line


------------------------------------------------------------------------
r271 | stevenaaus | 2010-08-14 12:59:39 +0100 (Sat, 14 Aug 2010) | 1 line

README tweaks
------------------------------------------------------------------------
r270 | stevenaaus | 2010-08-14 08:40:48 +0100 (Sat, 14 Aug 2010) | 1 line

README changes
------------------------------------------------------------------------
r269 | stevenaaus | 2010-08-14 06:01:12 +0100 (Sat, 14 Aug 2010) | 1 line

Miscellaneous doco updates
------------------------------------------------------------------------
r268 | stevenaaus | 2010-08-14 04:59:29 +0100 (Sat, 14 Aug 2010) | 1 line

PF_traceline causes program to die badly if given non-numeric (isnan) vectors. So we must check to not allow this happening. Additionally, stop program execution is developer cvar is set. Note: Compiling program with gcc option \'-ffast-math\' (and more specifically, -funsafe-math-optimizations) is an alternative fix than this patch. It performs FPU opts that gloss over the issue
------------------------------------------------------------------------
r267 | stevenaaus | 2010-08-14 04:42:52 +0100 (Sat, 14 Aug 2010) | 1 line

Swap left and right arrow keys in the videomode menu. (Right arrow now increases resolution, which is more standard)
------------------------------------------------------------------------
r266 | kristianduske | 2010-08-13 13:05:26 +0100 (Fri, 13 Aug 2010) | 1 line

Changed base SDK to 10.4.
------------------------------------------------------------------------
r265 | kristianduske | 2010-08-12 16:41:32 +0100 (Thu, 12 Aug 2010) | 1 line

Mac OS X launcher can be suppressed by passing "-nolauncher" on the command line.
------------------------------------------------------------------------
r264 | kristianduske | 2010-08-12 16:41:15 +0100 (Thu, 12 Aug 2010) | 1 line

Mac OS X launcher can be suppressed by passing "-nolauncher" on the command line.
------------------------------------------------------------------------
r263 | kristianduske | 2010-08-10 18:51:17 +0100 (Tue, 10 Aug 2010) | 1 line

Trying to recover broken XCode project files.
------------------------------------------------------------------------
r262 | sezero | 2010-08-09 15:03:07 +0100 (Mon, 09 Aug 2010) | 2 lines

net_sys.h: update comments and tidy up.

------------------------------------------------------------------------
r261 | kristianduske | 2010-08-09 13:44:44 +0100 (Mon, 09 Aug 2010) | 1 line

Replaced SDL network driver with BSD driver for Mac OS X.
------------------------------------------------------------------------
r260 | sezero | 2010-08-09 13:20:39 +0100 (Mon, 09 Aug 2010) | 7 lines

struct sockaddr has unsigned char sa_len as the first member in BSD
in BSD variants and the family member is also an unsigned char instead
of (unsigned) short. So we define HAVE_SA_LEN for those BDS variants
and check for the offsetof for the sa_family member and also change
the struct qsockaddr to mirror that.  This should matter only when
PLATFORM_UNIX is defined.

------------------------------------------------------------------------
r259 | kristianduske | 2010-08-08 20:27:56 +0100 (Sun, 08 Aug 2010) | 1 line

minor change in qsockaddr struct
------------------------------------------------------------------------
r258 | kristianduske | 2010-08-08 20:24:14 +0100 (Sun, 08 Aug 2010) | 1 line

minor change in qsockaddr struct
------------------------------------------------------------------------
r257 | kristianduske | 2010-08-08 20:13:55 +0100 (Sun, 08 Aug 2010) | 1 line

replaced sdl_net driver with udp driver for testing purposes
------------------------------------------------------------------------
r256 | kristianduske | 2010-08-08 14:21:52 +0100 (Sun, 08 Aug 2010) | 1 line

Creating branch.
------------------------------------------------------------------------
r255 | kristianduske | 2010-08-08 14:20:53 +0100 (Sun, 08 Aug 2010) | 1 line

I need to fix the SDL net driver, and to quickly exchange source changes between multiple test computers, I used this branch so trunk does not get polluted with lots of minor commits.
------------------------------------------------------------------------
r254 | kristianduske | 2010-08-08 14:17:35 +0100 (Sun, 08 Aug 2010) | 1 line

Added the Sparkle framework to OS X launcher for automatic updates (this is not entirely ready for release yet).
------------------------------------------------------------------------
r253 | stevenaaus | 2010-08-04 04:09:07 +0100 (Wed, 04 Aug 2010) | 1 line

Add a "prev weapon" menu item (from Sander)
------------------------------------------------------------------------
r252 | sezero | 2010-08-02 20:45:16 +0100 (Mon, 02 Aug 2010) | 2 lines

host_cmd.c, menu.c: sanitize whitespace/formatting.

------------------------------------------------------------------------
r251 | sezero | 2010-08-02 19:28:23 +0100 (Mon, 02 Aug 2010) | 3 lines

menu.c: Added an options enum for the options menu. Added an options menu
entry for mouse look toggling.

------------------------------------------------------------------------
r250 | sezero | 2010-08-02 18:33:03 +0100 (Mon, 02 Aug 2010) | 2 lines

revert incorrect changes to NUM_GAMEOPTIONS and gameoptions_cursor_table from rev. 246.

------------------------------------------------------------------------
r249 | sezero | 2010-08-01 22:11:16 +0100 (Sun, 01 Aug 2010) | 2 lines

gl_mesh.c (BuildTris): worked around a type-punned pointer. adapted from quakeforge.

------------------------------------------------------------------------
r248 | sezero | 2010-08-01 20:22:46 +0100 (Sun, 01 Aug 2010) | 7 lines

* renamed Length() to VectorLength() for consistency with its friends.
* mathlib.c: Removed the unnecessary sqrt() prototype.
(VectorLength): Made it to just return sqrt(DotProduct(arg,arg))
(VectorNormalize): Calculate the length as sqrt(DotProduct(arg,arg)).
* mathlib.h (CLAMP): Renamed the macro arguments from min and max to
_minval and _maxval.

------------------------------------------------------------------------
r247 | stevenaaus | 2010-07-29 07:48:25 +0100 (Thu, 29 Jul 2010) | 1 line

Add a statusbar alpha slider, and change default scr_sbaralpha to 0.95
------------------------------------------------------------------------
r246 | stevenaaus | 2010-07-29 02:52:04 +0100 (Thu, 29 Jul 2010) | 1 line

Link the status bar size to the scale slider, though it's size only increases half as fast
------------------------------------------------------------------------
r245 | stevenaaus | 2010-07-28 08:50:27 +0100 (Wed, 28 Jul 2010) | 1 line

History fixed - Ozkan's newline fix seems ok.
------------------------------------------------------------------------
r244 | stevenaaus | 2010-07-28 08:08:16 +0100 (Wed, 28 Jul 2010) | 1 line

Make some fixes for command line history now that history is persistent
------------------------------------------------------------------------
r243 | stevenaaus | 2010-07-27 22:45:33 +0100 (Tue, 27 Jul 2010) | 1 line

There seems bugs in the command-line code. Revert this "blank newline" fix first, then look for more
------------------------------------------------------------------------
r242 | stevenaaus | 2010-07-26 09:47:11 +0100 (Mon, 26 Jul 2010) | 1 line

-bgvolume switch stays... Allows CD music/ambient music to play while minimized
------------------------------------------------------------------------
r241 | sezero | 2010-07-25 13:20:17 +0100 (Sun, 25 Jul 2010) | 18 lines

Under windows, run the game (windowed), go into a saved game,
press Esc to get the menu, minimize using the mouse on the
window's minimize icon and then restore and you'll have sound
all the same.  HOWEVER: If you minimize by pressing the icon
on the start bar, sound will be lost upon restoring. Or, if
you use alt-tab to get away from the game window the same will
happen. Or, if you run the game fullscreen and use alt-tab to
go to the desktop (alt-tab is the only way I know) you will
lose the sound again.  Here, we are probably are hitting an
SDL_APPACTIVE or SDL_APPINPUTFOCUS event more than once and
since the block counter goes > 1 we are not restoring properly.
For now, making snd_blocked to act as a boolean and not as a
counter fixes the issue.  Hmmm...

* main_sdl.c: Revert revision 238 change, no longer necessary.
* snd_dma.c: Make snd_blocked act as a boolean and not as a
counter.

------------------------------------------------------------------------
r240 | sezero | 2010-07-25 11:36:14 +0100 (Sun, 25 Jul 2010) | 2 lines

made MAXCMDLINE definition public through keys.h.

------------------------------------------------------------------------
r239 | sezero | 2010-07-25 09:28:27 +0100 (Sun, 25 Jul 2010) | 2 lines

Windows/dirent.c: include stddef.h for MSVC to get intptr_t.

------------------------------------------------------------------------
r238 | stevenaaus | 2010-07-23 21:58:04 +0100 (Fri, 23 Jul 2010) | 1 line

(Some?) Win32/64 does not re-enable sound after app is minimized and restored, so (temporarily?) add a -bgsound switch to disable sound being muted
------------------------------------------------------------------------
r237 | stevenaaus | 2010-07-23 21:55:11 +0100 (Fri, 23 Jul 2010) | 1 line

Enable messages and says to be 256 chars long, with a scrolling input line across top of screen. Allow tab button in demos.
------------------------------------------------------------------------
r236 | sezero | 2010-07-15 10:15:42 +0100 (Thu, 15 Jul 2010) | 6 lines

* Windows/dirent.c: For 64 bit compatibility, changed the handle member
of struct DIR from long to intptr_t, which is what _findfirst() returns
and _findnext() and _findclose() accepts, and removed the brain-dead long
casts in the code. This file is probably only used with M$VC, therefore
this doesn't affect gcc/mingw compilations and previous binaries.

------------------------------------------------------------------------
r235 | sezero | 2010-06-26 11:50:40 +0100 (Sat, 26 Jun 2010) | 3 lines

keys.c (History_Shutdown): Don't let it write an empty string to history.txt
if no console commands were used.

------------------------------------------------------------------------
r234 | sezero | 2010-06-26 09:45:40 +0100 (Sat, 26 Jun 2010) | 6 lines

host.c (Host_Init): Do not exec quake.rc for dedicated servers. Instead,
exec autoexec.cfg and stuffcmds in that case. Also moved running the start
map for dedicated servers here.
host_cmd.c (Host_Startdemos_f): Moved running the start map for dedicated
servers to Host_Init().

------------------------------------------------------------------------
r233 | sezero | 2010-06-26 09:16:58 +0100 (Sat, 26 Jun 2010) | 3 lines

host.c (Host_Init): Don't call V_Init, Chase_Init, Key_Init, Con_Init, M_Init,
ExtraMaps_Init and Modlist_Init for dedicated servers either.

------------------------------------------------------------------------
r232 | sezero | 2010-06-26 08:56:28 +0100 (Sat, 26 Jun 2010) | 5 lines

* keys.c (HISTORY_FILE_NAME): define simply as history.txt without
prefixing with a game directory, so that the history file would be
written into the basedir and not affected by dynamic game directory
changes.

------------------------------------------------------------------------
r231 | sezero | 2010-06-26 01:31:12 +0100 (Sat, 26 Jun 2010) | 4 lines

host.c (Host_Shutdown): Write the console command history file only if
not a dedicated server. Same for shutting down the CDAudio and sound
subsystems.

------------------------------------------------------------------------
r230 | sezero | 2010-06-26 01:15:22 +0100 (Sat, 26 Jun 2010) | 4 lines

keys.c (History_Init): Made global again.
(History_Shutdown): Likewise.
keys.h: Added prototypes for History_Init and History_Shutdown.

------------------------------------------------------------------------
r229 | sezero | 2010-06-26 00:55:41 +0100 (Sat, 26 Jun 2010) | 3 lines

* keys.c (History_Init): Make it static. Tidy-up its formatting.
(History_Shutdown): Likewise.

------------------------------------------------------------------------
r228 | stevenaaus | 2010-06-25 14:32:49 +0100 (Fri, 25 Jun 2010) | 1 line

Add Bakers/Ezquakes persistent history feature
------------------------------------------------------------------------
r227 | sezero | 2010-06-22 19:11:00 +0100 (Tue, 22 Jun 2010) | 2 lines

net_udp.c, net_wins.c, net_wipx.c: Add more informative debug messages.

------------------------------------------------------------------------
r226 | sezero | 2010-06-22 19:09:02 +0100 (Tue, 22 Jun 2010) | 2 lines

net_wins.c (WINS_GetLocalAddress): Make sure buff is null terminated.

------------------------------------------------------------------------
r225 | sezero | 2010-06-22 19:05:43 +0100 (Tue, 22 Jun 2010) | 2 lines

net_wins.c (WINS_Init): Fix error return value as INVALID_SOCKET.

------------------------------------------------------------------------
r224 | sezero | 2010-06-22 12:02:13 +0100 (Tue, 22 Jun 2010) | 2 lines

* console.h (Con_DebugLog): Add prototype.

------------------------------------------------------------------------
r223 | sezero | 2010-06-22 12:01:24 +0100 (Tue, 22 Jun 2010) | 23 lines

Reorganize files for platform-specific code:
* sys_sdl_win.c: Copied from sys_sdl.c. Windows-only. Remove unix code.
(Sys_Init): New procedure. Call AllocConsole() and get input and output
handles for dedicated servers.
(Sys_ConsoleInput): Add a windows version.
(Sys_Error): Adjust for the allocated console and use windows api.
Adjust message output. Remove the console timeout, doesn't work somehow.
Just display the console for 3 seconds and then exit. Rely on SDL that
it redirects/logs the stdout/stderr to files.
* sys_sdl_unix.c: Rename from sys_sdl.c. Unix-only. Remove windows code.
(Sys_Init): New procedure.
(Sys_Error): Remove Windows-oriented dedicated server specific code.
Adjust message output.
* sys_sdl.c: Delete.
* sys.h (Sys_Init): Add prototype.
* main_sdl.c (main): Call Sys_Init().
* pl_linux.c (PL_ErrorDialog): Remove terminal printing which Sys_Error
already does.
* pl_osx.m (PL_ErrorDialog): Update from uhexen2.
* pl_win.c: Make icon handle static. whitespace and formatting tidy-up.
* Makefile, Makefile.darwin, Makefile.w32, Makefile.w64: Adjust for the
sys_sdl.c name change to sys_sdl_unix.c and sys_sdl_win.c.

------------------------------------------------------------------------
r222 | sezero | 2010-06-21 17:23:06 +0100 (Mon, 21 Jun 2010) | 5 lines

* net_udp.c (UDP_Read): Remove the get_qsockaddr() helper which came from the
old fitzsdl port, and use the struct qsockaddr *addr argument with typecasting
as in original quake.
(get_qsockaddr): Remove.

------------------------------------------------------------------------
r221 | sezero | 2010-06-21 17:17:17 +0100 (Mon, 21 Jun 2010) | 2 lines

* net_udp.c (UDP_Init): Fix Con_SafePrintf() call.

------------------------------------------------------------------------
r220 | sezero | 2010-06-21 16:24:40 +0100 (Mon, 21 Jun 2010) | 7 lines

net_udp, net_wins, net_wipx network drivers update:
- do not try to set the quake hostname to the machine name if it isn't set.
- use the newly added unix/windows socket api compatibility macros from
net_sys.h: using just an int as the socketfd wasn't a problem without win64
support: the windows SOCKET type is not only unsigned but may actually be
wider (uintptr_t, which is 8 bytes on win64).

------------------------------------------------------------------------
r219 | sezero | 2010-06-21 14:27:30 +0100 (Mon, 21 Jun 2010) | 2 lines

net_sdlnet.c: reverted parts of rev. 197/198.

------------------------------------------------------------------------
r218 | sezero | 2010-06-21 13:27:30 +0100 (Mon, 21 Jun 2010) | 2 lines

net_main.c: more trivialities.

------------------------------------------------------------------------
r217 | sezero | 2010-06-21 13:20:25 +0100 (Mon, 21 Jun 2010) | 2 lines

net_bsd.c, net_dgrm.h, net_loop.c, net_loop.h, net_sdl.c, net_win.c: more trivialities.

------------------------------------------------------------------------
r216 | sezero | 2010-06-21 12:50:21 +0100 (Mon, 21 Jun 2010) | 2 lines

* host_cmd.c, menu.c, sv_main.c: Include net_sys.h (for net_defs.h).

------------------------------------------------------------------------
r215 | sezero | 2010-06-21 12:10:38 +0100 (Mon, 21 Jun 2010) | 14 lines

* Makefile, Makefile.darwin, Makefile.w32, Makefile.w64: Build changes:
The SDL_net driver is now disabled by default and platform-specific network
drivers will be used. To compile for SDL_net, a command like "make SDLNET=1"
must be used, in which case a new preprocessor macro _USE_SDLNET will be
defined in the CFLAGS. For windows targets when not using SDL_net, WINSOCK2
is added as another option: A command line like "make WINSOCK2=1" will enable
WinSock2 api and a new preprocessor macro _USE_WINSOCK2 will be defined in
the CFLAGS. Or, a command line like "make WINSOCK2=0" will disable WinSock2
api and the old WinSock 1.1 api will be used instead. For Win64, WinSock2 is
enabled by default. For Win32, WinSock 1.1 is the default api.
* net_bsd.c, net_dgrm.c, net_loop.c, net_main.c, net_sdl.c, net_sdlnet.c,
net_udp.c, net_win.c, net_wins.c, net_wipx.c: Use the newly added net_sys.h
header. The sys_socket_t type is not in use, yet.

------------------------------------------------------------------------
r214 | sezero | 2010-06-21 11:55:21 +0100 (Mon, 21 Jun 2010) | 2 lines

* arch_def.h, net_sys.h, wsaerror.h: New headers, adapted from uhexen2.

------------------------------------------------------------------------
r213 | sezero | 2010-06-21 11:50:21 +0100 (Mon, 21 Jun 2010) | 8 lines

net_defs.h (net_driver_t): Removed the controlSock member. It is not used
for any purpose in either of Loop, Datagram or Serial drivers. It used to
be assigned the value returned by the Init() procedure of the relevant
driver which is either 0 for success or -1 for failure, therefore there is
no purpose to it at all.
net_main.c (NET_Init): Removed the controlSocket var and adjusted for the
net_driver_t change.

------------------------------------------------------------------------
r212 | sezero | 2010-06-21 11:41:34 +0100 (Mon, 21 Jun 2010) | 2 lines

net_main.c: made static variables and functions static. formatting tidy-ups.

------------------------------------------------------------------------
r211 | sezero | 2010-06-21 11:16:58 +0100 (Mon, 21 Jun 2010) | 4 lines

net_dgrm.c: made the statistic counter variables static. same for the
testPollProcedure and test2PollProcedure varibles and StrAddr, NET_Ban_f,
SendMessageNext, ReSendMessage, PrintStats and NET_Stats_f functions.

------------------------------------------------------------------------
r210 | sezero | 2010-06-21 11:03:10 +0100 (Mon, 21 Jun 2010) | 2 lines

net_dgrm.c: made the packetBuffer struct static.

------------------------------------------------------------------------
r209 | sezero | 2010-06-21 10:58:12 +0100 (Mon, 21 Jun 2010) | 5 lines

* common.c: Renamed the empty Test_f function of johnfitz to FitzTezt_f.
Renamed its associated console command to fitztest.
* net_dgrm.c: Renamed back Net_Test_f to Test_f. Added back the test,
test2 and ban console commands.

------------------------------------------------------------------------
r208 | sezero | 2010-06-21 10:45:24 +0100 (Mon, 21 Jun 2010) | 4 lines

* net_dgrm.c: changed the types of banAddr and banMask to struct in_addr.
changed the type of testAddr in _Datagram_CheckNewConnections() to in_addr_t.
a little formatting tidy-up.

------------------------------------------------------------------------
r207 | sezero | 2010-06-21 10:20:32 +0100 (Mon, 21 Jun 2010) | 3 lines

* net_defs.h, net_udp.c, net_wins.c, net_wipx.c, net_sdlnet.c: prefixed
the members of qsockaddr structure with a "q".

------------------------------------------------------------------------
r206 | sezero | 2010-06-21 10:00:56 +0100 (Mon, 21 Jun 2010) | 4 lines

* net_udp.c: Changed broadcastaddr type to struct sockaddr_in.
* net_wins.c: Likewise.
* net_wipx.c: Changed broadcastaddr type to struct sockaddr_ipx.

------------------------------------------------------------------------
r205 | sezero | 2010-06-20 21:50:27 +0100 (Sun, 20 Jun 2010) | 2 lines

* net_win.c, net_wins.c, net_wipx.c: warning and compilation fixes.

------------------------------------------------------------------------
r204 | sezero | 2010-06-20 18:21:10 +0100 (Sun, 20 Jun 2010) | 22 lines

* net.h: separated the functions and data exported through net.h into two:
net.h now holds all public exports and the new net_defs.h holds the exports
only required by the net layer. besides the net_* files, host_cmd.c and
sv_main.c are the only reasonable foreign importers of net_defs.h: they
require accessing the qsocket_s structure members. The only one that does
not fit is menu.c needing some net exports, but it may be properly handled,
later on.
* net_defs.h: New header.
* host_cmd.c: Include net_defs.h.
* menu.c: Likewise.
* net_bsd.c: Likewise.
* net_dgrm.c: Likewise.
* net_loop.c: Likewise.
* net_main.c: Likewise.
* net_sdl.c: Likewise.
* net_sdlnet.c: Likewise.
* net_udp.c: Likewise.
* net_win.c: Likewise.
* net_wins.c: Likewise.
* net_wipx.c: Likewise.
* sv_main.c: Likewise.

------------------------------------------------------------------------
r203 | sezero | 2010-06-20 16:33:45 +0100 (Sun, 20 Jun 2010) | 6 lines

from uhexen2:
* net_dgrm.c (Datagram_Init): Datagram_Init() must return -1 if it couldn't
initialize any drivers.
* net_main.c (): dedicated servers must error out if no network drivers are
available.

------------------------------------------------------------------------
r202 | sezero | 2010-06-20 16:19:58 +0100 (Sun, 20 Jun 2010) | 2 lines

* net_main.c: added commentary on the driver checks in the code.

------------------------------------------------------------------------
r201 | sezero | 2010-06-20 16:06:26 +0100 (Sun, 20 Jun 2010) | 2 lines

net_main.c (NET_SendToAll): Really change all occurances of state2 to msg_sent.

------------------------------------------------------------------------
r200 | sezero | 2010-06-20 16:00:57 +0100 (Sun, 20 Jun 2010) | 8 lines

* net_main.c: Fix NET_SendToAll() so that it really skips non-connected
clients. While we're at it, change the type of the blocktime argument
to double (the comparison is against a double.) Rename the cryptic
state1 and state2 variables to something more indicative of thei
purpose, ie. msg_init and msg_sent. from uhexen2.
* net.h, host.c, sv_main.c: Adjust for the NET_SendToAll() argument type
change.

------------------------------------------------------------------------
r199 | sezero | 2010-06-20 14:10:52 +0100 (Sun, 20 Jun 2010) | 3 lines

* net_udp.c: Changed myAddr type to in_addr_t.
* net_wins.c: Changed myAddr type to u_long.

------------------------------------------------------------------------
r198 | sezero | 2010-06-20 13:50:51 +0100 (Sun, 20 Jun 2010) | 3 lines

* net_sdlnet.c: Pass "localhost" instead of NULL to SDLNet_ResolveHost().
added some remarks about missing functionality in SDL_net.

------------------------------------------------------------------------
r197 | sezero | 2010-06-20 12:05:28 +0100 (Sun, 20 Jun 2010) | 5 lines

* net_sdlnet.c: Added ASSERT_SOCKETID for paranoid debugging purposes,
disabled by default. Made socket_id() to work in two passes, once for
looking for a match and the next for looking for an empty slot in the
net_sockets[] array. Made it to Sys_Error if there are no empty slots.

------------------------------------------------------------------------
r196 | sezero | 2010-06-20 11:03:05 +0100 (Sun, 20 Jun 2010) | 3 lines

Some more tidy-up and minor fixing in net stuff. Largely trivial. Also
added winquake.h.

------------------------------------------------------------------------
r195 | sezero | 2010-06-19 23:50:48 +0100 (Sat, 19 Jun 2010) | 5 lines

* gl_vidsdl.c, in_sdl.c, main_sdl.c, net_sdlnet.c, pl_linux.c, pl_osx.m,
pl_win.c, sys_sdl.c: Explicitly include SDL.h in the SDL source files. At
present, quakedef.h already includes SDL.h you may never know what would
happen in the future.

------------------------------------------------------------------------
r194 | sezero | 2010-06-19 23:45:18 +0100 (Sat, 19 Jun 2010) | 6 lines

* input.h: Removed the SDL_MAJOR_VERSION guards around BuildKeyMaps() and
Key_Map() prototypes. Made Key_Map() to accept void* argument instead of
SDL_KeyboardEvent* so that the code can compile even without SDL.
* in_sdl.c (Key_Map): Adjusted for argument type change with proper cast
to SDL_KeyboardEvent*. The assembler output is the same as before.

------------------------------------------------------------------------
r193 | sezero | 2010-06-19 21:15:21 +0100 (Sat, 19 Jun 2010) | 3 lines

Makefiles: Removed an obsoleted comment. Added objects for platform-specific
network drivers in commented out form.

------------------------------------------------------------------------
r192 | sezero | 2010-06-19 21:07:04 +0100 (Sat, 19 Jun 2010) | 2 lines

* net_wipx.c, net_wipx.h: added from Fitzquake-0.85 source.

------------------------------------------------------------------------
r191 | sezero | 2010-06-19 19:20:22 +0100 (Sat, 19 Jun 2010) | 9 lines

net_udp.h: Renamed all function argument names as socket to socketid.
net_udp.c: Renamed all function argument names as socket to socketid.
Replaced the inet_addr("127.0.0.1") call with htonl(INADDR_LOOPBACK).
Replaced qboolean _true with int _true.
net.h: Renamed the OpenSocket and CloseSocket function pointers to
Open_Socket and Close_Socket.
net_dgrm.c: Adjusted for Open_Socket and Close_Socket change.
net_sdlnet.c: Made some functions static.

------------------------------------------------------------------------
r190 | sezero | 2010-06-19 18:04:04 +0100 (Sat, 19 Jun 2010) | 2 lines

* net_udp.c: more minor fixes and tidy-ups.

------------------------------------------------------------------------
r189 | sezero | 2010-06-19 17:50:15 +0100 (Sat, 19 Jun 2010) | 3 lines

* sys_sdl.c: Added a Sys_ConsoleInput implementation from uhexen2.
Only for unix for the time being.

------------------------------------------------------------------------
r188 | sezero | 2010-06-19 17:45:38 +0100 (Sat, 19 Jun 2010) | 3 lines

* net_bsd.c: minor whitespace tidy-up.
* net_sdl.c (net_drivers[]): removed duplicated Datagram entry.

------------------------------------------------------------------------
r187 | sezero | 2010-06-19 17:37:28 +0100 (Sat, 19 Jun 2010) | 3 lines

* net_udp.c: Some cleanups & tidy-ups.
* net_bsd.c: Added from original Quake source.

------------------------------------------------------------------------
r186 | sezero | 2010-06-19 15:50:48 +0100 (Sat, 19 Jun 2010) | 2 lines

* main_sdl.c: better dedicated server loop.

------------------------------------------------------------------------
r185 | sezero | 2010-06-19 15:16:05 +0100 (Sat, 19 Jun 2010) | 4 lines

* gl_model.c (Mod_LoadFaces): Do not call GL_SubdivideSurface() in dedicated
servers, otherwise we segfault in SubdividePolygon() at the BoundPoly() call.
This is a workaround, the actual problem is yet to be looked into.

------------------------------------------------------------------------
r184 | sezero | 2010-06-19 15:10:19 +0100 (Sat, 19 Jun 2010) | 2 lines

* main_sdl.c: Skip the SDL_Event stuff in dedicated servers.

------------------------------------------------------------------------
r183 | sezero | 2010-06-19 10:00:22 +0100 (Sat, 19 Jun 2010) | 3 lines

* host_cmd.c (Host_Map_f): Do not call IN_Activate() for dedicated servers.
(Host_Changelevel_f): Likewise.

------------------------------------------------------------------------
r182 | sezero | 2010-06-03 20:03:31 +0100 (Thu, 03 Jun 2010) | 7 lines

-Wshadow fixes:
sv_user.c (SV_WaterMove): use the global wishspeed.
(SV_ReadClientMessage): rename cmd to ccmd.
view.c (forward, right, up): make them local to V_CalcRoll() and not global.
net.h (playername, playercolor): remove externs for the non-existant globals.
r_sprite.c (R_GetSpriteFrame): rename the function's argument to currentent.

------------------------------------------------------------------------
r181 | sezero | 2010-06-03 18:25:24 +0100 (Thu, 03 Jun 2010) | 9 lines

renamed the global channels to snd_channels. removed the global variable
sound_nominal_clip_dist and made it into a macro in snd_dma.c.
snd_dma.c: general whitespace and formatting cleanup.
(S_StaticSound): Explicitly cast vol to int when assigning it to ss->master_vol.
(S_UpdateAmbientSounds): changed the type of vol from float to int. used int
casts in its calculations. added explicit int casts when assigning values to
chan->master_vol.
(S_Update_): added explicit unsigned int casts in endtime calculations.

------------------------------------------------------------------------
r180 | sezero | 2010-06-03 17:38:22 +0100 (Thu, 03 Jun 2010) | 3 lines

renamed cvar variable volume to sfxvolume in order to avoid shadowing.
(console name is still volume, no changes to that.)

------------------------------------------------------------------------
r179 | sezero | 2010-06-03 17:28:30 +0100 (Thu, 03 Jun 2010) | 8 lines

snd_mix.c: General whitespace and formatting tidy up.
(DWORD): Deleted macro.
(S_TransferStereo16): Removed unnecessary pbuf pointer and used shm-> buffer
directly.
(S_TransferPaintBuffer): Removed unnecessary pbuf pointer and used shm-> buffer
directly. Removed the shadowing instance of snd_vol and used the global var.
(S_PaintChannels): Replaced Q_memset with memset.

------------------------------------------------------------------------
r178 | sezero | 2010-06-01 13:10:49 +0100 (Tue, 01 Jun 2010) | 5 lines

gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name.
net_dgrm.c (Net_Test_f): Likewise.
pr_cmds.c (SetMinMaxSize, PF_setsize): Likewise.
pr_exec.c (PR_Profile_f): Likewise.

------------------------------------------------------------------------
r177 | sezero | 2010-06-01 11:55:40 +0100 (Tue, 01 Jun 2010) | 2 lines

gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST.

------------------------------------------------------------------------
r176 | sezero | 2010-05-31 13:10:25 +0100 (Mon, 31 May 2010) | 2 lines

common.h: tweak the qboolean and NULL definitions for __cplusplus. from uhexen2.

------------------------------------------------------------------------
r175 | sezero | 2010-05-31 11:56:27 +0100 (Mon, 31 May 2010) | 7 lines

mathlib.h (max, min): The min and max were declared as inline but
were never defined. Moved them from mathlib.c to here as static
inline functions q_min and q_max. Define min and max as q_min and
q_max.
mathlib.c (max, min): Moved to mathlib.h as q_max and q_min static
inlines.

------------------------------------------------------------------------
r174 | sezero | 2010-05-31 11:55:59 +0100 (Mon, 31 May 2010) | 2 lines

quakedef.h: Define inline as __inline if !__cplusplus && _MSC_VER

------------------------------------------------------------------------
r173 | sezero | 2010-05-31 11:12:00 +0100 (Mon, 31 May 2010) | 2 lines

menu.c (m_return_state, m_quit_prevstate): fixed typo.

------------------------------------------------------------------------
r172 | sezero | 2010-05-31 10:15:50 +0100 (Mon, 31 May 2010) | 5 lines

menu.c (m_return_state): changed type to m_state_e
(m_quit_prevstate): Likewise.
menu.h (m_return_state): added extern declaration.
net_dgrm.c (m_return_state): removed extern declaration.

------------------------------------------------------------------------
r171 | sezero | 2010-05-31 09:01:29 +0100 (Mon, 31 May 2010) | 4 lines

cvar.c (Cvar_RegisterVariable): change the callback function argument type
to cvarcallback_t.
cvar.h (Cvar_RegisterVariable): adjust prototype.

------------------------------------------------------------------------
r170 | sezero | 2010-05-31 08:42:36 +0100 (Mon, 31 May 2010) | 6 lines

host_cmd.c, console.c, gl_draw.c, image.c, gl_model.c, r_sprite.c, cl_parse.c,
gl_warp.c, host.c, gl_mesh.c, gl_sky.c, gl_texmgr.c, cvar.c, sv_main.c, cvar.h,
gl_screen.c, r_brush.c, gl_vidsdl.c, zone.c, cl_main.c, cmd.c, snd_dma.c,
snd_mem.c, common.c, sv_phys.c: Added explicit casts to eliminate -Wc++-compat
warnings.

------------------------------------------------------------------------
r169 | sezero | 2010-05-31 07:39:09 +0100 (Mon, 31 May 2010) | 4 lines

keys.c (Key_SetBinding): Avoid the C++ keyword "new".
pr_cmds.c (PF_normalize, PF_vlen): Likewise.
zone.c (Z_TagMalloc, Cache_Move, Cache_TryAlloc): Likewise.

------------------------------------------------------------------------
r168 | sezero | 2010-05-31 07:27:56 +0100 (Mon, 31 May 2010) | 4 lines

gl_mesh.c: Change the type of used[] array from qboolean to int, because
it is assigned not just true or false values but other integers like "2"
as well, and it would cause a mess if compiled as a C++ source.

------------------------------------------------------------------------
r167 | sezero | 2010-05-21 20:03:17 +0100 (Fri, 21 May 2010) | 3 lines

MacOSX/QuakeSpasm.xcodeproj/
Updated XCode project files from Levent Yavas.

------------------------------------------------------------------------
r166 | sezero | 2010-05-18 15:15:19 +0100 (Tue, 18 May 2010) | 2 lines

sys_sdl.c (Sys_Error): Call Host_Shutdown().

------------------------------------------------------------------------
r165 | sezero | 2010-05-03 16:28:18 +0100 (Mon, 03 May 2010) | 3 lines

quakedef.h: bumped QuakeSpasm version to 3 (0.85.3) for further development
and future releases.

------------------------------------------------------------------------
r164 | sezero | 2010-05-03 16:25:04 +0100 (Mon, 03 May 2010) | 2 lines

tagging revision 163 as quakespasm-0.85.2

------------------------------------------------------------------------
r163 | stevenaaus | 2010-05-02 03:22:24 +0100 (Sun, 02 May 2010) | 1 line

Fix mouse release issue after toggling fullscreen
------------------------------------------------------------------------
r162 | sezero | 2010-04-28 07:42:09 +0100 (Wed, 28 Apr 2010) | 2 lines

host_cmd.c (Host_Startdemos_f): Add missing linefeed in Cbuf_InsertText() call.

------------------------------------------------------------------------
r161 | sezero | 2010-04-27 13:40:19 +0100 (Tue, 27 Apr 2010) | 2 lines

gl_vidnt.c, gl_vidsdl.c: if 0'ed out unused CheckArrayExtensions().

------------------------------------------------------------------------
r160 | sezero | 2010-04-27 13:37:20 +0100 (Tue, 27 Apr 2010) | 2 lines

sys.h, sys_sdl.c: Removed unused Sys_MakeCodeWriteable and Sys_DebugLog.

------------------------------------------------------------------------
r159 | sezero | 2010-04-27 09:24:13 +0100 (Tue, 27 Apr 2010) | 10 lines

console.c: Added LOG_Init() and LOG_Close() as two new procedures, adapted
from uhexen2. Moved debug log initialization from Con_Init() to LOG_Init().
Made Con_DebugLog() to operate without varargs stuff. Log file is written
into host_parms->basedir now, not into a gamedir.
console.h: Added prototypes for LOG_Init() and LOG_Close().
host.c (Host_Init): Added LOG_Init().
(Host_Shutdown): Added LOG_Close().
quakedef.h (quakeparms_t): Moved the typedef to an earlier place before
any of the other quake headers are included.

------------------------------------------------------------------------
r158 | sezero | 2010-04-27 08:15:19 +0100 (Tue, 27 Apr 2010) | 30 lines

main_sdl.c (main): Remove leading linefeed from the init message.
common.c (COM_InitArgv): Move the leading linefeed to the end of message.

Index: main_sdl.c
===================================================================
--- main_sdl.c	(revision 157)
+++ main_sdl.c	(working copy)
@@ -58,7 +58,7 @@
 	if (!parms.membase)
 		Sys_Error ("Not enough memory free; check disk space\n");
 
-	Con_Printf("\nFitzQuake %1.2f (c) John Fitzgibbons\n", FITZQUAKE_VERSION);
+	Con_Printf("FitzQuake %1.2f (c) John Fitzgibbons\n", FITZQUAKE_VERSION);
 	Con_Printf("SDL port (c) Sleepwalkr, Baker\n");
 	Con_Printf("QuakeSpasm %1.2f.%d (c) Ozkan Sezer, Stevenaaus\n", FITZQUAKE_VERSION, QUAKESPASM_VER_PATCH);
 
Index: common.c
===================================================================
--- common.c	(revision 157)
+++ common.c	(working copy)
@@ -1150,7 +1150,7 @@
 	if (n > 0 && com_cmdline[n-1] == ' ')
 		com_cmdline[n-1] = 0; //johnfitz -- kill the trailing space
 
-	Con_Printf("\nCommand line: %s",com_cmdline);
+	Con_Printf("Command line: %s\n", com_cmdline);
 
 	safe = false;
 

------------------------------------------------------------------------
r157 | sezero | 2010-04-26 22:16:50 +0100 (Mon, 26 Apr 2010) | 2 lines

host_cmd.c (Host_Mapname_f): Simplified map name retrieval.

------------------------------------------------------------------------
r156 | sezero | 2010-04-26 21:40:18 +0100 (Mon, 26 Apr 2010) | 5 lines

zone.c: A little whitespace tidy-up here and there.
(hunk_t): Increased name array length to 24. Fixed the strncpy() calls
into that field so that it will be null terminated.
(cache_system_t): Increased name array length to 32.

------------------------------------------------------------------------
r155 | sezero | 2010-04-26 17:55:14 +0100 (Mon, 26 Apr 2010) | 2 lines

sys_sdl.c (Sys_Error): made text3, text4 and text5 into const char arrays.

------------------------------------------------------------------------
r154 | sezero | 2010-04-26 17:30:40 +0100 (Mon, 26 Apr 2010) | 15 lines

Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf,
Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, Con_LogCenterPrint,
Con_NotifyBox, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error,
SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog,
Sys_Error, Sys_Printf, BOPS_Error and va. Added noreturn attribute to
Sys_Error, Sys_Quit, BOPS_Error, PR_RunError, Host_EndGame and Host_Error.
Added format printf attribute to Con_DebugLog, Con_Printf, Con_Warning,
Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, PL_ErrorDialog,
PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf,
Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf and va. Adjusted
Host_Status_f and NET_Ban_f for the new attributes. Fixed broken format
strings in Con_Dump_f, Mod_LoadTexinfo, PR_AllocStringSlots and FloorDivMod.
Defined __attribute__ macros in quakedef.h so that we don't break non-gcc
compilers.

------------------------------------------------------------------------
r153 | sezero | 2010-04-26 15:11:48 +0100 (Mon, 26 Apr 2010) | 4 lines

mathlib.h (VectorNormalizeFast): Use a float/int union instead of type
punning to avoid strict aliasing violations. the compiler used to emit
a warning from rsprite.c:R_DrawSpriteModel() where the macro is used.

------------------------------------------------------------------------
r152 | sezero | 2010-04-26 15:02:37 +0100 (Mon, 26 Apr 2010) | 3 lines

r_alias.c (GL_DrawAliasFrame): Initialize vert2 to vert1 when not lerping,
which avoids a bogus compiler warning.

------------------------------------------------------------------------
r151 | sezero | 2010-04-26 14:47:19 +0100 (Mon, 26 Apr 2010) | 3 lines

gl_model.c (Mod_LoadTextures): If lump->filelen == 0, initialize m to NULL
in order to avoid a bogus compiler warning.

------------------------------------------------------------------------
r150 | sezero | 2010-04-26 14:44:24 +0100 (Mon, 26 Apr 2010) | 3 lines

r_alias.c (GL_DrawAliasFrame): Initialize blend and iblend to 0 when not
lerping, which avoids a bogus compiler warning.

------------------------------------------------------------------------
r149 | sezero | 2010-04-26 14:41:39 +0100 (Mon, 26 Apr 2010) | 4 lines

gl_vidnt.c (VID_SetMode): Initialize stat to false to avoid a compiler warning.
Some whitespace tidy-ups all over.
gl_vidsdl.c (VID_SetMode): Likewise.

------------------------------------------------------------------------
r148 | sezero | 2010-04-26 14:37:56 +0100 (Mon, 26 Apr 2010) | 4 lines

gl_vidsdl.c (VID_Init): If -height is not specified on the command line,
initialize height to width*3/4 which avoids a compiler warning.
gl_vidnt.c (VID_Init): Likewise.

------------------------------------------------------------------------
r147 | sezero | 2010-04-26 14:33:07 +0100 (Mon, 26 Apr 2010) | 4 lines

gl_vidsdl.c (VID_SetMode): If mode setting failed, error out before doing
anything else unnecessary in between.
gl_vidnt.c (VID_SetMode): Likewise.

------------------------------------------------------------------------
r146 | sezero | 2010-04-24 22:27:36 +0100 (Sat, 24 Apr 2010) | 2 lines

removed net_udp.* from XCode project files. added conback.h to them.

------------------------------------------------------------------------
r145 | sezero | 2010-04-24 17:54:55 +0100 (Sat, 24 Apr 2010) | 2 lines

changed SDL conditional in input.h to SDL_MAJOR_VERSION

------------------------------------------------------------------------
r144 | sezero | 2010-04-24 17:25:08 +0100 (Sat, 24 Apr 2010) | 4 lines

moved BuildKeyMaps(), Key_Map() and key_map[] from keys.c to in_sdl.c.
made key_map[] static to in_sdl.c. moved the relevant prototypes to
input.h for SDL builds only.

------------------------------------------------------------------------
r143 | sezero | 2010-04-24 16:55:02 +0100 (Sat, 24 Apr 2010) | 2 lines

Makefiles: tweaked+tidied the objects (based on uhexen2 makefile.)

------------------------------------------------------------------------
r142 | sezero | 2010-04-24 16:21:59 +0100 (Sat, 24 Apr 2010) | 2 lines

renamed main.c to main_sdl.c.

------------------------------------------------------------------------
r141 | sezero | 2010-04-24 15:50:18 +0100 (Sat, 24 Apr 2010) | 3 lines

Makefiles: do not rely on /bin/true. define do_strip as a macro for debug and
non-debug cases and use it, instead. (adapted from tyrquake makefile.)

------------------------------------------------------------------------
r140 | sezero | 2010-04-24 15:01:52 +0100 (Sat, 24 Apr 2010) | 3 lines

added conback to windows codeblocks project file. removed gl_test from
codeblocks project files.

------------------------------------------------------------------------
r139 | sezero | 2010-04-24 14:55:15 +0100 (Sat, 24 Apr 2010) | 2 lines

added conback.c to XCode project files.

------------------------------------------------------------------------
r138 | sezero | 2010-04-24 14:55:00 +0100 (Sat, 24 Apr 2010) | 3 lines

removed gl_test.c


------------------------------------------------------------------------
r137 | sezero | 2010-04-24 14:47:52 +0100 (Sat, 24 Apr 2010) | 2 lines

removed macmini.* from the MacOSX XCode project directory.

------------------------------------------------------------------------
r136 | sezero | 2010-04-24 14:32:50 +0100 (Sat, 24 Apr 2010) | 3 lines

added fitzquake085.txt as a reference doc. split fitzquake080.txt into
the original fitzquake080.txt and fitzquake080sdl.txt.

------------------------------------------------------------------------
r135 | sezero | 2010-04-24 13:55:10 +0100 (Sat, 24 Apr 2010) | 2 lines

updated to Steven's new icon.

------------------------------------------------------------------------
r134 | sezero | 2010-04-24 13:50:52 +0100 (Sat, 24 Apr 2010) | 2 lines

deleted fitzquake512.tga

------------------------------------------------------------------------
r133 | sezero | 2010-04-24 13:48:09 +0100 (Sat, 24 Apr 2010) | 3 lines

renamed several Fitzquake.* files to QuakeSpasm.* and adjusted the places
where they are referenced.

------------------------------------------------------------------------
r132 | sezero | 2010-04-24 13:45:12 +0100 (Sat, 24 Apr 2010) | 3 lines

renamed several Fitzquake.* files to QuakeSpasm.* and adjusted the places
where they are referenced.

------------------------------------------------------------------------
r131 | sezero | 2010-04-24 13:22:25 +0100 (Sat, 24 Apr 2010) | 2 lines

deleted Fitzquake.depend from the codeblocks project directories.

------------------------------------------------------------------------
r130 | sezero | 2010-04-24 13:21:14 +0100 (Sat, 24 Apr 2010) | 3 lines

deleted fitzquake.bmp, fitz_bmp.h and fitzquake.ico, removed their reference
from the relevant source files.

------------------------------------------------------------------------
r129 | sezero | 2010-04-24 12:10:07 +0100 (Sat, 24 Apr 2010) | 3 lines

gl_vidsdl.c, gl_vidnt.c: more sync'ing between gl_vidsdl.c and fitz-0.85
version of gl_vidnt.c.

------------------------------------------------------------------------
r128 | sezero | 2010-04-24 12:08:12 +0100 (Sat, 24 Apr 2010) | 2 lines

menu.c (M_AdjustSliders): Changed all of the second if conditions to else if.

------------------------------------------------------------------------
r127 | sezero | 2010-04-23 11:10:16 +0100 (Fri, 23 Apr 2010) | 2 lines

gl_vidsdl.c: minor editing for a little less diff output against gl_vidnt.c.

------------------------------------------------------------------------
r126 | sezero | 2010-04-23 10:50:44 +0100 (Fri, 23 Apr 2010) | 4 lines

gl_vidnt.c (GL_MTexCoord2fFunc, GL_SelectTextureFunc): these aren't externs
in this file. made it to look like gl_vidsdl.c.
glquake.h: removed commented out multitexture stuff.

------------------------------------------------------------------------
r125 | stevenaaus | 2010-04-23 10:25:13 +0100 (Fri, 23 Apr 2010) | 1 line

Change the "screen size" slider to a scale slider
------------------------------------------------------------------------
r124 | stevenaaus | 2010-04-23 10:04:26 +0100 (Fri, 23 Apr 2010) | 1 line

Add conback files to *nix codeblocks project
------------------------------------------------------------------------
r123 | sezero | 2010-04-23 08:25:39 +0100 (Fri, 23 Apr 2010) | 2 lines

gl_vidsdl.c: fixed copy+paste error from rev. 119.

------------------------------------------------------------------------
r122 | sezero | 2010-04-23 07:55:20 +0100 (Fri, 23 Apr 2010) | 3 lines

gl_vidsdl.c (VID_Restart): make sure that scr_conscale.value is positive
in conwidth and conheight recalculation (fitzquake-0.85 change).

------------------------------------------------------------------------
r121 | sezero | 2010-04-23 07:52:27 +0100 (Fri, 23 Apr 2010) | 3 lines

gl_vidsdl.c (VID_Menu_RebuildBppList): if there are no valid fullscreen
bpps for this width/height, just pick one (fitzquake-0.85 change).

------------------------------------------------------------------------
r120 | sezero | 2010-04-23 07:48:36 +0100 (Fri, 23 Apr 2010) | 2 lines

gl_vidsdl.c: Several Cvar_Set weirdness tidy-ups from fitzquake-0.85.

------------------------------------------------------------------------
r119 | sezero | 2010-04-23 07:43:24 +0100 (Fri, 23 Apr 2010) | 3 lines

gl_vidsdl.c: Several Con_Printf("WARNING: ....") to Con_Warning("....")
changes from fitzquake-0.85.

------------------------------------------------------------------------
r118 | sezero | 2010-04-23 07:24:51 +0100 (Fri, 23 Apr 2010) | 3 lines

sv_main.c (localmodels): Bumped array size from 5 to 6 in order for it
to operate correctly with the raised limits of fitzquake-0.85.

------------------------------------------------------------------------
r117 | sezero | 2010-04-22 20:02:29 +0100 (Thu, 22 Apr 2010) | 45 lines

make the code to compile with -fno-common flag:
glquake.h (dev_stats): Add extern.
(dev_peakstats): Likewise.
(dev_overflows): Likewise.
(lightmap_textures): Likewise.
(gl_warpimagesize): Likewise.
(r_drawflat_cheatsafe): Likewise.
(r_fullbright_cheatsafe): Likewise.
(r_lightmap_cheatsafe): Likewise.
(r_drawworld_cheatsafe): Likewise.
gl_texmgr.h (notexture): Likewise.
(nulltexture): Likewise.
(d_8to24table): Likewise.
(d_8to24table_fbright): Likewise.
(d_8to24table_nobright): Likewise.
(d_8to24table_conchars): Likewise.
(d_8to24table_shirt): Likewise.
(d_8to24table_pants): Likewise.
gl_screen.c (sb_lines): Remove and make it live only in sbar.c.
(vid): Remove and make it live only in gl_vid*.c
gl_vidsdl.c (m_state): Remove and make it live only in menu.c.
gl_vidnt.c (m_state): Likewise.
net_dgrm.c (m_state): Remove extern declaration.
menu.c (m_state): Tagged the m_state enum as m_state_e and moved it to menu.h.
Declared m_state as enum m_state_e.
menu.h (enum m_state_e): Moved from menu.c to here.
(m_state): Added extern declaration.
gl_rmain.c (r_drawflat_cheatsafe): Made the global to live here.
(r_fullbright_cheatsafe): Likewise.
(r_lightmap_cheatsafe): Likewise.
(r_drawworld_cheatsafe): Likewise.
gl_warp.c (gl_warpimagesize): Likewise.
host.c (dev_stats): Likewise.
(dev_peakstats): Likewise.
(dev_overflows): Likewise.
gl_texmgr.c (notexture): Likewise.
(nulltexture): Likewise.
(d_8to24table): Likewise.
(d_8to24table_fbright): Likewise.
(d_8to24table_nobright): Likewise.
(d_8to24table_conchars): Likewise.
(d_8to24table_shirt): Likewise.
(d_8to24table_pants[): Likewise.
r_brush.c (lightmap_textures): Likewise.

------------------------------------------------------------------------
r116 | sezero | 2010-04-22 19:32:26 +0100 (Thu, 22 Apr 2010) | 3 lines

menu.c (M_Quit_Draw): updated the authors string and tweaked the string
length calculation by dropping some sprintf() and strlen() calls.

------------------------------------------------------------------------
r115 | sezero | 2010-04-22 18:25:49 +0100 (Thu, 22 Apr 2010) | 1 line

set properties for Makefile.darwin.
------------------------------------------------------------------------
r114 | stevenaaus | 2010-04-22 01:30:57 +0100 (Thu, 22 Apr 2010) | 1 line

Add OSX makefile
------------------------------------------------------------------------
r113 | stevenaaus | 2010-04-22 01:27:14 +0100 (Thu, 22 Apr 2010) | 1 line

Make conspeed cvar persistent
------------------------------------------------------------------------
r112 | stevenaaus | 2010-04-22 01:25:31 +0100 (Thu, 22 Apr 2010) | 1 line

A few QuakeSpasm name fixes
------------------------------------------------------------------------
r111 | sezero | 2010-03-27 13:50:43 +0000 (Sat, 27 Mar 2010) | 2 lines

New quakespasm icon from Steven.

------------------------------------------------------------------------
r110 | sezero | 2010-03-09 14:15:34 +0000 (Tue, 09 Mar 2010) | 2 lines

sv_main.c (SV_SpawnServer): made the dummy array 8 bytes long.

------------------------------------------------------------------------
r109 | sezero | 2010-03-09 14:11:10 +0000 (Tue, 09 Mar 2010) | 4 lines

Don't explicitly expose pr_strings to the whole engine, make it static
to pr_edict.c. Assign a static array of zeroes to sv.model_precache[0]
and sv.sound_precache[0], instead of pr_strings, in sv_main.c.

------------------------------------------------------------------------
r108 | sezero | 2010-03-09 12:03:08 +0000 (Tue, 09 Mar 2010) | 2 lines

zone.c (Z_Realloc): Fixed the old_size value.

------------------------------------------------------------------------
r107 | sezero | 2010-03-07 07:35:39 +0000 (Sun, 07 Mar 2010) | 2 lines

gl_vidsdl.c (VID_Init): Removed the gldir variable, not used anymore.

------------------------------------------------------------------------
r106 | sezero | 2010-03-07 07:27:54 +0000 (Sun, 07 Mar 2010) | 3 lines

gl_vidsdl.c (VID_Init): Removed creation of the 'glquake' directory. Not
used for quite some time.

------------------------------------------------------------------------
r105 | sezero | 2010-03-06 21:03:03 +0000 (Sat, 06 Mar 2010) | 3 lines

net_dgrm.c (Strip_Port): rewrote it to not modify its input string and
return its own copy, which I feel safer with. Adjusted its callers.

------------------------------------------------------------------------
r104 | sezero | 2010-03-06 14:20:46 +0000 (Sat, 06 Mar 2010) | 5 lines

det_dgrm.c (_Datagram_Connect): Added error feedback when we could not
resolve the given host name.
(Test_f): Likewise.
(Test2_f): Likewise.

------------------------------------------------------------------------
r103 | sezero | 2010-03-06 14:10:37 +0000 (Sat, 06 Mar 2010) | 7 lines

det_dgrm.c (Strip_Port): New proc stripping off port from the given host
name and assining the new port number to net_hostport. based on ProQuake
code. This makes a command line like "+connect ip:port" work.
(Test_f): Call Strip_Port().
(Test2_f): Likewise.
(Datagram_Connect): Likewise.

------------------------------------------------------------------------
r102 | sezero | 2010-03-06 13:35:05 +0000 (Sat, 06 Mar 2010) | 3 lines

common.c (COM_Parse): commented out the check for ':' in regular word parsing
so that a command line like "+connect ip:port2 works.

------------------------------------------------------------------------
r101 | sezero | 2010-03-06 10:48:18 +0000 (Sat, 06 Mar 2010) | 3 lines

net_dgrm.c (_Datagram_Connect): fix the printf call in the CCREP_REJECT case.
manually null terminate the reason string buffer.

------------------------------------------------------------------------
r100 | sezero | 2010-03-06 10:29:43 +0000 (Sat, 06 Mar 2010) | 3 lines

net_sdlnet.c (SDLN_GetAddrFromName): use net_hosport instead of hardcoded
26000 in the SDLNet_ResolveHost() call.

------------------------------------------------------------------------
r99 | stevenaaus | 2010-03-05 22:12:23 +0000 (Fri, 05 Mar 2010) | 1 line

S.A. history fixes
------------------------------------------------------------------------
r98 | sezero | 2010-03-05 16:11:06 +0000 (Fri, 05 Mar 2010) | 5 lines

cl_main.c (CL_EstablishConnection): Send a clc_nop at the end of the function.
This has been referred to by Baker as the NAT fix of ProQuake. Applied upon
Steven's suggestion and it made me able to connect to bigfoot.quake1.net:26001
too.

------------------------------------------------------------------------
r97 | sezero | 2010-03-01 23:10:13 +0000 (Mon, 01 Mar 2010) | 3 lines

main.c (main): Block/Unblock sound upon focus loss/gain, implemented
under the SDL_ACTIVEEVENT case.

------------------------------------------------------------------------
r96 | sezero | 2010-03-01 12:50:12 +0000 (Mon, 01 Mar 2010) | 9 lines

quakedef.h (quakeparms_t): removed the cachedir member which doesn't serve
any purpose for quite some time. added userdir as a new member, user's
directory on UNIX platforms. if user directories are enabled, basedir
and userdir will point to different memory locations, otherwise to the same.
this member will be enabled/used later.
common.c: removed all references to cachedir and com_cachedir which don't
serve any purpose for quite some time.
main (main): removed assingment to cachedir member.

------------------------------------------------------------------------
r95 | sezero | 2010-03-01 11:55:13 +0000 (Mon, 01 Mar 2010) | 5 lines

common.c (com_basedir): added new global char array.
(COM_InitFilesystem): used global com_basedir instead of the automatic
basedir variable.
common.h (com_basedir): added extern.

------------------------------------------------------------------------
r94 | sezero | 2010-03-01 11:35:28 +0000 (Mon, 01 Mar 2010) | 3 lines

gl_screen.c (SCR_ScreenShot_f): Changed screenshot name to spasmXXXX.tga
as suggested by Piotr Szymaniak.

------------------------------------------------------------------------
r93 | sezero | 2010-03-01 10:44:59 +0000 (Mon, 01 Mar 2010) | 3 lines

console.c (BuildMapList, Con_TabComplete): fix sporadic erratic behaviour
with map name completion. from Steven.

------------------------------------------------------------------------
r92 | sezero | 2010-03-01 10:28:12 +0000 (Mon, 01 Mar 2010) | 4 lines

common.c (va): made va() to cycle between four static buffers so that we
can call it one after another. will be needed later.
(get_va_buffer): new helper for va().

------------------------------------------------------------------------
r91 | sezero | 2010-02-27 09:32:44 +0000 (Sat, 27 Feb 2010) | 2 lines

quakedef.h: incremented QuakeSpasm version to 0.2 (0.85.2)

------------------------------------------------------------------------
r90 | sezero | 2010-02-27 09:03:22 +0000 (Sat, 27 Feb 2010) | 3 lines

host_cmd.c (ExtraMaps_Add): Fix the list sorting.
(Modlist_Add): Likewise.

------------------------------------------------------------------------
r89 | sezero | 2010-02-27 08:58:54 +0000 (Sat, 27 Feb 2010) | 2 lines

host_cmd.c (Modlist_Init): fix the return value check for Q_strcasecmp().

------------------------------------------------------------------------
r88 | sezero | 2010-02-27 08:05:36 +0000 (Sat, 27 Feb 2010) | 4 lines

host_cmd.c (Host_InitCommands): register Host_Mods_f as "games" too, as an
alias to the existing "mods" command. (this was unintentionally applied in
revision 87, sigh...)

------------------------------------------------------------------------
r87 | sezero | 2010-02-27 08:00:57 +0000 (Sat, 27 Feb 2010) | 3 lines

common.c (Q_strncasecmp): fix it so that it properly returns negative and
positive values.

------------------------------------------------------------------------
r86 | sezero | 2010-02-27 07:47:16 +0000 (Sat, 27 Feb 2010) | 2 lines

sys_sdl.c: implemented Sys_mkdir.

------------------------------------------------------------------------
r85 | sezero | 2010-02-27 07:45:12 +0000 (Sat, 27 Feb 2010) | 3 lines

sys_sdl.c: renamed filelength to Sys_filelength in order to avoid conflicts
when compiling for windows.

------------------------------------------------------------------------
r84 | sezero | 2010-02-21 00:01:08 +0000 (Sun, 21 Feb 2010) | 7 lines

bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h,
d_ifacea.h, draw.h, gl_texmgr.h, glquake.h, image.h, input.h, keys.h, mathlib.h,
menu.h, modelgen.h, net.h, net_dgrm.h, net_loop.h, net_sdlnet.h, net_udp.h,
net_wins.h, platform.h, pr_comp.h, progdefs.h, progs.h, protocol.h, quakedef.h,
render.h, resource.h, sbar.h, screen.h, server.h, sound.h, spritegn.h, sys.h,
vid.h, view.h, wad.h, world.h, zone.h: added include guards to the headers.

------------------------------------------------------------------------
r83 | sezero | 2010-02-20 21:36:51 +0000 (Sat, 20 Feb 2010) | 2 lines

tagging revision 79 as quakespasm-0.85.1

------------------------------------------------------------------------
r82 | sezero | 2010-02-20 21:23:09 +0000 (Sat, 20 Feb 2010) | 5 lines

fitzquake.bmp: added new miage file (24 bit, 32*32, converted from
fitzquake.ico)
fitz_bmp.h: new header, dumped bytes from fitzquake.bmp.
pl_linux.c (PL_SetWindowIcon): implemented window icon.

------------------------------------------------------------------------
r81 | sezero | 2010-02-20 21:14:46 +0000 (Sat, 20 Feb 2010) | 5 lines

fitzquake.bmp: added new miage file (24 bit, 32*32, converted from
fitzquake.ico)
fitz_bmp.h: new header, dumped bytes from fitzquake.bmp.
pl_linux.c (PL_SetWindowIcon): implemented window icon.

------------------------------------------------------------------------
r80 | sezero | 2010-02-20 21:04:29 +0000 (Sat, 20 Feb 2010) | 3 lines

pl_linux.c (PL_ErrorDialog): print to stderr. append a '\n' to the message.
updated the todo note.

------------------------------------------------------------------------
r79 | sezero | 2010-02-20 12:01:01 +0000 (Sat, 20 Feb 2010) | 3 lines

gray_big.bmp, gray_big.lmp: added custom conback image files for QuakeSpasm.
mk_header.c : added tiny C source to generate conback.h header from the lmp.

------------------------------------------------------------------------
r78 | sezero | 2010-02-20 09:55:32 +0000 (Sat, 20 Feb 2010) | 7 lines

made loading of embedded custom conback friendly with dynamic gamedirs:
gl_draw.c (Draw_CheckConback): new proc.
 (Draw_Init): moved mod-provided gfx/conback.lmp check form here to
Draw_CheckConback().
draw.h (Draw_CheckConback): added prototype.
gl_texmgr.c (TexMgr_NewGame): call Draw_CheckConback().

------------------------------------------------------------------------
r77 | sezero | 2010-02-20 09:30:14 +0000 (Sat, 20 Feb 2010) | 3 lines

gl_draw.c: search for a mod-provided conback image in Draw_Init time
and cache the result, instead of doing it everytime.

------------------------------------------------------------------------
r76 | sezero | 2010-02-20 08:50:31 +0000 (Sat, 20 Feb 2010) | 13 lines

the custom embedded comback image is intended to replace the id1 image ..
* .. when running in fitz-compatibility mode (-fitz command line switch)
* .. or when the mods themselves did not provide their own conback image
themselves, ie. the "Q" conback image of id1 is just not wanted. So, just
modify/corrupt the gfx/conback.lmp filename in the id1/pak0.pak file list,
achieving the intention that way.
common.c (kill_id1_conback): new QuakeSpasm customization helper.
 (COM_InitFilesystem): call kill_id1_conback() just after adding the id1
directory to the search path when not running in fitzmode.
gl_draw.c (Draw_ConbackPic): when not running in fitzmode, do search for
the gfx/conback.lmp file before loading the embedded custom image to see
whether the mod provided its own conback image.

------------------------------------------------------------------------
r75 | sezero | 2010-02-20 08:29:48 +0000 (Sat, 20 Feb 2010) | 4 lines

console.c (Con_TabComplete): added a workaround after the weirdness that has
been happening with the argument completion for the changelevel command after
the completion changes. from Steven.

------------------------------------------------------------------------
r74 | sezero | 2010-02-20 08:20:20 +0000 (Sat, 20 Feb 2010) | 3 lines

common.c (COM_FindFile): commented out the debug messages about finding
and not finding a file.

------------------------------------------------------------------------
r73 | sezero | 2010-02-20 08:14:30 +0000 (Sat, 20 Feb 2010) | 3 lines

common.c (COM_Init): move the -fitz command line switch check before the
filesystem initialization.

------------------------------------------------------------------------
r72 | sezero | 2010-02-20 01:20:45 +0000 (Sat, 20 Feb 2010) | 3 lines

host_cmd.c (Host_Changelevel_f):  activate mouse input upon changelevel.
(from Steven.)

------------------------------------------------------------------------
r71 | sezero | 2010-02-20 01:10:18 +0000 (Sat, 20 Feb 2010) | 11 lines

cl_main.c (CL_NextDemo): fix for an obscure bug when there are no demos
listed with startdemos: run the game, go into a savegame or start a new
game, type F3 and press Esc enough times to go back to normal view, bring
down the console and enter "timedemo demo1". when the demo ends, the only
thing I was able to *see* was the loading label, no other activity at all,
although I can still do F10 (quit) and blindly press Y to exit the game,
so the engine didn't crash. problem was that CL_NextDemo() didn't check
if an actual nextdemo exists before calling SCR_BeginLoadingPlaque() which
set scr_drawloading to true, so scr_drawloading still remained as true..
fixed thusly.

------------------------------------------------------------------------
r70 | sezero | 2010-02-20 00:25:33 +0000 (Sat, 20 Feb 2010) | 4 lines

snd_mix.c (SND_InitScaletable): fixed the snd_scaletable init breakage with
gcc-4.1 and -O1 and higher From Kevin Shanahan (Tyrann). although the bug is
fixed in gcc, it is safer to have this workaround here.

------------------------------------------------------------------------
r69 | sezero | 2010-02-20 00:20:08 +0000 (Sat, 20 Feb 2010) | 4 lines

gl_model.c (Mod_LoadModel): buf needn't be an unsigned int pointer, made
it into a byte pointer, extracted the mod type from the header by bit shifts.
also removed the unnecessary void pointer variable.

------------------------------------------------------------------------
r68 | sezero | 2010-02-20 00:05:14 +0000 (Sat, 20 Feb 2010) | 4 lines

gl_rmisc.c (R_Envmap_f): the envmap command can only be run when there's something
to render, ie. when connected to a server. besides, the refdef must be restored when
it is completed.

------------------------------------------------------------------------
r67 | sezero | 2010-02-20 00:00:40 +0000 (Sat, 20 Feb 2010) | 2 lines

pr_exec.c (PR_Profile_f): the profile command can only be run when the server is active.

------------------------------------------------------------------------
r66 | sezero | 2010-02-19 23:55:17 +0000 (Fri, 19 Feb 2010) | 3 lines

cmd.c (Cbuf_Execute), net_dgrm.c (Datagram_GetMessage), net_loop.c (Loop_GetMessage):
replaced memcpy calls for overlapping areas with memmove().

------------------------------------------------------------------------
r65 | sezero | 2010-02-19 16:35:13 +0000 (Fri, 19 Feb 2010) | 4 lines

console.c: Steven's patch adding argument completion to map and changelevel
commands.  this is not a true argument completion, only a tiny hack for the
two aforementioned commands.

------------------------------------------------------------------------
r64 | sezero | 2010-02-19 16:28:41 +0000 (Fri, 19 Feb 2010) | 4 lines

console.c: Steven's patch making console command completion display a little
more like bash, showing the maximum matching partial at the first time instead
of auto-completing to the first match.

------------------------------------------------------------------------
r63 | sezero | 2010-02-19 16:18:24 +0000 (Fri, 19 Feb 2010) | 2 lines

gl_vidsdl.c (VID_Toggle): removed extra failure message (left over from commit r62).

------------------------------------------------------------------------
r62 | sezero | 2010-02-19 16:03:45 +0000 (Fri, 19 Feb 2010) | 3 lines

gl_vidsdl.c (VID_Toggle): made it so that when SDL_WM_ToggleFullScreen() fails,
a VID_Restart will be attempted (hoping ~that~ will succeed..)

------------------------------------------------------------------------
r61 | sezero | 2010-02-19 13:32:21 +0000 (Fri, 19 Feb 2010) | 6 lines

use Steven's patch andallow for the 'demos' command to work in !fitzmod :
host_cmd.c (Host_Startdemos_f): reverted rev.50 change. when not fitzmode,
made it to directly go to the menu instead CL_NetxDemo().
menu.c (M_Main_Key): when not fitzmode, do not CL_NextDemo() for K_ESCAPE
case.

------------------------------------------------------------------------
r60 | sezero | 2010-02-19 12:40:45 +0000 (Fri, 19 Feb 2010) | 2 lines

updated the copyleft file from ftp://ftp.gnu.org/gnu/Licenses/COPYING-2.0

------------------------------------------------------------------------
r59 | sezero | 2010-02-19 12:20:09 +0000 (Fri, 19 Feb 2010) | 2 lines

removed the 9.5 MB Icon.psd file.

------------------------------------------------------------------------
r58 | sezero | 2010-02-19 11:55:21 +0000 (Fri, 19 Feb 2010) | 4 lines

menu.c (OPTIONS_ITEMS): keep as 13 and don't define as 14 for windows,
because the SDL port seems to have removed the "use mouse" entry in the
options menu.

------------------------------------------------------------------------
r57 | sezero | 2010-02-19 09:15:23 +0000 (Fri, 19 Feb 2010) | 2 lines

console.c (Con_TabComplete): check for key_tabpartial[0] instead of strlen(key_tabpartial).

------------------------------------------------------------------------
r56 | sezero | 2010-02-18 22:11:26 +0000 (Thu, 18 Feb 2010) | 2 lines

gl_draw.c: fixed several strict aliasing violations about glpic_t.

------------------------------------------------------------------------
r55 | sezero | 2010-02-18 22:02:13 +0000 (Thu, 18 Feb 2010) | 4 lines

Makefile.w32, Makefile.w64: now that net_sdlnet.c is properly cleaned up
and is not messing with socket api functions, windows versions no longer
need linking to wsock32.dll or ws2_32.dll.

------------------------------------------------------------------------
r54 | sezero | 2010-02-18 21:56:10 +0000 (Thu, 18 Feb 2010) | 11 lines

net_sdlnet.c: cleanup and warning fixes: automatic changing of the "hostname"
cvar according to internet hostname has been removed. SDL_net doesn't provide
and equivalent of gethostname() and mixing APIs is not a good idea. servers
will be called "UNNAMED" if they don't set it themselves. Also removed the
inet_addr("127.0.0.1") call and replaced it with SDL_SwapBE32(INADDR_LOOPBACK).
defined INADDR_LOOPBACK as 0x7f000001 if not already defined. properly guarded
the AF_INET and MAXHOSTNAMELEN definitions to be on the safe side. replaced
all variables named 'socket' to 'socket_p' so as to avoid confusions with the
socket api. fixed two strict aliasing violations in SDLN_OpenSocket() and
SDLN_GetSocketAddr().

------------------------------------------------------------------------
r53 | sezero | 2010-02-18 16:55:28 +0000 (Thu, 18 Feb 2010) | 5 lines

gl_draw.c (Draw_ConbackPic): new proc for drawing the normal conback image
in fitzmode mode otherwise drawing the custom QuakeSpasm conback from memory.
(Draw_ConsoleBackground): use the new Draw_ConbackPic().
Makefile, Makefile.w32, Makefile.w64: added conback.c to the build.

------------------------------------------------------------------------
r52 | sezero | 2010-02-18 16:45:28 +0000 (Thu, 18 Feb 2010) | 2 lines

conback.c, conback.h: added new QuakeSpasm conback data.

------------------------------------------------------------------------
r51 | sezero | 2010-02-18 16:00:34 +0000 (Thu, 18 Feb 2010) | 3 lines

draw.h, gl_draw.c, gl_vidsdl.c: removed my recently added Draw_ClearMenuPicCache()
helper. not necessary at all.

------------------------------------------------------------------------
r50 | sezero | 2010-02-18 12:55:19 +0000 (Thu, 18 Feb 2010) | 9 lines

Steven's customizations:
host_cmd.c (Host_Startdemos_f): if not running in fitzmode, don't add demos
to the loop and set cls.demonum.to -1.
menu.c (M_Draw): if not running in fitzmode, quit immediately without the
dialog for the m_quit case.
sbar.c (Sbar_SoloScoreboard): restored the original behavior depending on
whether we are running in fitzmode.
Marked the code with /* QuakeSpasm customization: */ in those places.

------------------------------------------------------------------------
r49 | sezero | 2010-02-18 12:14:51 +0000 (Thu, 18 Feb 2010) | 2 lines

Makefile, Makefile.w32, Makefile.w64: renamed the binary name to quakespasm[.exe]

------------------------------------------------------------------------
r48 | sezero | 2010-02-18 12:00:31 +0000 (Thu, 18 Feb 2010) | 2 lines

common.c (COM_Init): updated endianism check.

------------------------------------------------------------------------
r47 | sezero | 2010-02-18 11:45:18 +0000 (Thu, 18 Feb 2010) | 3 lines

common.c, common.h: added check for '-fitz' command line switch which, if true,
makes quakespasm to run in fitzquake mode and disable custom quakespasm hacks.

------------------------------------------------------------------------
r46 | sezero | 2010-02-18 11:33:12 +0000 (Thu, 18 Feb 2010) | 4 lines

in_sdl.c: made total_dx, total_dy and FilterMouseEvents() static. added
a boolean no_mouse. added check for '-nomouse' command line switch which
disables all mouse events.

------------------------------------------------------------------------
r45 | sezero | 2010-02-18 10:33:33 +0000 (Thu, 18 Feb 2010) | 4 lines

main.c (main): Fixed the utterly broken SDL active event mask usage. In
its original form, gcc rightfully considered that case a dead code even
when not optimizing. Commented out the contents of the case for now.

------------------------------------------------------------------------
r44 | sezero | 2010-02-17 23:37:24 +0000 (Wed, 17 Feb 2010) | 3 lines

gl_vidsdl.c (VID_MenuKey): fixed a typo: cursor position 4 controls vid_vsync,
not vid_fullscreen.

------------------------------------------------------------------------
r43 | sezero | 2010-02-17 23:32:04 +0000 (Wed, 17 Feb 2010) | 4 lines

console.c, gl_vidsdl.c, host_cmd.c, in_sdl.c, main.c, menu.c, net_sdl.c,
net_sdlnet.c, sys_sdl.c: a lot of space-to-tab whitespace tidy-ups in the
files created or touched by the SDL port. no actual code change.

------------------------------------------------------------------------
r42 | sezero | 2010-02-17 19:23:00 +0000 (Wed, 17 Feb 2010) | 4 lines

Makefile.w32, Makefile.w64: make sure to link to the correct winsock
library, which must be what SDL_net.dll is already linked to, which is
wsock32.dll for win32, and ws2_32.dll for win64 (mingw-w64.)

------------------------------------------------------------------------
r41 | sezero | 2010-02-17 16:40:41 +0000 (Wed, 17 Feb 2010) | 3 lines

Makefile.w64: now that native amd64 builds work, added a Win64 makefile for
cross-compilation using mingw-w64.

------------------------------------------------------------------------
r40 | sezero | 2010-02-17 16:39:20 +0000 (Wed, 17 Feb 2010) | 3 lines

pl_win.c: Fixed for win64 (GCL_HICON is deprecated, use GCLP_HICON and
SetClassLongPtr.)

------------------------------------------------------------------------
r39 | sezero | 2010-02-17 15:25:25 +0000 (Wed, 17 Feb 2010) | 2 lines

Makefile, Makefile.w32: now that native amd64 builds work, adjusted for CPUFLAGS.

------------------------------------------------------------------------
r38 | sezero | 2010-02-17 15:04:50 +0000 (Wed, 17 Feb 2010) | 23 lines

64 bit compatibility effort, 4/nn:  x86_64 works just fine now, yey!
the QuakeC interpreter used to use string pointer offsets from pr_strings
even when the pointers lead to engine data which is often well out of
32bit range on a 64bit architecture and they lead to crashes.  they now
go through the new PR_SetEngineString and PR_GetString functions which
turn any address outside the pr_strings area into an index into a table
of engine string addresses, adding new string addresses to the table as
needed. the engine strings table is allocated with 256 entries at first
(see the PR_STRING_ALLOCSLOTS definition in pr_edict.c) and its size is
incremented by 256 as needed and re-allocated on the zone. managing that
allocation and reallocation is accomplished by the recently added Z_Realloc
function. implementation based on the uhexen2 (hexen2: hammer of thyrion)
engine which, in turn, is loosely based on twilight and quakeforge engines.
pr_strings range check is from tyrquake.
pr_edict.c: added the new PR_SetEngineString, PR_GetString, PR_AllocString
public functions and the new private PR_AllocStringSlots function. made
ED_NewString private to pr_edict.c and reworked it to return an index to a
newly allocated string.
progs.h: added prototypes for the new public PR_SetEngineString, PR_GetString
and PR_AllocString functions.
host_cmd.c, pr_cmds.c, pr_edict.c, pr_exec.c, progs.h, sv_main.c, sv_phys.c:
modifed to use the new PR_SetEngineString and PR_GetString functions.

------------------------------------------------------------------------
r37 | sezero | 2010-02-17 11:05:24 +0000 (Wed, 17 Feb 2010) | 2 lines

pr_cmds.c (pr_builtin): made static.

------------------------------------------------------------------------
r36 | sezero | 2010-02-17 11:03:34 +0000 (Wed, 17 Feb 2010) | 3 lines

pr_cmds.c: changed pr_string_temp to cycle between 16 static buffers in
order to handle many prints in ftos and vtos calls.

------------------------------------------------------------------------
r35 | sezero | 2010-02-17 07:28:44 +0000 (Wed, 17 Feb 2010) | 4 lines

64 bit compatibility effort, 3/nn:
pr_edict.c (type_size): make it 1, not sizeof(void*)/4, because quake progs
is strictly 32 bits where sizeof(void*) is 4.

------------------------------------------------------------------------
r34 | sezero | 2010-02-16 21:26:11 +0000 (Tue, 16 Feb 2010) | 5 lines

64 bit compatibility effort, 2/nn: type correctness work in common.h,
gl_draw.c, gl_model.c, gl_sky.c, gl_texmgr.c, gl_texmgr.h, r_alias.c,
r_brush.c, r_part.c, r_world.c, snd_mem.c.  next step will be server
side (progs) work which is actually the heart of the problems.

------------------------------------------------------------------------
r33 | sezero | 2010-02-16 21:22:20 +0000 (Tue, 16 Feb 2010) | 5 lines

64 bit compatibility effort, 1/nn: type correctness work in common.c,
common.h, gl_vidsdl.c, mathlib.h, zone.c, zone.h. added Z_Realloc as a
new function (will be used later.) next step will be type correctness
work in opengl stuff.

------------------------------------------------------------------------
r32 | sezero | 2010-02-16 15:54:59 +0000 (Tue, 16 Feb 2010) | 2 lines

renamed the "Mac OS X" directory to MacOSX (without spaces).

------------------------------------------------------------------------
r31 | sezero | 2010-02-16 15:39:06 +0000 (Tue, 16 Feb 2010) | 2 lines

host_cmd.c (Host_Changelevel_f): get rid of console or menu (key_dest = key_game).

------------------------------------------------------------------------
r30 | sezero | 2010-02-16 14:48:23 +0000 (Tue, 16 Feb 2010) | 3 lines

console.c (Con_DrawConsole): Change engine/version string to QuakeSpasm,
use the QUAKESPASM_VER_PATCH to append to the FITZQUAKE_VERSION.

------------------------------------------------------------------------
r29 | sezero | 2010-02-16 14:45:40 +0000 (Tue, 16 Feb 2010) | 4 lines

quakedef.h (QUAKESPASM_VERSION): define as 0.1 for now.
(QUAKESPASM_VER_PATCH): define as 1 for now (helper to print a string like
0.85.1)

------------------------------------------------------------------------
r28 | sezero | 2010-02-16 14:21:11 +0000 (Tue, 16 Feb 2010) | 3 lines

sbar.c (Sbar_SoloScoreboard): modified to include the map name and 
skill. (patch by Steven, modified to utilize cl.mapname by OZ.)

------------------------------------------------------------------------
r27 | sezero | 2010-02-16 13:02:22 +0000 (Tue, 16 Feb 2010) | 2 lines

common.c, common.h: constified the replacement string library functions.

------------------------------------------------------------------------
r26 | sezero | 2010-02-16 12:51:25 +0000 (Tue, 16 Feb 2010) | 3 lines

cd_sdl.c: replaced the stub with the implementation we have in the uhexen2 project.
cd_null.c: added new file.

------------------------------------------------------------------------
r25 | sezero | 2010-02-16 12:32:26 +0000 (Tue, 16 Feb 2010) | 2 lines

main.c (main): Print version information at startup.

------------------------------------------------------------------------
r24 | sezero | 2010-02-16 12:24:38 +0000 (Tue, 16 Feb 2010) | 2 lines

gl_sky.c, r_alias.c, r_part.c, r_world.c: added newline at the end of the files.

------------------------------------------------------------------------
r23 | sezero | 2010-02-16 12:16:07 +0000 (Tue, 16 Feb 2010) | 4 lines

draw.h: Added prototype for the new Draw_ClearMenuPicCache().
gl_draw.c (Draw_ClearMenuPicCache): VID_Restart procedures does not seem to
clear the menu picture cache. Added this new tiny helper to do that job.
gl_vidsdl.c (VID_Restart): do call Draw_ClearMenuPicCache().
------------------------------------------------------------------------
r22 | sezero | 2010-02-16 12:05:29 +0000 (Tue, 16 Feb 2010) | 3 lines

main.c (main): The Shift+ESC console key bing is not restricted to LSHIFT
any more: changed the mask from KMOD_LSHIFT to KMOD_SHIFT.

------------------------------------------------------------------------
r21 | sezero | 2010-02-16 12:01:07 +0000 (Tue, 16 Feb 2010) | 12 lines

chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h,
cvar.h, draw.h, gl_draw.c, gl_fog.c, gl_mesh.c, gl_model.c, gl_model.h,
gl_rmain.c, gl_rmisc.c, gl_screen.c, gl_sky.c, gl_texmgr.c, glquake.h,
host.c, keys.c, keys.h, main.c, menu.c, menu.h, pr_cmds.c, quakedef.h,
r_alias.c, r_brush.c, r_part.c, r_sprite.c, r_world.c, sbar.c, sbar.h,
screen.h, snd_dma.c, snd_mem.c, snd_mix.c, sv_main.c, sys_sdl.c, vid.h,
view.h, world.c, world.h:  Loads of warning fixes about missing function
prototypes, missing parens around &, missing braces leading to ambiguous
else statements and unused and uninitialized variables. There are still a
couple of unitialised variables here and there, but not much. The warnings
about strict aliasing violations need taking care of.

------------------------------------------------------------------------
r20 | sezero | 2010-02-16 10:16:20 +0000 (Tue, 16 Feb 2010) | 2 lines

gl_draw.c (scr_conalpha): write to config.cfg.

------------------------------------------------------------------------
r19 | sezero | 2010-02-16 10:10:58 +0000 (Tue, 16 Feb 2010) | 4 lines

common.c (COM_InitArgv): remove the trailing whitespace added at the end
of cmdline string only if there is one. print out the command line as an
informational message.

------------------------------------------------------------------------
r18 | sezero | 2010-02-16 10:01:46 +0000 (Tue, 16 Feb 2010) | 3 lines

cmd.c (Cmd_StuffCmds_f): fix logic so that it works properly with sdl/unix
port (on Unix, argv[0] is command name and is not empty).

------------------------------------------------------------------------
r17 | sezero | 2010-02-16 09:55:13 +0000 (Tue, 16 Feb 2010) | 2 lines

cl_demo.c (CL_PlayDemo_f): get rid of the menu and/or console when starting a demo.

------------------------------------------------------------------------
r16 | sezero | 2010-02-16 09:47:04 +0000 (Tue, 16 Feb 2010) | 7 lines

client.h (client_state_t): added mapname[128] as a new member to hold the
current map file name without path and extension.
cl_parse.c (CL_ParseServerInfo): copy the naked name of the map file to
the cl structure.
host_cmd.c (Host_Map_f): print the current map name if no arguments are
given. print help message if not connected.

------------------------------------------------------------------------
r15 | sezero | 2010-02-16 09:12:35 +0000 (Tue, 16 Feb 2010) | 2 lines

main.c (DEFAULT_MEMORY): Changed default heap size from 32 to 64 MiB.

------------------------------------------------------------------------
r14 | sezero | 2010-02-16 09:10:43 +0000 (Tue, 16 Feb 2010) | 7 lines

gl_vidsdl.c (VID_Toggle): New proc for easy windowed-fullscreen toggling
using SDL. Works only under X11.
keys.c (Key_Event): Moved ALT-Enter windowed-fulscreen toggle handling to
main() in main.c so that it works properly for now.
main.c (main): Moved ALT-Enter windowed-fulscreen toggle handling from
keys.c to main() so that it works properly for now.

------------------------------------------------------------------------
r13 | sezero | 2010-02-16 09:01:53 +0000 (Tue, 16 Feb 2010) | 5 lines

gl_vidsdl.c (VID_Init): Changed default mode to windowed. Added -w as an
alternative to -window command line switch. added new -f and -fullscreen
command line switches. added comments about the problems being encountered
when default mode is fullscreen.

------------------------------------------------------------------------
r12 | sezero | 2010-02-16 08:53:20 +0000 (Tue, 16 Feb 2010) | 2 lines

gl_vidsdl.c (VID_InitDIB): change default width from 640 to 800. (Steven)

------------------------------------------------------------------------
r11 | sezero | 2010-02-16 08:50:45 +0000 (Tue, 16 Feb 2010) | 12 lines

several cvar tweaks by Steven:
gl_draw.c (scr_conalpha): change value from 1.0 to 0.5
gl_rmain.c (r_shadows): write to config.cfg.
gl_rmain.c (r_wateralpha): write to config.cfg.
gl_rmain.c (r_dynamic): write to config.cfg.
gl_rmain.c (r_novis): write to config.cfg.
gl_rmain.c (gl_flashblend): change to 0 (disable) and write to config.cfg.
gl_screen.c (scr_conspeed): change value from 300 to 500
gl_vidsdl.c (vid_fullscreen): change value to 0 (disable)
gl_vidsdl.c (vid_width): change value from 640 to 800
gl_vidsdl.c (vid_height): change value from 480 to 600

------------------------------------------------------------------------
r10 | sezero | 2010-02-16 08:42:58 +0000 (Tue, 16 Feb 2010) | 2 lines

console.c (Con_DrawConsole): Added SDL to the version string.

------------------------------------------------------------------------
r9 | sezero | 2010-02-16 08:40:26 +0000 (Tue, 16 Feb 2010) | 3 lines

common.c (COM_FindFile): Made PackFile debug message prints into Con_DPrintf so
that they don't spam the console.

------------------------------------------------------------------------
r8 | sezero | 2010-02-16 08:25:33 +0000 (Tue, 16 Feb 2010) | 3 lines

common.c (COM_LoadFile): Commented out the Draw_BeginDisc call. It causes core
dumps when called excessively in big mods.

------------------------------------------------------------------------
r7 | sezero | 2010-02-16 08:16:43 +0000 (Tue, 16 Feb 2010) | 2 lines

added plain makefiles for native linux and cross-win32 builds.

------------------------------------------------------------------------
r6 | sezero | 2010-02-15 23:45:06 +0000 (Mon, 15 Feb 2010) | 7 lines

snd_dma.c: added SNDDMA_LockBuffer() as a new API, needed for, well, proper buffer
locking.  removed simsound. removed unused S_AmbientOff() and S_AmbientOn(). other
multiple cleanups and fixes.
snd_sdl.c: replaced the old broken implementation which used to cause LRU failures
with the one adapted from the uhexen2 project.
sound.h: added missing prototypes, including the new SNDDMA_LockBuffer().

------------------------------------------------------------------------
r5 | sezero | 2010-02-15 23:37:38 +0000 (Mon, 15 Feb 2010) | 3 lines

snd_mem.c (FindNextChunk): fixed segfaults due to bad wav files like some
of those in the arwop mod.

------------------------------------------------------------------------
r4 | sezero | 2010-02-15 23:33:12 +0000 (Mon, 15 Feb 2010) | 2 lines

net_sdlnet.c, pl_win.c, quakedef.h: fixed SDL header includes.

------------------------------------------------------------------------
r3 | sezero | 2010-02-15 23:30:23 +0000 (Mon, 15 Feb 2010) | 3 lines

common.c (COM_FileBase): fix an old quake bug where it can start hunting
whole memory for the nul terminator.

------------------------------------------------------------------------
r2 | sezero | 2010-02-15 23:26:55 +0000 (Mon, 15 Feb 2010) | 1 line

initial import of SDL port of Fitzquake-0.85 / 20090510 sources.
------------------------------------------------------------------------
r1 | sezero | 2010-02-15 21:35:38 +0000 (Mon, 15 Feb 2010) | 1 line

create basic directory structure.
------------------------------------------------------------------------
