Commit Graph

946 Commits

Author SHA1 Message Date
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
Tim Angus a31dc5c21d * s/x86/i386 on previous revision 2007-12-07 10:12:55 +00:00
Tim Angus 3cc683e809 * (bug 3460) Revert OS X uname change 2007-12-07 10:11:47 +00:00
Zachary Slater d08f861e13 README update 2007-12-04 06:55:16 +00:00
Tim Angus 6113cf7a68 * (bug 3454) Fix crash in autocompletion due to incorrect strncpy buffer size 2007-12-03 00:07:56 +00:00
Tim Angus dfc97a1dfa * Make some botlib memory allocations /potentially/ safer 2007-12-02 13:30:12 +00:00
Julian Priestley 4f0565a4a7 * Add con_log.c and con_passive.c from r1222 to quake3.vcproj.
* Rename 'write' and 'read' variables in con_log.c, as these are already
defined in io.h in the MSVC environment.
2007-12-02 00:48:59 +00:00
Tim Angus 5bd3ef4190 * Fix poppy captured audio when recording videos 2007-12-01 19:39:03 +00:00
Tim Angus 3cde9bf0dc * Add con_log.c to log all console output
* Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c
* Add Sys_ErrorDialog to report ERR_FATALs to the user
  + On Windows use a MessageBox and offer to copy the console log to the
    clipboard
  + On everything else print to the terminal and save the console log as
    crashlog.txt
2007-11-30 18:32:52 +00:00
Ludwig Nussel ccc66aadff Solaris fixes by Vincent Cojot 2007-11-30 15:08:57 +00:00
Julian Priestley fdff748749 * Remove MINSDL_ values from vc project for debug, debug TA and release
configurations (previous commit only removed them from release TA
configuration)
2007-11-27 09:33:48 +00:00
Tim Angus b61ccb0b9b * Initialise botlib libvarlist to NULL as having it uninitialised may
potentially cause problems
2007-11-26 21:11:02 +00:00
Tim Angus eaeed742c5 * Move MINSDL_ values to sys_local.h from Makefile/VC project
* Merge *BSD platform definitions in q_platform.h
* IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>)
2007-11-26 20:18:53 +00:00
Tim Angus 6bd4bb16a0 * Move SDL library version check to sys_main.c as it's proving difficult to
make the Makefile check sufficiently portable
* Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls
* Replace OS X uname workaround with Solaris workaround, as I believe OS X
  uname now behaves the same as GNU name
2007-11-25 23:41:01 +00:00
Tim Angus 3f3e1a51a1 * (bug 3420) Don't respect sv_killserver unless a server is actually running
* (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon)
2007-11-23 00:33:13 +00:00
Tim Angus f2f8e73d58 * s/O_NDELAY/O_NONBLOCK/ 2007-11-19 19:59:37 +00:00
Tim Angus b62950ca6e * Fix bug where an extraneous render command can cause a crash when
recording video
* Make S_CodecUtilClose NULL the snd_stream_t pointer
* Fix indentation in runtime SDL check code
2007-11-18 01:06:46 +00:00
Tim Angus 3f3c827bcd * Remove all the crappy old bat/sh QVM building scripts 2007-11-16 22:41:01 +00:00
Ludwig Nussel f0215128af make master server used by client configurable (cl_master)
patch by Erik Kloppenburg
2007-11-14 19:04:12 +00:00
Ludwig Nussel 62363cdf93 rework script to create loki installer
the script now automatically picks up the architectures present in
the build directory. Also builds installer without data files if no
data files are present.

Wrt loki metadata the installer now installs ioq3 as default
component instead of the data files. After all baseq3 is just a mod
(almost) like any other.
2007-11-13 16:37:41 +00:00
Julian Priestley 0d8d161eaf * Enable incremental linking for debug configurations in the MSVC projects
files. This allows edit and continue to be used, and prevents a build warning
about inconsistencies in the project files.
* Convert line endings back to DOS in the MSVC project files, as MSVC
silently replaces UNIX endings for project files.
2007-11-12 23:36:01 +00:00
Tim Angus 25ac1317b1 * Remove work around for a 2 year old OpenAL bug that now actually causes a
crash on snd_restart
2007-11-11 22:15:25 +00:00
Tim Angus e8d3c48535 * Whitespace consistency in tr_init.c 2007-11-07 20:16:37 +00:00
Ludwig Nussel 6f85c247e3 Don't define ELF, use __ELF__ instead 2007-11-06 16:41:57 +00:00
Tim Angus 527a5ddb1d * Fix to win_resource.rc for MSVC build 2007-11-03 21:53:50 +00:00
Tim Angus 6d5fc14c66 * Move TOOLS_OPTIMIZE 2007-11-02 23:58:32 +00:00
Tim Angus 31c24bd0d2 * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>)
* (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>)
* For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0
2007-11-02 23:36:23 +00:00
Tim Angus 881988636a * Don't truncate the cvar value when the user specifically asks for it 2007-11-01 16:07:13 +00:00
Ludwig Nussel fe349e80ba include endian.h (#3399) 2007-10-26 15:01:52 +00:00
Ludwig Nussel 788a4e1cf8 introduce TOOLS_OPTIMIZE to be able to override compiler flags used for
tools compilation
2007-10-23 13:35:31 +00:00
Tim Angus b5074539ae * Sigh 2007-10-22 19:08:33 +00:00
Tim Angus 4eb569b706 * Rename g_logfile back to g_log, but keep the cvar variable as is (see r128) 2007-10-22 19:06:38 +00:00
Tim Angus 2bebaff8b4 * Add required header on *BSD 2007-10-13 13:26:41 +00:00
Tim Angus 6dffd08e74 * Fix to qvm compilation on big endian architectures 2007-10-13 12:03:47 +00:00
Tim Angus 8f43965e13 * OpenBSD support (Toni Spets <toni.spets@gmail.com>) 2007-10-12 23:27:47 +00:00
Tim Angus aa5e852056 * Unconditionally place a '\' at the start of the command buffer when
autocompleting -- you're still all WRONG :p
* Fix bugette where the completee didn't get its case copied from
  the completed token
* Add functionality to autocomplete key names
* Don't build client command completion on the dedicated server
2007-10-12 22:34:45 +00:00
Ludwig Nussel 66b31c94b9 actually build 64bit binaries on ppc64 2007-10-12 10:25:13 +00:00
Tim Angus e955f142b8 * Grr. Argh. Whitespace. etc. 2007-10-09 20:50:18 +00:00
Tim Angus a9eaefecab * Replace Sys_AnsiColorify with Sys_AnsiColorPrint, a more simple means of
achieving the same feature
* Handle non-numeric color codes in Sys_AnsiColorPrint
2007-10-09 20:49:19 +00:00
Ludwig Nussel 95f67c2c3e fix incorrect use of strncpy
this function should really be removed or rewritten from scratch
2007-10-08 10:26:28 +00:00
Tim Angus da8f451263 * Bug fix to collision optimisation (arQon) 2007-10-06 21:59:17 +00:00