Commit graph

54 commits

Author SHA1 Message Date
Ludwig Nussel
e121614406 allocate memory pointer aligned 2005-11-02 20:34:25 +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
Tim Angus
acf1f46a2b * More Solaris work 2005-11-01 16:05:06 +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
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
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
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
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
9f55ae2dce * Fixed a bug with QVM loading on big endian architectures 2005-10-26 17:09:50 +00:00
Tim Angus
f01ed7b3da * Tab completed commands no longer treated like cvars 2005-10-21 19:52:52 +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
535545684f * Adjusted VM_LoadQVM interface 2005-10-14 17:09:03 +00:00
Tim Angus
f7c82c1adc * Fixed some annoying code duplication 2005-10-13 23:08:45 +00:00
Tim Angus
35cb35ff61 * (Non-trivial) fix to the "opStack corrupted in compiled code" bug 2005-10-13 14:47:00 +00:00
Ludwig Nussel
f62601ac53 don't call VM_Compile if it's not supported so the VM_Compile symbol
isn't needed
2005-10-09 13:05:44 +00:00
Tim Angus
d0204def78 * Removed nonsensical "smells like demo data, continueing[sic] anyways" message 2005-09-26 22:26:13 +00:00
Ludwig Nussel
d5fbff3f44 revert int->long change as it breaks on 64bit. Actually only
VM_CallInterpreted hurts as VM_CallCompiled is only used on 32bit. Use
same arg types for consistency nevertheless.
2005-09-26 22:23:46 +00:00
Tim Angus
d12b4d4d09 * Potential fix to ppc vm 2005-09-26 20:37:30 +00:00
Tim Angus
47d4c2bfe5 * 64 bit fix 2005-09-26 20:09:52 +00:00
Tim Angus
cde9e9e93c * Fixed some long/int warnings, hopefully this doesn't disrupt the MSVC and/or 64bit builds 2005-09-26 16:13:14 +00:00
Tim Angus
1ad7f9cff1 * Fix to broken win32 fix patch 2005-09-26 13:47:59 +00:00
Zachary Slater
aff4d7d858 Hopefully this will fix win32 msvc.netsuperduper++220000 extra entropy edition
compilation, and I updated the readme a little apparently.
2005-09-26 02:36:52 +00:00
Tim Angus
4bc5c29115 * FreeBSD fixes/updates from Andreas Kohn 2005-09-25 22:04:51 +00:00
Tim Angus
fe14a45ad1 * Applied ajax's cleanup patch 2005-09-23 17:39:14 +00:00
Tim Angus
4c6f59c541 * Applied Thilo Schulz's MDR patch 2005-09-23 17:08:25 +00:00
Tim Angus
2b8395a4d0 * Replaced lots of __linux__ || __FreeBSD__ with __GNUC__
* MinGW port now uses asm versions of SnapVector and ftol
* Improved the handling of mangled symbols in vm_x86.c
2005-09-23 02:59:15 +00:00
Tim Angus
fcaf343d7f * Port to MinGW 2005-09-22 03:21:33 +00:00
Tim Angus
33a48a0336 * Fix to multiple buffer overflow bugs in CL_Rcon_f
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Six
54351a83c4 . 2005-09-04 05:45:05 +00:00
Six
38e3825516 Changed inline to __inline.
Visual C does not accept the inline keyword, only __inline.

Visual C does not recognize the #warning compiler directive
2005-09-04 05:19:58 +00:00
Ludwig Nussel
4a5f66fbe3 don't make unaligned used of OP_BLOCK_COPY an error. The bytecode
compiler doesn't care either.
2005-09-03 12:01:51 +00:00
Zachary Slater
f327407bb8 Cleanups from pomac! 2005-09-02 20:13:47 +00:00
Ludwig Nussel
1b62818a09 - add note about 64bit mods and the demo
- fix mod functions for 64bit
2005-08-30 22:38:59 +00:00
Ludwig Nussel
54d65a0ead - load qvm file by default again to avoid 'unpure' error
- fix loading qvms in 64bit q3
2005-08-30 21:25:54 +00:00
Ludwig Nussel
88171d6bb7 support for 64bit native mods 2005-08-30 20:30:17 +00:00
Ludwig Nussel
2078cfa9a0 always try native dll first 2005-08-30 15:38:05 +00:00
Ludwig Nussel
fc29447726 really don't add restrictions on demo data 2005-08-30 15:30:07 +00:00
Ludwig Nussel
9a455ba5ec disable demo restrictions 2005-08-30 11:37:53 +00:00
Ludwig Nussel
109da009d2 fix build on ppc. no guarantee it runs though 2005-08-30 11:37:41 +00:00
Ludwig Nussel
5ae70d54b0 remove svn:executable property 2005-08-28 17:54:51 +00:00
Zachary Slater
8b1d93b397 Patching from floam with some edits by myself:
I was working on a patch earlier to fix some more things up to be more
modern, and I added a couple lines from that cleanup patch I showed you
on irc. Some commented code was removed, some stuff was made to not be
broke (old head usage), the makefile should install things better, and a
a few GCC warnings were gagged. I also attempted to version it but
you'll probably want to change that to whatever versioning rules you
decide on using.
2005-08-28 03:46:44 +00:00
Zachary Slater
d54f831dd7 From ludwig: This one fixes a rendering error 2005-08-27 18:11:08 +00:00
Zachary Slater
7c8e2766c6 from floam: Finishes Ludwig's patch by adding vm_none stub. 2005-08-27 05:06:47 +00:00