aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/unix_main.c
Commit message (Collapse)AuthorAgeFilesLines
* * Resolve symlinks to the binary. This prevents the situation where a symlinktma2006-02-261-2/+50
| | | | | | | | 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@586 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-181-3/+3
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added code to sleep a bit when q3 has no focus and sleep a lot when it'stma2006-01-231-0/+12
| | | | | | | minimised (SDL only) git-svn-id: svn://svn.icculus.org/quake3/trunk@519 edf5b092-35ff-0310-97b2-ce42778d08ea
* * The use of va in the ansi color stuff was preventing developer 1 mode (andtma2006-01-221-3/+11
| | | | | | | probably various other things) from working properly git-svn-id: svn://svn.icculus.org/quake3/trunk@517 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Overhaul of console autocompletiontma2006-01-221-17/+1
| | | | | | | | | | - 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Simple patch that obviates the need for the "quake3" shell script as shippedtma2006-01-101-1/+1
| | | | | | | with 1.32 git-svn-id: svn://svn.icculus.org/quake3/trunk@469 edf5b092-35ff-0310-97b2-ce42778d08ea
* Look for correct filename extension when loading native DLLs.icculus2005-12-051-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@416 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't need to check for Altivec in unix mainline anymore (qcommon icculus2005-12-041-1/+0
| | | | | | | | handles this now). git-svn-id: svn://svn.icculus.org/quake3/trunk@411 edf5b092-35ff-0310-97b2-ce42778d08ea
* Better altivec cvar handling. Should fix crashes at startup, or curious icculus2005-12-041-9/+5
| | | | | | | people that toggle it on at runtime on a G3. git-svn-id: svn://svn.icculus.org/quake3/trunk@410 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a warning on non-PPC buildstma2005-12-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@399 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed detection of Altivec on Mac OS X, and added attempt at general detectionicculus2005-12-011-8/+34
| | | | | | | | with SIGILL/setjmp hackery for PowerPC Linux, etc. git-svn-id: svn://svn.icculus.org/quake3/trunk@398 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.localtma2005-11-261-26/+25
| | | | | | | | | * 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@375 edf5b092-35ff-0310-97b2-ce42778d08ea
* Mac OS X work...lots of little changes that touch a lot of random places.icculus2005-11-261-10/+84
| | | | | | | | | | | | | | | 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@373 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Centralise architecture defines in q_platform.htma2005-11-051-90/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@273 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Beginnings of Solaris support from Vincent S. Cojottma2005-10-291-1/+7
| | | | | | | * Note this patch also splits USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO git-svn-id: svn://svn.icculus.org/quake3/trunk@199 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * 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... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* add x86_64 vm. experimental, not enabled by default. you need as for itludwig2005-10-271-1/+0
| | | | | | | to work. git-svn-id: svn://svn.icculus.org/quake3/trunk@188 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add notional support for various architectures from vapier. Whether or nottma2005-10-261-1/+19
| | | | | | | these architectures work in practice is another matter :). git-svn-id: svn://svn.icculus.org/quake3/trunk@186 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Moved various source files from their mod sdk locations to places moretma2005-10-261-1/+1
| | | | | | | | | 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) git-svn-id: svn://svn.icculus.org/quake3/trunk@181 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Silly little patch to convert Q3 style color codes to ANSI escape codes. Notetma2005-10-191-1/+86
| | | | | | | | this doesn't work too well with baseq3 since it logs color strings with no color termination. git-svn-id: svn://svn.icculus.org/quake3/trunk@165 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove useless setuid codeludwig2005-09-031-5/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@73 edf5b092-35ff-0310-97b2-ce42778d08ea
* Cleanups from pomac!zakk2005-09-021-9/+9
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@67 edf5b092-35ff-0310-97b2-ce42778d08ea
* Screw with (de)initialization code.icculus2005-09-011-1/+1
| | | | | | | | | | | | This fixes: - Mouse grab being lost after alt-enter goes windowed in the SDL driver. - Joystick ceasing to function on vid_restart in the SDL driver. - Audio failing to work after after snd_restart in the SDL driver. - Probably other things. git-svn-id: svn://svn.icculus.org/quake3/trunk@62 edf5b092-35ff-0310-97b2-ce42778d08ea
* First patch from vapier for easier packaging:zakk2005-08-311-0/+6
| | | | | | | | | it'd make it easier on people packaging up quake3 if we could set system paths for the baseq3 dir and if the makefile would respect things like CC/CXX from the build env git-svn-id: svn://svn.icculus.org/quake3/trunk@47 edf5b092-35ff-0310-97b2-ce42778d08ea
* add s390, s390x and ia64. It builds, don't know if it runs tough.ludwig2005-08-311-0/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@44 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix cdpath, deuglify dlopen code, load dll also from cdpathludwig2005-08-311-37/+45
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@43 edf5b092-35ff-0310-97b2-ce42778d08ea
* support for 64bit native modsludwig2005-08-301-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@34 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix ppc64 stringludwig2005-08-301-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@33 edf5b092-35ff-0310-97b2-ce42778d08ea
* always try native dll firstludwig2005-08-301-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@32 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* prepare for ppc supportludwig2005-08-281-8/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@23 edf5b092-35ff-0310-97b2-ce42778d08ea
* Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.zakk2005-08-271-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@7 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-1273/+1273
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+1273
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea