Thilo Schulz
e02617ee89
Little fix for the sanity check fix from previous rev...
2006-06-16 20:47:29 +00:00
Thilo Schulz
813a6ecdc3
- Fix bug that allows a malicious server to write and overwrite any files in the quake3 directory.
...
Reported by Luigi Auriemma.
- Moved directory traversal check to a more proper location.
- Added a few sanity checks for checksum/pakname storage to fix a crash that can occur under certain circumstances.
2006-06-16 20:38:08 +00:00
Thilo Schulz
c9c15562ea
Fix client "freezes" if a user with ASCII characters > 127 enters a server. Reported by tjw
2006-06-11 14:56:58 +00:00
Thilo Schulz
99abd01c2f
Fix remotely exploitable parse download overflow reported by Luigi Auriemma.
...
See http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046578.html
for the advisory.
2006-06-04 13:45:53 +00:00
Thilo Schulz
84296bfc2c
Fixed a crash in md4 routines when using them on files with zero length, reported by Lukasz Saduniowski.
2006-06-01 00:58:19 +00:00
Thilo Schulz
9af85d9378
Forgot to check for windows-style path seperator in precaution against directory traversal abuse.
2006-06-01 00:23:46 +00:00
Thilo Schulz
503c0a22c6
Partially applied patch from Joerg Dietrich. Fixes:
...
- incorrect handling of file names when opening sound files by name without extension
- byte endian issues in ogg decoder.
2006-06-01 00:14:56 +00:00
Ryan C. Gordon
997dffc649
Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS X
...
and probably PowerPC Linux, too...fixes Bugzilla #2519 .
2006-05-29 03:02:54 +00:00
Thilo Schulz
856a397e8c
Prevent servers from making clients download files that are written to non-quake3 directories.
2006-05-28 14:36:37 +00:00
Thilo Schulz
d2b5dd1e8a
Applied parts of Josh Weisskopf's patch to make naming of executables consistent with Linux.
2006-05-16 07:11:39 +00:00
Thilo Schulz
e5c0581d52
Added two missing source files to the MSVC project files
2006-05-16 07:03:36 +00:00
Thilo Schulz
6fe78df757
Fixed missing initialization of idPack and missionPack variables which may result in failure to autodownload files from the server even if legitimate.
2006-05-15 19:50:44 +00:00
Thilo Schulz
a08a539c10
Fix JIT compiler code execution on NX-protected win32 OS
2006-05-15 15:57:02 +00:00
Thilo Schulz
27df5fca31
Corrected #include directives of openal headers for MSVC.
2006-05-13 12:18:43 +00:00
Thilo Schulz
60293f49ee
Fix bug that permits download of arbitrary files from a download enabled server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082
2006-05-08 19:53:41 +00:00
Tim Angus
fda7db7619
* Fix the MinGW build. Ugh.
2006-05-06 16:01:41 +00:00
Thilo Schulz
e1c5be3ab0
Added return; statement so it doesn't complain when it receives a remapShader command.
2006-05-06 12:11:24 +00:00
Thilo Schulz
5ebb75e651
Fix remapShader command in cgame and tweak it in ui.
2006-05-06 10:54:55 +00:00
Ludwig Nussel
63d2010914
add update_url. Maybe we need it in the future
2006-05-06 08:46:21 +00:00
Thilo Schulz
d21411452e
Add string length checking to function COM_StripExtension. This fixes the R_RemapShader buffer overflow exploit that can be found here:
...
http://milw0rm.com/exploits/1750
2006-05-06 01:56:24 +00:00
Thilo Schulz
2675960c2c
removed a space too much after "say_team: " chat prompt.
2006-05-04 15:37:08 +00:00
Thilo Schulz
1847c321f0
- Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White
...
- Added newline to final message sent to clients.
- Added check for whether client is running at all before CL_Shutdown runs through.
2006-05-04 13:59:58 +00:00
Thilo Schulz
2583351211
- Replaced SV_GetPlayerByName with SV_GetPlayerByHandle that supports lookup of client_t structures by playernum, too.
...
That means the ban and kick commands will now accept the playernum - as seen in the status command - as argument.
2006-05-02 21:20:07 +00:00
Thilo Schulz
7b6fe90aad
Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots.
2006-05-02 17:53:26 +00:00
Ludwig Nussel
8895df0925
- remove leftover anistropic filtering variables from glconfig_t
...
- check size of glconfig_t to prevent accidential ABI breakage in the future
2006-04-30 15:00:39 +00:00
Thilo Schulz
12a2b7694a
- Fixed incompatibility to original VMs introduced by anisotropic filtering patch.
...
- Removed dependency of flares from tr.identityLight because they are barely visible with r_overbrightbits set to 1
2006-04-30 14:32:56 +00:00
Thilo Schulz
82c4c70535
- Fix r_overBrightBits variable getting ignored on Linux
...
- Replaced SDL_SetGamma by SDL_SetGammaRamp with gamma behaviour now matching win_gamma.c
2006-04-30 13:50:13 +00:00
Tim Angus
d475dfef97
* Yet another tweak to the long server uptime bug fix
2006-04-28 17:31:02 +00:00
Thilo Schulz
55453fd919
Fix for skybox blacklines bug on non-SDL compilations.
2006-04-27 14:48:35 +00:00
Thilo Schulz
235e2c215f
- Introduced various new typedefs for windows platform (int32_t, int64_t, etc...)
...
- Applied md5 64-bit safety patch by Tony White.
2006-04-27 13:39:41 +00:00
Thilo Schulz
c116695ea7
- "baseq3" literal replacement patch (by Erik Auerswald) applied
...
- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
2006-04-26 13:36:58 +00:00
Thilo Schulz
dbdc92d4be
strupr'ing demo filenames breaks demo selection on case sensitive file systems.
2006-04-26 11:31:18 +00:00
Thilo Schulz
70fca10af2
Replaced various "baseq3" strings with the centrally defined BASEGAME macro.
2006-04-26 11:27:12 +00:00
Ludwig Nussel
88b2b82b00
SunOS -> sunos (patch by Vincent Cojot)
2006-04-23 20:59:06 +00:00
Thilo Schulz
31fdab187c
Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh!
2006-04-23 20:04:42 +00:00
Tim Angus
56294e2da8
* Oops
2006-04-23 18:04:51 +00:00
Tim Angus
8aecee5158
* cl_guid for semi-reliable server authentication (from tjw)
2006-04-22 22:21:56 +00:00
Tim Angus
68b9eb3fba
* Anisotropic texture filtering (from Echon)
2006-04-22 22:14:15 +00:00
Thilo Schulz
40d5eee8ef
Fix prohibits illegal downloading of id PK3 files from servers. That bug is hit by *every* official server release from ID.
2006-04-22 18:24:50 +00:00
Tim Angus
ef51968654
* Fix to a bug introduced by the fix to the long server uptime bug
2006-04-22 15:57:43 +00:00
Thilo Schulz
e7daf33d8e
- botlib logfile now gets stored in the fs_game directory in fs_homepath. (patch from Erik Auerswald)
...
- Added proper error handling when fopening qconsole.log
- Fixed bug where r_chat.c gets loaded in botlib even when bot_nochat is 1.
2006-04-21 17:04:21 +00:00
Thilo Schulz
57cc0f901e
Still some little improvements to flares.
2006-04-20 16:52:39 +00:00
Thilo Schulz
d18f7bb738
Removed redundant assignment.
2006-04-20 11:26:27 +00:00
Thilo Schulz
c552a46e5f
Fix for flares. Can be enabled by setting r_flares 1
2006-04-20 04:43:43 +00:00
Zachary Slater
9ee853343e
Was that intentional? (version change)
2006-04-19 22:51:20 +00:00
Tim Angus
0018df2cfc
* Output botlib.log in a sensible place (from Erik Auerswald)
2006-04-14 20:35:47 +00:00
Tim Angus
131fb9933f
* Fix to bug involving the port value of master server heartbeats (from Thilo
...
Schulz)
2006-04-14 20:28:28 +00:00
Tim Angus
21e0bdd993
* Fix to (static!) buffer overflow in renderer (from Thilo Schulz)
2006-04-14 20:15:58 +00:00
Tim Angus
a235245e35
* Fixes to MDR implementation from Thilo Schulz
2006-04-14 20:13:49 +00:00
Tim Angus
2b75754cdb
* Removed strange MacOS X #ifdeffery from cl_cin.c (from tjw)
2006-04-14 20:11:42 +00:00
Tim Angus
47b03b0cc5
* Fix network init crashes on OS X 10.4 (from tjw)
2006-04-14 20:08:36 +00:00
Tim Angus
b191cc056c
* Fix backspace on MacOS X (from tjw)
2006-04-14 20:02:11 +00:00
Tim Angus
a596185844
* Fixed radix sort on big endian platforms (from tjw, blame Timbo for the bug)
2006-04-14 19:54:56 +00:00
Aaron Gyes
f6203a1e13
Logo stuff on Media page, change the icon to be standard svg instead of inkscape svg.
2006-03-26 01:48:38 +00:00
Tim Angus
d9cb8cb083
* Shift no longer modifies bound keys. Use in_shiftedKeys for the old
...
behaviour.
2006-03-24 21:46:07 +00:00
Tim Angus
f63472025f
* Change window title
2006-03-24 17:28:27 +00:00
Tim Angus
4f55e9f989
* Fix a warning introduced by the recent LCC fix
2006-03-24 16:28:07 +00:00
Aaron Gyes
e31d46651d
webspace is separate now, so generate one splash image.
2006-03-24 07:29:52 +00:00
Tim Angus
ffc78a67ba
* LCC bug fix from the how-the-fuck-did-that-ever-work? department
2006-03-21 21:58:39 +00:00
Tim Angus
5028c174ba
* Solaris packager tweak
2006-03-15 22:42:27 +00:00
Tim Angus
d72fd2e6e7
* Video export doesn't crap out with sv_pure 1 anymore
...
* Video export doesn't crap out when writing > 2Gb files anymore
2006-03-15 22:41:38 +00:00
Tim Angus
8b41386905
* Solaris package patch
2006-03-14 22:26:35 +00:00
Ludwig Nussel
be6ca402e8
accept pak0.pk3 in demoq3/ as well
2006-03-08 11:02:20 +00:00
Ludwig Nussel
da1fabdd91
- fix icon
...
- remove GPL license popup
- make demo script optional
2006-03-05 19:12:20 +00:00
Ludwig Nussel
65c1d9a7a5
merge fixes from ioquake3.sh
2006-03-05 19:11:19 +00:00
Ludwig Nussel
39f2e449b6
use mmap to allocate memory for generated code to be able to set PROT_EXEC
2006-03-04 11:14:44 +00:00
Tim Angus
4ec0c94828
* Displace the '\n's passed to SV_Shutdown
2006-02-28 23:01:23 +00:00
Tim Angus
ef4dad1875
* Entity sounds on the player entity are now AL_SOURCE_RELATIVE
...
* Thus no need to s_alSpatEntOrigin anymore
2006-02-28 21:52:25 +00:00
Tim Angus
0f8c7da187
* Lets try that again
2006-02-26 21:22:12 +00:00
Ludwig Nussel
a99e721711
try to fix msvc build
2006-02-26 20:01:45 +00:00
Tim Angus
40a5ee007f
* Sound related bug fixes from Thilo Schulz
2006-02-26 18:47:39 +00:00
Tim Angus
c93d8fc185
* Resolve symlinks to the binary. This prevents the situation where a symlink
...
to ioq3 in e.g. /usr/local/bin/ cannot locate the data files since it thinks
/usr/local/bin/ is the directory the actual binary sits.
2006-02-26 18:44:15 +00:00
Tim Angus
d5509dcd35
* Fix to a bug where servers with long uptimes (~27 days) would consume 100%
...
CPU if the running game did not set the nextmap cvar. This patch instead uses
the mapname server cvar, which is guaranteed to be defined.
2006-02-23 23:10:54 +00:00
Tim Angus
0e0aac2cb6
* Change the default for s_alSpatEntOrigin. I need to think of a way to do the
...
same thing without degrading the sound quality or changing the API.
2006-02-23 20:43:34 +00:00
Tim Angus
cb1a097db7
* Fix to half of bug #2600 (Refuse to load RIFF files with less than 8 bits per
...
sample)
2006-02-21 22:29:29 +00:00
Ludwig Nussel
6fd0d60628
fallback to 32bit binaries on 64bit biarchs if available
2006-02-21 22:13:36 +00:00
Tim Angus
659ded3a41
* Fix to bug #2599 (fullscreen cinematics)
2006-02-21 21:29:26 +00:00
Aaron Gyes
fe210b1f6b
Angst's installer + icon
2006-02-20 23:08:59 +00:00
Aaron Gyes
966ffaa0f2
o rly
2006-02-20 22:08:23 +00:00
Aaron Gyes
cc9ead2fd7
Bump version number.
2006-02-20 22:04:16 +00:00
Aaron Gyes
f7642afeea
Clean up ARGB 16*16 icon too.
2006-02-20 21:13:19 +00:00
Aaron Gyes
c5a0d40f40
Redone 16*16 icons by hand, they should be less nasty now.
2006-02-20 20:14:07 +00:00
Aaron Gyes
797df27e23
Hot new sexy Windows icon.
2006-02-20 06:59:48 +00:00
Aaron Gyes
c5bc92294b
Generate new 32x32 raster image from new svg, kill off old uglies.
2006-02-18 19:28:50 +00:00
Aaron Gyes
20ee886a29
<Timbo> you should probably strip that
2006-02-18 19:13:43 +00:00
Aaron Gyes
4b4a01001f
Kill text node
2006-02-18 19:08:25 +00:00
Ludwig Nussel
4c242115dc
- change long to intptr_t for 64bit windows compatability
...
- change vmMain arguments back to int. 64bit types are apparently not
needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +00:00
Ludwig Nussel
e129637b5a
64bit fix: VM_Call return value is a pointer
2006-02-18 19:03:06 +00:00
Aaron Gyes
058c2af2ce
Added gradients
2006-02-18 19:02:34 +00:00
Tim Angus
4fe0154cbe
* Added Sander van Loon's svg icon
2006-02-18 11:19:32 +00:00
Tim Angus
26b4ed2f7d
* Fix to a woopsie
2006-02-13 18:17:08 +00:00
Tim Angus
932ca8027c
* OpenAL now respatializes using the player entity origin instead of the view
...
origin by default. The old behaviour is available by setting
s_alSpatEntOrigin to 0.
2006-02-12 10:43:37 +00:00
Tim Angus
3e803b40d2
* See bug #2583
2006-02-12 10:05:32 +00:00
Tim Angus
1911b2a45a
* OS X/SDL mouse sensitivity fix
2006-02-08 18:06:20 +00:00
Tim Angus
ef19ccd56f
* Removed (unintentional) C99 code
2006-02-07 18:36:17 +00:00
Maik
ca7b79c0fa
* updated q3asm msvc prj.
2006-02-07 13:00:44 +00:00
Maik
5b12a7a468
* enabled openal as default in msvc.
2006-02-07 12:47:12 +00:00
Maik
602743a25b
* workaround for msvc compiler bug.
2006-02-07 12:26:53 +00:00
Tim Angus
cb76ec0f2d
* Do not cull non-ascii keyboard chars at the SDL level any more, these are
...
handled in cl_keys.c. (This fixes ctrl-c not working).
2006-02-04 14:11:53 +00:00
Tim Angus
2e19bdfb5d
* Reimplement console history recall "bug" behaviour without the bug
2006-02-04 00:28:57 +00:00
Tim Angus
91b2b9297a
* Fix to an obo bug in the console history recall code
2006-01-28 23:26:23 +00:00
Tim Angus
ab29f29495
* Fix to a memory leak in CM_ValidateFacet
2006-01-27 18:14:01 +00:00
Tim Angus
947ebb932e
* SDL build no longer requires a vid_restart when changing r_fullscreen
2006-01-25 17:57:53 +00:00
Tim Angus
8a6be4aef4
* Persistent console history
2006-01-24 04:35:19 +00:00
Tim Angus
5a29e8df50
* Added code to sleep a bit when q3 has no focus and sleep a lot when it's
...
minimised (SDL only)
2006-01-23 00:24:56 +00:00
Tim Angus
704c151eb1
* Fix to an OpenAL "bug" involving Team Arena
2006-01-22 21:09:55 +00:00
Tim Angus
7b930770e7
* The use of va in the ansi color stuff was preventing developer 1 mode (and
...
probably various other things) from working properly
2006-01-22 19:38:50 +00:00
Tim Angus
3404fbac56
* Fix the operation of the delete key in *nix
2006-01-22 17:07:21 +00:00
Tim Angus
4ab96373e6
* Only check the checksum on baseq3 pak0.pk3
2006-01-22 17:05:43 +00:00
Tim Angus
c3f7915a8b
* Overhaul of console autocompletion
...
- No longer does weird stuff like move the cursor inappropriately
- Autocomplete works with compound commands
- Special autocomplete on some commands e.g. \map, \demo
- Removed various hacks used to counter the original autocomplete code
2006-01-22 01:58:50 +00:00
Tim Angus
893629fb0f
* Fix to ability to diabled Ogg Vorbis
2006-01-21 15:09:35 +00:00
Tim Angus
7913ec3c4b
* Fix a bug with command/cvar autocompletion
2006-01-21 01:35:42 +00:00
Tim Angus
58c8175024
* Added Q_isnan for NaN tests with -ffast-math
...
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus
50a10f2690
* Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this
2006-01-19 17:25:55 +00:00
Maik
fc58fbbac7
cl_avi.c added to msvc project.
2006-01-19 16:43:06 +00:00
Tim Angus
da6fafaac7
* Removed advertising clause from BSD license as per mailing list discussion
2006-01-18 18:46:32 +00:00
Tim Angus
6a396f761f
* Yet another MD4 implementation
...
* Removed Com_BlockChecksumkey and replaced its functionality in the calling
function
2006-01-18 15:53:50 +00:00
Tim Angus
0856744622
* GPL MD4 implementation
...
* Removed obsolete compilation instructions from the id readme
* Removed MD4 license from the id readme
2006-01-18 01:20:42 +00:00
Ludwig Nussel
f4dc10d3f0
fix path to build directory
2006-01-17 20:14:43 +00:00
Tim Angus
fc8fcd7af5
* Don't try to auto record a demo while playing a demo
2006-01-16 04:00:30 +00:00
Tim Angus
ac01b3fdc8
* Patch from Tilman Sauerbeck that fixes some UI code that does not take
...
account of non-4:3 aspect ratios
2006-01-16 02:23:03 +00:00
Tim Angus
ede5c811c2
* Deleted the .lnt and .bat files in the code dir
2006-01-15 21:55:43 +00:00
Tim Angus
7b845a1741
* Move code/unix/Makefile to ./Makefile
2006-01-15 21:45:57 +00:00
Tim Angus
9f427d8852
* Fix a bug where q3cpp's include paths were not set correctly
2006-01-15 21:17:03 +00:00
Tim Angus
363c0d4eba
* Fix to some warnings in linux_glimp.c
2006-01-15 19:15:33 +00:00
Tim Angus
d4bd2fd737
* Change defaults for s_alRolloff and s_alMinDistance
2006-01-15 15:45:12 +00:00
Tim Angus
b4898caac4
* Fix to a stupid bug I introduced whilst trying to be clever
2006-01-15 15:30:52 +00:00
Tim Angus
e74947be2c
* x86 OS X support
2006-01-15 15:22:13 +00:00
Ryan C. Gordon
b06643f41d
Fixed compiler warning about uninitialized variables.
2006-01-14 09:16:16 +00:00
Tim Angus
15c2c2ed89
* Remove some cruft from qasm.h
2006-01-13 21:44:05 +00:00
Ludwig Nussel
2a6c9bd2fd
tell the linker that we want NX stack if possible
2006-01-13 21:40:51 +00:00
Tim Angus
216bda8cd7
* Patch from https://bugzilla.icculus.org/show_bug.cgi?id=2540
2006-01-13 20:54:07 +00:00
Tim Angus
52c3bda4b3
* Simple patch that obviates the need for the "quake3" shell script as shipped
...
with 1.32
2006-01-10 19:22:02 +00:00
Tim Angus
a166f2173a
* Oops. Rename cl_avidemo to cl_aviFrameRate
2006-01-06 22:28:07 +00:00
Tim Angus
70c9c62039
* Use a slightly different method for generating qvm dependencies to avoid
...
FreeBSD 'find' weirdness
2006-01-06 21:56:50 +00:00
Ludwig Nussel
13039ef44f
make memory for generated opcodes executable so the program works with
...
enabled NX feature.
2006-01-06 19:11:05 +00:00
Tim Angus
dbf7caec10
* Ogg codec support from Joerg Dietrich <dietrich_joerg@gmx.de> (disabled by
...
default)
2006-01-06 17:36:03 +00:00
Tim Angus
f5f3c64a25
* Somebody fedex me a Mac and an x86_64 PC please?
2006-01-06 00:33:24 +00:00
Tim Angus
e95f1f2106
* Fix to the gcc4/-O0 x86 JIT compiler bug
2006-01-06 00:04:05 +00:00
Tim Angus
981112669f
* Fix to x86_64 build
...
* Removal of a couple of unused variables
2006-01-05 22:53:55 +00:00
Tim Angus
560b02488c
* Up the defaults for zone and hunk memory since some mods (UT) have large
...
memory requirements that will have increased versus 1.32b due to some of the
alignment fixes
2006-01-05 16:49:59 +00:00
Tim Angus
7b31efbec7
* Dependency generation for the .asm files
2006-01-05 03:34:01 +00:00
Tim Angus
1171a63aea
* Remove FS_SetRestrictions
...
* Add FS_CheckPak0 for better error messages where dumb users are involved
2006-01-05 02:06:25 +00:00
Tim Angus
58e7fc0a1a
* Added cl_autoRecordDemo, which when enabled automatically records a new demo
...
on each map change
2006-01-05 00:15:47 +00:00
Tim Angus
0c9d2c365a
* Only display the g_syncClients warning when it's appropriate
2006-01-04 21:48:20 +00:00
Tim Angus
6e24cfe7d3
* Fix the MinGW and (hopefully) OS X builds
...
* Remove custom memcpy/memset code
2006-01-04 03:40:49 +00:00
Tim Angus
2d9d10772f
* Solaris fixes
2006-01-04 03:14:01 +00:00
Tim Angus
a21eb2bbcb
* AVI video output
...
- Uses motion jpeg codec by default
- Use cl_avidemo to set a framerate
- \video [filename] to start capture
- \stopvideo to stop capture
- Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Ludwig Nussel
92ad3e99dc
fix typo in comment
2005-12-30 17:52:56 +00:00
Ludwig Nussel
696bd8c8ab
cleanup:
...
- define TARGETS at central place
- $(PLATFORM)quake3$(BINEXT) -> ioquake3.$(ARCH)$(BINEXT)
- remove GLIBC variable
2005-12-30 17:50:47 +00:00
Tim Angus
310190a466
* Support for MinGW cross compilation
2005-12-29 00:04:41 +00:00
Tim Angus
aa3f7e1eb1
* Fix to what is apparently a typo in the original Q3 code
...
* If patch stitching breaks in mysterious ways, this change might be why
2005-12-28 23:05:22 +00:00
Tim Angus
db5faeaeaa
* NetBSD support patch from optical (alex@rigbo.se)
2005-12-27 19:46:01 +00:00
Ludwig Nussel
7607d1083b
enable x86_64 vm
2005-12-18 15:36:07 +00:00
Aaron Gyes
98dd1cc767
I can't be trusted!
2005-12-13 02:35:00 +00:00
Maik
252ede0472
msvc project files updated and moved to win32/msvc
...
temporary build dirs moved to win32/msvc/build
2005-12-12 17:38:03 +00:00
Aaron Gyes
52205d8d3c
Thanks Jamie Wilkinson
2005-12-12 06:56:01 +00:00
Aaron Gyes
88237be90b
Try different way
2005-12-12 05:41:10 +00:00
Aaron Gyes
a45cab3b42
Tabs
2005-12-12 03:49:19 +00:00
Aaron Gyes
66516abf0a
Don't install q3ded binary on ming32, it doesn't exist
2005-12-12 03:48:00 +00:00
Tim Angus
6c6396a54f
* Increase default for s_alSources to 96
...
* Source allocation warning on looping sounds demoted to developer only
2005-12-11 21:14:45 +00:00
Ludwig Nussel
81c15bc41d
use memcpy for copying stuff around to fix alignment problems
2005-12-06 23:11:25 +00:00
Tim Angus
9bd6709e10
* Removed seemingly unnecessary OS X implementation of yuv_to_rgb24
2005-12-06 20:52:29 +00:00
Tim Angus
2499d9b0f5
* Solaris patch from Vincent S. Cojot
2005-12-06 19:03:39 +00:00
Tim Angus
9415f5fe09
* Oopsie.
2005-12-06 18:17:10 +00:00
Ryan C. Gordon
fa64e09a5b
Disabled PowerPC VM.
2005-12-06 00:16:25 +00:00
Ludwig Nussel
04a6532d27
remove EULA document to prevent confusion
2005-12-05 20:41:15 +00:00
Tim Angus
1704eecc52
* Replaced ALIGN macro with PAD
...
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
2005-12-05 17:32:54 +00:00
Ryan C. Gordon
cfdd586ef8
Look for correct filename extension when loading native DLLs.
2005-12-05 01:11:41 +00:00
Ryan C. Gordon
24209ecec6
Removed -fomit-frame-pointer from Mac OS X builds. Someone should
...
probably gank this from the other platforms, too.
2005-12-04 23:14:23 +00:00
Ryan C. Gordon
9b0cd8009d
Don't need to check for Altivec in unix mainline anymore (qcommon
...
handles this now).
2005-12-04 23:12:46 +00:00
Ryan C. Gordon
ff9c89f8fe
Better altivec cvar handling. Should fix crashes at startup, or curious
...
people that toggle it on at runtime on a G3.
2005-12-04 21:40:25 +00:00
Ryan C. Gordon
dd4dce194e
Fixed Altivec-based mesh rendering.
2005-12-04 14:23:46 +00:00
Tim Angus
e67d270f2a
* Same as last revision, but I didn't forget to save this time
2005-12-03 16:36:45 +00:00
Tim Angus
5cc1fb1c05
* Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and raw
...
stream systems
* Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs
out of memory
2005-12-03 00:19:27 +00:00
Tim Angus
0f8c177cf3
* Fix to an OpenAL "bug"
2005-12-02 00:14:24 +00:00
Tim Angus
796ba11301
* Ditch Mac OS 9 support
2005-12-01 21:36:16 +00:00
Tim Angus
1b314e8934
* Updated AL headers
...
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
headers if desired
2005-12-01 20:53:28 +00:00
Tim Angus
acb810b972
* Fix compilation when using SDL and dlopening OpenAL
2005-12-01 20:45:01 +00:00
Tim Angus
3161a34a4f
* Fixed bug where if two looping sounds were added to a single entity they
...
would fight for a source and you'd get a horrible distorted sound that was
each of the two sounds interleaved
* Changed the default of s_alPrecache to 1 -- having it off seems to cause
problems for some and it doesn't actually improve things much
* Changed a few of the variable names in snd_openal.c to be more sane
2005-12-01 18:22:42 +00:00
Tim Angus
31b7243ef3
* Fix a warning on non-PPC builds
2005-12-01 18:01:43 +00:00
Ryan C. Gordon
5bc17ccf4b
Fixed detection of Altivec on Mac OS X, and added attempt at general detection
...
with SIGILL/setjmp hackery for PowerPC Linux, etc.
2005-12-01 11:49:02 +00:00
Ryan C. Gordon
4bea1e4ff9
r_smp now works as expected with sdl_glimp.c on Mac OS X.
2005-12-01 11:16:36 +00:00
Ryan C. Gordon
820f41162e
Another "long double" ...
2005-12-01 10:59:50 +00:00
Ludwig Nussel
b130d6be52
fix the stupid i386/x86/amd64/x86_64 weirdness
2005-12-01 09:54:14 +00:00
Ludwig Nussel
f5228d8745
don't use ImageMagick
2005-11-30 21:21:46 +00:00
Ludwig Nussel
dfa3d1d875
add "very high quality" option (patch by Pascal de Bruijn)
2005-11-30 20:28:21 +00:00
Tim Angus
ae39051f1e
* Support RIFF files with zero length data chunks (yes they exist, and yes,
...
they're legal)
* Colourise the OpenAL warnings so they're somewhat more obvious
2005-11-30 01:57:53 +00:00
Ryan C. Gordon
4784374221
Make sure Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN are defined correctly for
...
PowerPC/x86 Mac OS X. Fixes Bugzilla #2510 .
2005-11-29 03:31:31 +00:00
Ryan C. Gordon
7590843afe
Fixed comment.
2005-11-28 11:20:35 +00:00
Ryan C. Gordon
6c0079508c
First shot at SMP renderer with sdl_glimp. Does not work yet!
2005-11-28 10:56:27 +00:00
Ryan C. Gordon
4517e7a34b
Fixed some compiler warnings in lcc...mostly "long double" stuff.
2005-11-28 09:53:09 +00:00
Ryan C. Gordon
807ba08558
Must explicitly define MACOS_X here or lcc won't build on the Mac.
2005-11-28 09:50:55 +00:00
Ludwig Nussel
be42cb3201
files to create a loki-setup based installer. run "make installer"
2005-11-27 15:34:16 +00:00
Ludwig Nussel
64025e68f0
fix warning about cast from integer to pointer
2005-11-27 15:01:56 +00:00
Tim Angus
68a59e1c93
* Moved win32 GL extension prototypes from tr_init.c to win_qgl.c
2005-11-26 17:51:26 +00:00
Tim Angus
382c6adb54
* Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
...
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon
877f360812
SDL and OpenAL headers.
2005-11-26 07:59:00 +00:00
Ryan C. Gordon
721b9a7d01
Mac OS X work...lots of little changes that touch a lot of random places.
...
Still work to be done, but this at least matches the PowerPC Linux status
now.
MacOS-specific directory (and XCode project) is gone...this now uses SDL,
OpenAL, and the Unix Makefiles.
--ryan.
2005-11-26 07:46:21 +00:00
Ryan C. Gordon
b20b86bbbe
Don't byteswap when resampling audio...we byteswapped it previously in the
...
codecs.
2005-11-20 15:35:45 +00:00
Ludwig Nussel
108c051345
make internal functions static
2005-11-19 14:53:46 +00:00
Tim Angus
fee4381e18
* Remove the debug text that nobody seemed to notice
2005-11-19 02:14:34 +00:00
Tim Angus
82893aebc9
* Bleh.. whitespace
2005-11-16 20:25:36 +00:00
Tim Angus
387d8041ce
* Partial implementation of FS_Seek for files in pk3s
...
* A couple of RIFF decoder tweaks/fixes
2005-11-16 20:23:37 +00:00
Tim Angus
736d34c989
* Small "bug" fix to MSG_WriteBits
2005-11-15 23:49:14 +00:00
Tim Angus
b5c7d9dcd7
* Implementation of r_dlightBacks from Shane Isley
2005-11-15 23:30:35 +00:00
Tim Angus
47c70ae076
* ...
2005-11-15 22:22:45 +00:00
Tim Angus
6be591daa1
* Don't link OpenAL against q3ded
2005-11-15 22:09:45 +00:00
Tim Angus
25785fe0e6
Potential fix to https://bugzilla.icculus.org/show_bug.cgi?id=2486
2005-11-15 17:02:45 +00:00
Tim Angus
0163f77f4e
* Oops, missed a bit
2005-11-14 18:35:31 +00:00
Tim Angus
9d7bb06743
* Replace a redundant function in the wav decoder
2005-11-14 18:26:25 +00:00
Tim Angus
e8a953fea6
* Quiet some warnings on OS X
2005-11-13 23:05:00 +00:00
Tim Angus
668fdc102c
* Unbreak the MinGW build more...
...
* Unbreak USE_OPENAL_DLOPEN=1
2005-11-13 22:16:24 +00:00
Tim Angus
33c1528673
* Unbreak the MinGW build
2005-11-13 21:23:16 +00:00
Ludwig Nussel
1c2722a9ba
link against libopenal by default rather than dlopening it
2005-11-13 21:01:44 +00:00
Ludwig Nussel
17719e0c61
soname is libopenal.so.0
2005-11-13 21:01:07 +00:00
Tim Angus
84c4f21082
* OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
...
+ An abstract codec system, simplifying support for new formats
+ Changes versus BlackAura's patch:
o Consolidated the OpenAL parts into one file
o Changed the function naming scheme to more closely resemble Q3
o Changed the interface to fall back on the "base" sound system
if loading OpenAL fails
+ This is enabled on Linux and MinGW for now, but should work on the
other *nixs with appropriate additions to the Makefile
+ NOT enabled on OS X or MSVC Windows builds
+ Probably breaks the Windows build again
* Retabulated sdl_snd.c and made the messages less verbose since
there do not seem to be many having problems with SDL sound now
2005-11-13 18:58:14 +00:00
Ludwig Nussel
79ceef93cc
store temporary files in /tmp to save space in ~
2005-11-13 18:33:28 +00:00
Ludwig Nussel
c95d0c29e4
use common macro for alignment
2005-11-13 17:51:21 +00:00
Ludwig Nussel
bfb24584f5
- add -Wimplicit -Wstrict-prototypes CFLAGS again
...
- remove -pipe. not needed IMO.
2005-11-11 15:07:15 +00:00
Tim Angus
e905b369c3
* Makefile target dependancy fix
2005-11-07 17:44:05 +00:00
Tim Angus
fd9c1b00bb
* Fix TA font loader to use new endian defines
2005-11-06 21:18:21 +00:00
Ludwig Nussel
b2f39d7ddd
use system memcpy and memset
2005-11-06 18:22:49 +00:00
Tim Angus
5201000f39
* Ignore in_dgamouse setting if dga isn't available
...
* Changed status of Solaris sparc
2005-11-06 17:31:48 +00:00
Tim Angus
bbf2e36b5b
* I'm so anal
2005-11-06 16:51:28 +00:00
Tim Angus
f20cca46e8
* Install the tools on every build, so a distclean isn't necessary if the tool
...
source changes now
* Basically rewrote the lcc Makefile to be more sane
* Removed various bits of lcc that weren't built/needed
2005-11-06 16:50:58 +00:00
Ludwig Nussel
590988222f
- crash solved
2005-11-06 16:32:42 +00:00
Ludwig Nussel
cc8b03c655
- don't spam the tty with that message
2005-11-06 16:24:49 +00:00
Ludwig Nussel
48ee88ad77
- move code for standalone compilation out of vm_x86_64.c
...
- reset vm->compiled if something goes wrong in VM_Compile
2005-11-06 13:50:28 +00:00
Ludwig Nussel
8a18ecb961
- fall back to interpreter if VM_Compile resets vm->compiled
2005-11-06 13:46:17 +00:00
Ludwig Nussel
87b12105bc
- set umask to 0077 before writing the cdkey, the rest of the world
...
doesn't need to read it.
2005-11-06 13:45:20 +00:00
Tim Angus
4eaebe4a31
* Tidy-up of q_platform.h
...
* Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines
* Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be
removed
2005-11-06 00:29:59 +00:00
Ludwig Nussel
dfe20a177c
- put ALIGN macro into q_shared.h
...
- yet another alignment fix for botlib
2005-11-05 19:06:10 +00:00
Tim Angus
81c1b3128b
* Enable use of asm on Solaris-x86
2005-11-05 18:41:37 +00:00
Tim Angus
a31e38986c
* Patch from AJ <anthonyj@planetquake.com> which replaces a bunch of hard coded
...
constants with #define constants
2005-11-05 15:54:56 +00:00
Tim Angus
fce1a89fad
* Fix a stupid typo
2005-11-05 15:07:05 +00:00
Tim Angus
fe09cd3217
* Patch from vapier that aids packaging
...
* Truth value of USE_SDL changed to 1 from true, for consistency
2005-11-05 01:06:09 +00:00
Tim Angus
d41de844d3
* Oops, missed a bit
2005-11-05 00:42:28 +00:00
Tim Angus
a87185a96f
* Centralise architecture defines in q_platform.h
2005-11-05 00:29:40 +00:00
Tim Angus
e4b7a04d5c
* Replaced a bunch of inline and __inline with ID_INLINE
...
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Zachary Slater
857a5e264e
Updated msvc project files from > Michael Zoech!
2005-11-04 02:35:30 +00:00
Ludwig Nussel
b0dfb2579b
found the bug. alignment reenabled.
2005-11-03 22:32:39 +00:00
Ludwig Nussel
2984b5bea2
disable the alignment "fix" until its clear why it causes crashes
2005-11-03 22:26:59 +00:00
Tim Angus
2e3a08e4bd
* Juggled CFLAGS a bit so that -fno-strict-aliasing is always on
2005-11-03 18:34:03 +00:00
Ludwig Nussel
1c94cfbcbd
more alignment fixes
2005-11-02 21:46:05 +00:00
Ludwig Nussel
e3e3d8b9aa
actually when calling from the vm to the engine there are more than 10
...
arguments
2005-11-02 21:45:48 +00:00
Ludwig Nussel
5f79f9958b
pass only 10 arguments. vm_* doesn't use more anyways.
2005-11-02 20:58:27 +00:00
Ludwig Nussel
3ce5d5dccd
pass only 10 arguments. vm_* doesn't use more anyways.
2005-11-02 20:56:13 +00:00
Ludwig Nussel
d29dfeeb75
round string length for pointer alignment
2005-11-02 20:36:30 +00:00
Ludwig Nussel
e121614406
allocate memory pointer aligned
2005-11-02 20:34:25 +00:00
Tim Angus
3c05bf1870
* Fies to the xcode project to update it with the recent changes
2005-11-02 18:32:03 +00:00
Tim Angus
2cc87dfc9d
* Removed the last of the binary target stuff from lcc (hopefully)
2005-11-02 16:05:14 +00:00
Tim Angus
2d2df7682d
* Removed the lcc self tests -- there are none that test bytecode
2005-11-02 15:28:16 +00:00
Tim Angus
8b63fdab58
* Fix for lcc on windows so that it can execute files with spaces in them
2005-11-02 02:08:29 +00:00
Tim Angus
87cd6f8a93
* Split off q_platform.h from q_shared.h
...
* Removed lcc PATH hack and replaced with something slightly less hacky
* Removed all platform specific hostfiles from lcc and replaced with bytecode.c
(from ankon)
* Turned lcc option "-S" on permanently
* Improved q3cpp so that it recursively adds include dirs to its list
2005-11-01 22:09:15 +00:00
Ludwig Nussel
48683c91a8
use memcpy to fix use of misaligned data
2005-11-01 19:59:14 +00:00
Ludwig Nussel
f4dbf0db95
5+2==7 :-)
2005-11-01 19:47:47 +00:00
Ludwig Nussel
39f5333862
use memcpy to fix use of misaligned data
2005-11-01 19:44:36 +00:00
Tim Angus
acf1f46a2b
* More Solaris work
2005-11-01 16:05:06 +00:00
Tim Angus
0a3e96af77
* Further work on the Solaris port from Vincent S. Cojot
2005-10-31 16:46:05 +00:00
Tim Angus
3647cca9f7
* Applied https://bugzilla.icculus.org/show_bug.cgi?id=2464
...
* Removed rule to build C++ (for splines) from the Makefile
2005-10-30 14:36:49 +00:00
Tim Angus
c41483634c
* General decrufting:
...
* Removed Q3_STATIC and associated defines
* Removed MAC_STATIC
* Replaced __LCC__ with Q3_VM
* Removed bspc and splines directories
2005-10-29 23:13:09 +00:00
Tim Angus
63fdc74843
* Fix to the VM interpreter on the linux ppc dedicated server
2005-10-29 22:06:43 +00:00
Tim Angus
c5bdb034f2
* Beginnings of Solaris support from Vincent S. Cojot
...
* Note this patch also splits USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO
2005-10-29 22:05:20 +00:00
Ludwig Nussel
58512aff09
use memcpy for OP_BLOCK_COPY
2005-10-29 17:42:12 +00:00
Ludwig Nussel
b6228f1408
add HAVE_VM_COMPILED variable so one can override it in Makefile.local
2005-10-29 17:41:17 +00:00
Tim Angus
05e8ab9538
* Added STATUS
...
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Tim Angus
b72f59f524
* In hindsight this is probably wise too
2005-10-29 01:02:12 +00:00
Tim Angus
ffdc69f138
* Deleted code/unix/vm_x86.c - wtf was that about anyway?
...
* Removed HAVE_VM_NATIVE
* Removed DLL_ONLY
* Replace HAVE_VM_COMPILED with NO_VM_COMPILED -- this means the JIT compiler
should be enabled on the OS X and VC builds now
* Remove the remainder of the freetype building stuff
2005-10-29 00:23:10 +00:00
Tim Angus
090f4d7266
* Compiler warning fix from ankon
2005-10-28 22:10:39 +00:00
Tim Angus
4c63d1ed40
* Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2454
2005-10-28 21:09:50 +00:00
Tim Angus
b1b7f975f1
* Fix the x86 vm
2005-10-27 22:38:25 +00:00
Tim Angus
556b3307c5
* ...and the other common headers
2005-10-27 22:05:38 +00:00
Tim Angus
bc9ee5644b
* Ignore __attribute__ when not using gcc
2005-10-27 21:49:36 +00:00
Ludwig Nussel
0bf8e3a8b0
add x86_64 vm. experimental, not enabled by default. you need as for it
...
to work.
2005-10-27 21:13:47 +00:00
Tim Angus
9af615f27c
* Add notional support for various architectures from vapier. Whether or not
...
these architectures work in practice is another matter :).
2005-10-26 23:15:44 +00:00
Tim Angus
f455a27edd
* Use platform headers to source various libc prototypes instead of unsafe
...
static ones (from vapier)
2005-10-26 23:08:56 +00:00
Tim Angus
0167152647
* Small changes to distclean target from vapier
2005-10-26 22:59:30 +00:00
Tim Angus
c02a7fce3c
* Split lcc $AR into $AR and $ARFLAGS (from vapier)
2005-10-26 22:52:17 +00:00
Tim Angus
7b84b0295f
* Fixed the OS X build as broken by revision 181
2005-10-26 20:52:53 +00:00
Tim Angus
3a2ad50406
* Moved various source files from their mod sdk locations to places more
...
appropriate for open source Q3
* This patch looks bigger than it really is, however it will probably break the
VC and OS X builds (easy to fix though)
2005-10-26 19:45:21 +00:00
Tim Angus
3ff42330e5
* Fixed some warnings on the OS X build
2005-10-26 19:32:15 +00:00
Tim Angus
9f55ae2dce
* Fixed a bug with QVM loading on big endian architectures
2005-10-26 17:09:50 +00:00
Tim Angus
d5af2e3d45
* Removed some Conscript
2005-10-25 13:34:47 +00:00
Tim Angus
6b5cf6e248
* Fixed unused variable warning
2005-10-23 17:23:23 +00:00
Tim Angus
69b81f2bd9
* Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2401
2005-10-23 17:18:23 +00:00
Ludwig Nussel
e27a35a207
remove french keyboard hack. we cannot know what this does on other
...
layouts
2005-10-23 15:27:59 +00:00
Ludwig Nussel
80cf67e2ac
map extra mouse buttons to K_AUX*
2005-10-23 15:25:23 +00:00
Tim Angus
f01ed7b3da
* Tab completed commands no longer treated like cvars
2005-10-21 19:52:52 +00:00
Tim Angus
d6b2a1e527
* Deleted some exes that were in the repository
2005-10-21 18:07:25 +00:00
Tim Angus
f306b2895f
* Tiny patch to print values of cvars when tab completing ala ET
2005-10-21 00:09:34 +00:00
Tim Angus
64f167f183
* Fix to potential out of range index bug from misanthropia
2005-10-20 16:19:43 +00:00
Tim Angus
769372e2f9
* Fix to buffer overflow in lightmap loading code from misanthropia
2005-10-20 16:14:05 +00:00
Tim Angus
653c5621ac
* Fixed the fix for the shader overrun. If this isn't a case for unified diffs,
...
I don't know what is :).
2005-10-20 01:23:17 +00:00
Tim Angus
b9c9f86cd1
* Cap the maximum snaps a client can request at the server framerate rather
...
than a hard-coded 30 (from misantropia). I'm slightly nervous about this
since it changes the behaviour versus 1.32b in that a client requesting e.g.
25 snaps will actually get 20 (default sv_fps) with this patch applied. I'm
not sure why anyone would want this though -- it may even destablise their
inter/extrapolation. I'll leave the bug (2422) open for a while and if no one
complains it can be closed.
2005-10-19 22:25:32 +00:00
Tim Angus
7d1b5b4acb
* Fix to buffer overrun in shader parser from misanthropia
2005-10-19 22:15:51 +00:00
Tim Angus
80919a1ce3
* Silly little patch to convert Q3 style color codes to ANSI escape codes. Note
...
this doesn't work too well with baseq3 since it logs color strings with no
color termination.
2005-10-19 01:51:19 +00:00
Zachary Slater
bcc229d5bb
Minor edit, thanks ankon!
2005-10-18 02:46:20 +00:00
Tim Angus
e652200405
* Added option to q3asm to instruct it to create qvms compatible with Q3 1.32b
2005-10-16 01:13:51 +00:00
Tim Angus
354196b3a9
* Added a little hack to support the console key on french keyboards
2005-10-14 23:00:39 +00:00