aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* Make sure Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN are defined correctly foricculus2005-11-291-3/+8
| | | | | | | | PowerPC/x86 Mac OS X. Fixes Bugzilla #2510. git-svn-id: svn://svn.icculus.org/quake3/trunk@388 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.localtma2005-11-262-7/+9
| | | | | | | | | * 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-263-2/+15
| | | | | | | | | | | | | | | 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
* * Remove the debug text that nobody seemed to noticetma2005-11-191-1/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@367 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Bleh.. whitespacetma2005-11-161-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@364 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Partial implementation of FS_Seek for files in pk3stma2005-11-161-12/+32
| | | | | | | * A couple of RIFF decoder tweaks/fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@363 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Small "bug" fix to MSG_WriteBitstma2005-11-151-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@362 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Quiet some warnings on OS Xtma2005-11-132-67/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@355 edf5b092-35ff-0310-97b2-ce42778d08ea
* store temporary files in /tmp to save space in ~ludwig2005-11-131-31/+33
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@342 edf5b092-35ff-0310-97b2-ce42778d08ea
* use common macro for alignmentludwig2005-11-131-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@339 edf5b092-35ff-0310-97b2-ce42778d08ea
* use system memcpy and memsetludwig2005-11-063-5/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@301 edf5b092-35ff-0310-97b2-ce42778d08ea
* - crash solvedludwig2005-11-061-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@297 edf5b092-35ff-0310-97b2-ce42778d08ea
* - move code for standalone compilation out of vm_x86_64.cludwig2005-11-061-273/+37
| | | | | | | - reset vm->compiled if something goes wrong in VM_Compile git-svn-id: svn://svn.icculus.org/quake3/trunk@295 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fall back to interpreter if VM_Compile resets vm->compiledludwig2005-11-061-2/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@294 edf5b092-35ff-0310-97b2-ce42778d08ea
* - set umask to 0077 before writing the cdkey, the rest of the worldludwig2005-11-061-3/+15
| | | | | | | doesn't need to read it. git-svn-id: svn://svn.icculus.org/quake3/trunk@293 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tidy-up of q_platform.htma2005-11-062-178/+98
| | | | | | | | | * Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines * Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be removed git-svn-id: svn://svn.icculus.org/quake3/trunk@287 edf5b092-35ff-0310-97b2-ce42778d08ea
* - put ALIGN macro into q_shared.hludwig2005-11-051-0/+1
| | | | | | | - yet another alignment fix for botlib git-svn-id: svn://svn.icculus.org/quake3/trunk@282 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Enable use of asm on Solaris-x86tma2005-11-051-2/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@281 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Patch from AJ <anthonyj@planetquake.com> which replaces a bunch of hard codedtma2005-11-051-21/+21
| | | | | | | constants with #define constants git-svn-id: svn://svn.icculus.org/quake3/trunk@280 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Oops, missed a bittma2005-11-051-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@274 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Centralise architecture defines in q_platform.htma2005-11-052-41/+67
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@273 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced a bunch of inline and __inline with ID_INLINEtma2005-11-048-172/+142
| | | | | | | | | * Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build git-svn-id: svn://svn.icculus.org/quake3/trunk@269 edf5b092-35ff-0310-97b2-ce42778d08ea
* actually when calling from the vm to the engine there are more than 10ludwig2005-11-021-1/+1
| | | | | | | arguments git-svn-id: svn://svn.icculus.org/quake3/trunk@235 edf5b092-35ff-0310-97b2-ce42778d08ea
* pass only 10 arguments. vm_* doesn't use more anyways.ludwig2005-11-021-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@234 edf5b092-35ff-0310-97b2-ce42778d08ea
* pass only 10 arguments. vm_* doesn't use more anyways.ludwig2005-11-021-3/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@233 edf5b092-35ff-0310-97b2-ce42778d08ea
* allocate memory pointer alignedludwig2005-11-021-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@231 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Split off q_platform.h from q_shared.htma2005-11-012-286/+329
| | | | | | | | | | | * 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@209 edf5b092-35ff-0310-97b2-ce42778d08ea
* use memcpy to fix use of misaligned dataludwig2005-11-011-1/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@208 edf5b092-35ff-0310-97b2-ce42778d08ea
* * More Solaris worktma2005-11-011-8/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@205 edf5b092-35ff-0310-97b2-ce42778d08ea
* * General decrufting:tma2005-10-293-30/+7
| | | | | | | | | | * Removed Q3_STATIC and associated defines * Removed MAC_STATIC * Replaced __LCC__ with Q3_VM * Removed bspc and splines directories git-svn-id: svn://svn.icculus.org/quake3/trunk@201 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to the VM interpreter on the linux ppc dedicated servertma2005-10-291-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@200 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Beginnings of Solaris support from Vincent S. Cojottma2005-10-292-2/+48
| | | | | | | * 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
* use memcpy for OP_BLOCK_COPYludwig2005-10-291-65/+56
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@198 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-2930-30/+30
| | | | | | | | | | | * 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
* * Deleted code/unix/vm_x86.c - wtf was that about anyway?tma2005-10-292-24/+3
| | | | | | | | | | | * 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@194 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix the x86 vmtma2005-10-271-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@191 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and the other common headerstma2005-10-273-0/+16
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@190 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Ignore __attribute__ when not using gcctma2005-10-271-0/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@189 edf5b092-35ff-0310-97b2-ce42778d08ea
* add x86_64 vm. experimental, not enabled by default. you need as for itludwig2005-10-274-7/+1282
| | | | | | | to work. git-svn-id: svn://svn.icculus.org/quake3/trunk@188 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Moved various source files from their mod sdk locations to places moretma2005-10-2614-645/+4104
| | | | | | | | | 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
* * Fixed a bug with QVM loading on big endian architecturestma2005-10-261-16/+25
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@179 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tab completed commands no longer treated like cvarstma2005-10-211-4/+16
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@173 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tiny patch to print values of cvars when tab completing ala ETtma2005-10-211-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@171 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Adjusted VM_LoadQVM interfacetma2005-10-141-7/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@158 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed some annoying code duplicationtma2005-10-131-94/+58
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@157 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (Non-trivial) fix to the "opStack corrupted in compiled code" bugtma2005-10-134-19/+86
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@156 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't call VM_Compile if it's not supported so the VM_Compile symbolludwig2005-10-091-3/+4
| | | | | | | isn't needed git-svn-id: svn://svn.icculus.org/quake3/trunk@150 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Removed nonsensical "smells like demo data, continueing[sic] anyways" messagetma2005-09-261-1/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@119 edf5b092-35ff-0310-97b2-ce42778d08ea
* revert int->long change as it breaks on 64bit. Actually onlyludwig2005-09-266-9/+10
| | | | | | | | VM_CallInterpreted hurts as VM_CallCompiled is only used on 32bit. Use same arg types for consistency nevertheless. git-svn-id: svn://svn.icculus.org/quake3/trunk@118 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Potential fix to ppc vmtma2005-09-261-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@116 edf5b092-35ff-0310-97b2-ce42778d08ea