Commit graph

1652 commits

Author SHA1 Message Date
Tim Angus
8b0f1a6737 * Rephrase broken compiler warning 2009-11-18 20:26:44 +00:00
Thilo Schulz
10cdcdb0a1 Forgot this one 2009-11-14 01:59:01 +00:00
Tim Angus
3b63c54a24 * Fix demo playback being broken, not entirely sure by what or when 2009-11-11 10:51:33 +00:00
Thilo Schulz
04c5efd739 Fix possible buffer overflow in console, thanks to John Ellis for the patch. 2009-11-10 02:17:32 +00:00
Thilo Schulz
290f1860e9 Add missing cvar 2009-11-10 01:56:56 +00:00
Thilo Schulz
be0a82d496 - Add stopmusic command
- Make cvar s_muted read-only
2009-11-10 01:55:54 +00:00
Thilo Schulz
2a0812bc06 Mute sounds with 0 volume when game is minimized/unfocused instead of Stopping all sounds. Fixes (#4336) 2009-11-10 01:08:15 +00:00
Thilo Schulz
e8ae8f5d3a Remove leftover stub 2009-11-10 00:25:48 +00:00
Thilo Schulz
258429efe7 - Add unset command for cvars created by the user
- Fix crash bug when maximum number of cvars has been reached
- Fix cvar_restart
- Add possibility to cleanly switch mods ingame (#2819)
2009-11-09 22:41:42 +00:00
Thilo Schulz
606ce66726 This is true always, anyways. 2009-11-09 13:50:48 +00:00
Thilo Schulz
eee5498019 Zakk wisheth - Thilo answereth (#4070)
Use cg_drawWeapon 2/3 to make weapon left-handed/centered
2009-11-09 12:23:03 +00:00
Thilo Schulz
3cb58d7cc5 A few fixes for the new changes 2009-11-08 17:36:05 +00:00
Thilo Schulz
cd38bf6bf5 Rework CFLAGS: separate CFLAGS for client, server, and VMs. (#3533) 2009-11-08 17:04:30 +00:00
Thilo Schulz
5785b45e6a Shut up warn_unused_result warning 2009-11-08 17:00:27 +00:00
Thilo Schulz
f086a5d20d That option does not exist for servers 2009-11-08 14:59:06 +00:00
Tim Angus
108705d31f * Rewrite win32 Sys_Mkdir to use CreateDirectory
* Make FS_ReplaceSeparators filter out runs of multiple separators
* Make FS_CreatePath skip creation of the root directory
2009-11-07 16:43:02 +00:00
Tim Angus
0f9a5e09eb * Improve displayed error message when pak?.pk3 is missing 2009-11-06 16:25:14 +00:00
Tim Angus
c98df5ad58 * Make window centering optional, defaulting to off 2009-11-06 15:34:05 +00:00
Thilo Schulz
223b851b7b Commit two patches from SmokingGuns's Tequila, fixing problems with very fast movers and a typo in the string drawing function. (#4329) and (#4330) 2009-11-06 12:02:02 +00:00
Thilo Schulz
4ba2452f83 Use new Sys_SetEnv here 2009-11-06 10:50:16 +00:00
Tim Angus
568cf2732a * Fix to GLimp_DetectAvailableModes not sorting the first returned mode 2009-11-05 20:29:26 +00:00
Tim Angus
eee9770fbf * Reimplement r1597-1598 in a better way (Oopss)
* Fix Sys_SetEnv warning
2009-11-05 20:20:23 +00:00
Ludwig Nussel
e8f5d5055d fix wrong strcpy usage (#4331, patch by Andreas Bierfert) 2009-11-04 18:13:05 +00:00
Thilo Schulz
621f91783c Different default values for multicast-scope on Windows and non-Windows OS 2009-11-04 00:42:22 +00:00
Thilo Schulz
d574e10bc4 Ugh. Forgotten ) 2009-11-03 20:44:16 +00:00
Thilo Schulz
bd2ab9bffd - implement r_noborder, inspired by patch from ensiform (#4289)
- Add Sys_SetEnv for portable setting of environment variables
 - Default ioquake3 to appear on the center of the screen if running in windowed mode.
2009-11-03 20:29:43 +00:00
Thilo Schulz
c90eae4de5 Make debug cflags configurable like via Makefile.local 2009-11-03 19:23:51 +00:00
Thilo Schulz
f5d79ea066 Fix bug where game freezes in infinite loop because it doesn't find a spawn point on maps with many bot/human-only spawnpoints. Thanks Pan for reporting this 2009-11-03 13:28:52 +00:00
Thilo Schulz
018de1dd2e Added TTimo's QuakeLive-style mouse acceleration, thanks Gabriel Schnoering and TTimo for the patch. (#3693) 2009-11-02 16:17:10 +00:00
Ludwig Nussel
3d7d2d9f5b check all jumps (#4249) 2009-11-01 19:58:27 +00:00
Ludwig Nussel
12189381b5 fix cmp imm reg 2009-11-01 19:58:25 +00:00
Ludwig Nussel
da31866f6d report memory violations in debug mode 2009-11-01 19:58:21 +00:00
Ludwig Nussel
4722d311fd better range checks 2009-11-01 19:58:18 +00:00
Ludwig Nussel
b7eae0dca5 implement immediate argument for call 2009-11-01 19:58:16 +00:00
Ludwig Nussel
ed98f65d10 optimize const before jump 2009-11-01 19:58:12 +00:00
Ludwig Nussel
a7dee44def check const jump argument 2009-11-01 19:58:09 +00:00
Ludwig Nussel
469c986640 more security checks in interpreter (#4249) 2009-11-01 19:58:07 +00:00
Ludwig Nussel
cc9a74a218 Define stack sizes at central place
also reverts bug 4282 as stack is included in bss already so nothing that needs fixing
2009-11-01 19:58:03 +00:00
Tony J. White =
698127ad32 * Updated to SDL 1.2.14. For future reference, the command you can't
remember is: 'install_name_tool -id @executable_path/libSDL-1.2.0.dylib
  libSDL-1.2.0.dylib'
2009-10-29 03:09:07 +00:00
Tim Angus
83d0755ad1 * Whitespace 2009-10-28 22:12:56 +00:00
Tim Angus
9f6cee30d3 * Remove disabling of stdout/err redirection on windows as it doesn't work
(since the environment variable is acted upon by the SDL_main stuff, which
  happens before our main)
2009-10-27 11:48:18 +00:00
Thilo Schulz
e345f9f81f New batch of fixes for the OpenAL part:
- Don't play sources outside the listening range (Thanks Kpaxian for bringing this to my attention)                                                         
 - Handle previously unhandled errors for old OpenAL sample implementation which does not support AL_SEC_OFFSET (sounds won't be synchronized then),
   thanks to Tequila from SmokingGuns for reporting this.
2009-10-27 11:13:33 +00:00
Thilo Schulz
0ecfcfa872 Make not playing loop sources weaker in priority, so if we have reached the maximum number of sources, inaudible loops are removed first. 2009-10-26 23:20:05 +00:00
Ludwig Nussel
2fecf6d6bc get rid of gas remains 2009-10-26 21:59:03 +00:00
Thilo Schulz
0adae90465 Fix another issue I didn't know about: cgame does not kill sound loops it startet, just stops sending the entity information for these loops. Changed it so that loops added with AddLoopingsound() are being killed again as soon as the entity to the source is not sent anymore. 2009-10-26 05:02:18 +00:00
Tim Angus
5004ada284 * Fix some warnings in lcc compile 2009-10-25 23:44:20 +00:00
Tim Angus
568cf6c1dd * Update SDL headers and win32 libs to 1.2.14 2009-10-25 23:07:11 +00:00
Tim Angus
968892c61b * Bump the minimum SDL version up to 1.2.10, and remove workarounds for earlier versions 2009-10-25 22:36:32 +00:00
Tim Angus
f9c4003186 * Make [sv|cl]_packetdelay work when timescale is not 1 (arQon) 2009-10-25 21:54:45 +00:00
Tim Angus
43d31f7c3a * (bug #4316) Hack to work around suspected driver bug (Lakitu7) 2009-10-25 21:48:48 +00:00