Commit graph

986 commits

Author SHA1 Message Date
Thilo Schulz
11d9608fca Remove obsolete code for obfuscation. 2008-03-25 21:59:31 +00:00
Thilo Schulz
99fe055931 Commit patch from Jacques Boscq, which will prohibit the calling of memcpy with src=dest 2008-03-25 21:45:20 +00:00
Thilo Schulz
bb47026b5f - Replace vsprintf function in bg_lib.c with vsnprintf implementation started by Patrick Powell.
- Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf.
2008-03-25 21:36:09 +00:00
Thilo Schulz
5728fc2ec8 vsnprintf -> Q_vsnprintf 2008-03-25 16:44:01 +00:00
Thilo Schulz
302b1b49ff Applied patch to clean up code for reading cvars and add new command "print" for printing the content of cvars, by Ben Millwood.
See also https://bugzilla.icculus.org/show_bug.cgi?id=3546
2008-03-25 16:20:03 +00:00
Ludwig Nussel
7a5243a3b2 use vm->callLevel to count recursive calls to VM_Call
Throw an error if vm->callLevel is set and VM_Free is called.
2008-03-24 21:20:55 +00:00
Ludwig Nussel
6c5211c0d3 catch Cbuf_ExecuteText(EXEC_NOW,...) from the ui as that would crash the vm 2008-03-24 21:20:49 +00:00
Tim Angus
6ddf70b0eb * Compile bg_* files separately for each game module, as originally intended 2008-03-17 16:47:40 +00:00
Tim Angus
6a213889dc * (bug 3567) Fix to error handling in Ogg decoder (Joerg Dietrich) 2008-03-11 21:43:25 +00:00
Tim Angus
b5a220359b * Ogg codec fix regarding ogg files in pk3s (Tr3b) 2008-03-02 15:28:39 +00:00
Tim Angus
e31156e586 * Write q3config_server.cfg for the server, to avoid reseting client variables
after running a dedicated server
2008-02-28 21:39:54 +00:00
Tim Angus
fd69a32508 * (bug 3427) Single Player causes SIGBUS on SGI IRIX (Patrick Baggett) 2008-02-20 19:41:52 +00:00
Thilo Schulz
dc3d2457e0 Angst and zinx cajoled me into removing trying to load libcurl.so again. 2008-02-17 13:46:34 +00:00
Thilo Schulz
a99634c2d3 Fall back to libcurl.so.4 or libcurl.so.4 if the default symlink does not exist. 2008-02-16 22:57:45 +00:00
Thilo Schulz
1f86aba342 Remove .3 part in default curl library. With it www download is broken on most recent distributions, as there is no libcurl.so.3 2008-02-16 22:23:47 +00:00
Ludwig Nussel
c0f7c8d9cd png fixes by Joerg Dietrich 2008-02-15 08:37:44 +00:00
Julian Priestley
14fda56059 * Add the new tr_image_*.c files to the quake3 MSVC project 2008-02-14 20:30:51 +00:00
Ludwig Nussel
d91c5c9282 make the pcx decode actually work 2008-02-14 13:30:32 +00:00
Tim Angus
a5b51a95d7 * Consolidate tr_image_*.h headers into tr_local.h to more closely follow the
Q3 coding style
* Prefix image loaders with R_ now they're non-static
2008-02-14 13:16:13 +00:00
Ludwig Nussel
84f32478b9 remove code duplicated from libjpeg and make internal functions static 2008-02-14 11:13:51 +00:00
Ludwig Nussel
7132b492dd don't read more memory than available in jpg decode 2008-02-14 11:13:42 +00:00
Ludwig Nussel
c77f537ae3 make pcx decoder more robust against corrupt files 2008-02-14 11:13:30 +00:00
Ludwig Nussel
85ba66e7e8 move all image decoders into separate files 2008-02-14 11:13:18 +00:00
Ludwig Nussel
a3d62033d8 make tga decoder more robust against corrupt files 2008-02-14 11:12:59 +00:00
Ludwig Nussel
02d842532e make bmp decoder more robust against corrupt files 2008-02-14 11:12:42 +00:00
Ludwig Nussel
f65dbd4351 integer overflow safeguards 2008-02-12 10:03:43 +00:00
Ludwig Nussel
4eec54c338 move png support to separate file 2008-02-12 10:03:21 +00:00
Tim Angus
cb06e3e93a * Fixes to some muppetry in snd_dma.c (arQon) 2008-02-10 21:01:06 +00:00
Tim Angus
50783f1dbb * Disabling r_allowSoftwareGL as per bug 3526 2008-01-31 17:44:33 +00:00
Tim Angus
59c231c6c6 * (bug 3412) %s expansion security patch (DevHC) 2008-01-22 23:44:10 +00:00
Tim Angus
9cc4e0c976 * Fix to bug in S_FileExtension (Tr3B) 2008-01-19 19:06:25 +00:00
Tony J. White =
7cc9ee4f84 * fix MacOSX build instructions in README 2008-01-03 20:27:46 +00:00
Tony J. White =
ff84183fe7 * print LDFLAGS summary in the make output after CFLAGS summary (Hobbes)
* Fix typo in make-macosx-ub.sh (Hobbes)
2008-01-03 19:04:23 +00:00
Tony J. White =
cabf9b74f9 * Update the Mac OS X build process (again)
* Allow BUILD_* env vars to be passed to make to build only specific 
  components
2008-01-03 06:19:11 +00:00
Tony J. White =
4c3b7def84 * send along the reason for disconnection when sending the disconnect
cmd to all clients in SV_FinalMessage()
* on Com_Error(), set the cvar "com_errorCode" with the errorParm_t integer
  value for the error.  This can be used by a mod's ui to an draw error
  dialog specific for the error (e.g. Reconnect button on ERR_SERVERDISCONNECT)
2007-12-31 22:35:22 +00:00
Thilo Schulz
45698be226 Fix build process on 10.5 and 10.4 sdks for tjw's modifications 2007-12-31 16:11:29 +00:00
Tony J. White =
2d32d3dbff * Improved Mac OS X build support.
* Dropped support for Mac OS X 10.2 to simplify things.  If anyone still
  needs this version supported let me know.
2007-12-31 03:47:36 +00:00
Zachary Slater
c1f8727f0f Slackbuild patch from Hobbes 2007-12-30 21:37:39 +00:00
Thilo Schulz
08ee31604a Remove small redundancy 2007-12-27 11:45:20 +00:00
Thilo Schulz
f41b32a39a Update readme to mirror newest requirements for compiling this project on macosx 2007-12-14 21:54:45 +00:00
Thilo Schulz
87fa68fd41 Add gamedirectory in .app to searchpath on MacOSX 2007-12-14 21:53:57 +00:00
Thilo Schulz
3648af78dc Fix building on MacOSX. 2007-12-14 16:54:13 +00:00
Thilo Schulz
662b67c733 Replace obsolete macro with some other macro. I hope this does not break too much. 2007-12-14 16:25:33 +00:00
Thilo Schulz
99c8676383 Revert changes in ioquake3 AL code, fix OpenAL headers. 2007-12-13 23:27:41 +00:00
Thilo Schulz
a9a8022d53 Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again. 2007-12-13 13:46:30 +00:00
Thilo Schulz
d075f172df Fix multiple symbol errors for compilation on MacOSX. Remove unnecessary definitions. 2007-12-13 10:58:43 +00:00
Tim Angus
b906e94a6d * (bug 3470) Correct type for function pointer
(baggett.patrick@figglesoftware.com)
2007-12-11 21:11:01 +00:00
Tim Angus
b9ab949ec7 * Replace "powered by ioq3" text with ui_ioq3 CVAR_ROM
* Guess display aspect based on the desktop resolution
* Sort detected resolutions by...
  + closeness to display aspect
  + ascending width
  + ascending height
* Apply Q3 coding style to resolution detection code
2007-12-11 00:19:23 +00:00
Ludwig Nussel
6b5fbd189d detect available resolutions and offer them in the menu
Store the resolutions detected by SDL in a cvar. The mod code can
then optionally use the cvar to offer a better choice in the menu.

Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
2007-12-08 10:08:05 +00:00
Ludwig Nussel
f2cbb819fc print "powered by the ioquake3 engine" in the main menu 2007-12-08 10:08:02 +00:00