Commit graph

210 commits

Author SHA1 Message Date
Ludwig Nussel
2a6c9bd2fd tell the linker that we want NX stack if possible 2006-01-13 21:40:51 +00:00
Tim Angus
52c3bda4b3 * Simple patch that obviates the need for the "quake3" shell script as shipped
with 1.32
2006-01-10 19:22:02 +00:00
Tim Angus
70c9c62039 * Use a slightly different method for generating qvm dependencies to avoid
FreeBSD 'find' weirdness
2006-01-06 21:56:50 +00:00
Ludwig Nussel
13039ef44f make memory for generated opcodes executable so the program works with
enabled NX feature.
2006-01-06 19:11:05 +00:00
Tim Angus
dbf7caec10 * Ogg codec support from Joerg Dietrich <dietrich_joerg@gmx.de> (disabled by
default)
2006-01-06 17:36:03 +00:00
Tim Angus
f5f3c64a25 * Somebody fedex me a Mac and an x86_64 PC please? 2006-01-06 00:33:24 +00:00
Tim Angus
981112669f * Fix to x86_64 build
* Removal of a couple of unused variables
2006-01-05 22:53:55 +00:00
Tim Angus
7b31efbec7 * Dependency generation for the .asm files 2006-01-05 03:34:01 +00:00
Tim Angus
6e24cfe7d3 * Fix the MinGW and (hopefully) OS X builds
* Remove custom memcpy/memset code
2006-01-04 03:40:49 +00:00
Tim Angus
2d9d10772f * Solaris fixes 2006-01-04 03:14:01 +00:00
Tim Angus
a21eb2bbcb * AVI video output
- Uses motion jpeg codec by default
  - Use cl_avidemo to set a framerate
  - \video [filename] to start capture
  - \stopvideo to stop capture
  - Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Ludwig Nussel
696bd8c8ab cleanup:
- define TARGETS at central place
- $(PLATFORM)quake3$(BINEXT) -> ioquake3.$(ARCH)$(BINEXT)
- remove GLIBC variable
2005-12-30 17:50:47 +00:00
Tim Angus
310190a466 * Support for MinGW cross compilation 2005-12-29 00:04:41 +00:00
Tim Angus
db5faeaeaa * NetBSD support patch from optical (alex@rigbo.se) 2005-12-27 19:46:01 +00:00
Ludwig Nussel
7607d1083b enable x86_64 vm 2005-12-18 15:36:07 +00:00
Aaron Gyes
98dd1cc767 I can't be trusted! 2005-12-13 02:35:00 +00:00
Aaron Gyes
52205d8d3c Thanks Jamie Wilkinson 2005-12-12 06:56:01 +00:00
Aaron Gyes
88237be90b Try different way 2005-12-12 05:41:10 +00:00
Aaron Gyes
a45cab3b42 Tabs 2005-12-12 03:49:19 +00:00
Aaron Gyes
66516abf0a Don't install q3ded binary on ming32, it doesn't exist 2005-12-12 03:48:00 +00:00
Tim Angus
2499d9b0f5 * Solaris patch from Vincent S. Cojot 2005-12-06 19:03:39 +00:00
Ryan C. Gordon
fa64e09a5b Disabled PowerPC VM. 2005-12-06 00:16:25 +00:00
Ludwig Nussel
04a6532d27 remove EULA document to prevent confusion 2005-12-05 20:41:15 +00:00
Ryan C. Gordon
cfdd586ef8 Look for correct filename extension when loading native DLLs. 2005-12-05 01:11:41 +00:00
Ryan C. Gordon
24209ecec6 Removed -fomit-frame-pointer from Mac OS X builds. Someone should
probably gank this from the other platforms, too.
2005-12-04 23:14:23 +00:00
Ryan C. Gordon
9b0cd8009d Don't need to check for Altivec in unix mainline anymore (qcommon
handles this now).
2005-12-04 23:12:46 +00:00
Ryan C. Gordon
ff9c89f8fe Better altivec cvar handling. Should fix crashes at startup, or curious
people that toggle it on at runtime on a G3.
2005-12-04 21:40:25 +00:00
Tim Angus
1b314e8934 * Updated AL headers
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
  headers if desired
2005-12-01 20:53:28 +00:00
Tim Angus
31b7243ef3 * Fix a warning on non-PPC builds 2005-12-01 18:01:43 +00:00
Ryan C. Gordon
5bc17ccf4b Fixed detection of Altivec on Mac OS X, and added attempt at general detection
with SIGILL/setjmp hackery for PowerPC Linux, etc.
2005-12-01 11:49:02 +00:00
Ryan C. Gordon
4bea1e4ff9 r_smp now works as expected with sdl_glimp.c on Mac OS X. 2005-12-01 11:16:36 +00:00
Ludwig Nussel
b130d6be52 fix the stupid i386/x86/amd64/x86_64 weirdness 2005-12-01 09:54:14 +00:00
Ludwig Nussel
f5228d8745 don't use ImageMagick 2005-11-30 21:21:46 +00:00
Ryan C. Gordon
7590843afe Fixed comment. 2005-11-28 11:20:35 +00:00
Ryan C. Gordon
6c0079508c First shot at SMP renderer with sdl_glimp. Does not work yet! 2005-11-28 10:56:27 +00:00
Ludwig Nussel
be42cb3201 files to create a loki-setup based installer. run "make installer" 2005-11-27 15:34:16 +00:00
Ludwig Nussel
64025e68f0 fix warning about cast from integer to pointer 2005-11-27 15:01:56 +00:00
Tim Angus
382c6adb54 * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
* 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
2005-11-26 15:01:28 +00:00
Ryan C. Gordon
721b9a7d01 Mac OS X work...lots of little changes that touch a lot of random places.
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.
2005-11-26 07:46:21 +00:00
Tim Angus
47c70ae076 * ... 2005-11-15 22:22:45 +00:00
Tim Angus
6be591daa1 * Don't link OpenAL against q3ded 2005-11-15 22:09:45 +00:00
Tim Angus
668fdc102c * Unbreak the MinGW build more...
* Unbreak USE_OPENAL_DLOPEN=1
2005-11-13 22:16:24 +00:00
Tim Angus
33c1528673 * Unbreak the MinGW build 2005-11-13 21:23:16 +00:00
Ludwig Nussel
1c2722a9ba link against libopenal by default rather than dlopening it 2005-11-13 21:01:44 +00:00
Tim Angus
84c4f21082 * OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
+ An abstract codec system, simplifying support for new formats
  + Changes versus BlackAura's patch:
    o Consolidated the OpenAL parts into one file
    o Changed the function naming scheme to more closely resemble Q3
    o Changed the interface to fall back on the "base" sound system
      if loading OpenAL fails
  + This is enabled on Linux and MinGW for now, but should work on the
    other *nixs with appropriate additions to the Makefile
  + NOT enabled on OS X or MSVC Windows builds
  + Probably breaks the Windows build again
* Retabulated sdl_snd.c and made the messages less verbose since
  there do not seem to be many having problems with SDL sound now
2005-11-13 18:58:14 +00:00
Ludwig Nussel
bfb24584f5 - add -Wimplicit -Wstrict-prototypes CFLAGS again
- remove -pipe. not needed IMO.
2005-11-11 15:07:15 +00:00
Tim Angus
e905b369c3 * Makefile target dependancy fix 2005-11-07 17:44:05 +00:00
Ludwig Nussel
b2f39d7ddd use system memcpy and memset 2005-11-06 18:22:49 +00:00
Tim Angus
5201000f39 * Ignore in_dgamouse setting if dga isn't available
* Changed status of Solaris sparc
2005-11-06 17:31:48 +00:00
Tim Angus
f20cca46e8 * Install the tools on every build, so a distclean isn't necessary if the tool
source changes now
* Basically rewrote the lcc Makefile to be more sane
* Removed various bits of lcc that weren't built/needed
2005-11-06 16:50:58 +00:00
Tim Angus
4eaebe4a31 * Tidy-up of q_platform.h
* Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines
* Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be
  removed
2005-11-06 00:29:59 +00:00
Tim Angus
81c1b3128b * Enable use of asm on Solaris-x86 2005-11-05 18:41:37 +00:00
Tim Angus
fce1a89fad * Fix a stupid typo 2005-11-05 15:07:05 +00:00
Tim Angus
fe09cd3217 * Patch from vapier that aids packaging
* Truth value of USE_SDL changed to 1 from true, for consistency
2005-11-05 01:06:09 +00:00
Tim Angus
a87185a96f * Centralise architecture defines in q_platform.h 2005-11-05 00:29:40 +00:00
Tim Angus
e4b7a04d5c * Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Tim Angus
2e3a08e4bd * Juggled CFLAGS a bit so that -fno-strict-aliasing is always on 2005-11-03 18:34:03 +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
Tim Angus
acf1f46a2b * More Solaris work 2005-11-01 16:05:06 +00:00
Tim Angus
0a3e96af77 * Further work on the Solaris port from Vincent S. Cojot 2005-10-31 16:46:05 +00:00
Tim Angus
3647cca9f7 * Applied https://bugzilla.icculus.org/show_bug.cgi?id=2464
* Removed rule to build C++ (for splines) from the Makefile
2005-10-30 14:36:49 +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
b6228f1408 add HAVE_VM_COMPILED variable so one can override it in Makefile.local 2005-10-29 17:41:17 +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
b72f59f524 * In hindsight this is probably wise too 2005-10-29 01:02:12 +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
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
9af615f27c * Add notional support for various architectures from vapier. Whether or not
these architectures work in practice is another matter :).
2005-10-26 23:15:44 +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
6b5cf6e248 * Fixed unused variable warning 2005-10-23 17:23:23 +00:00
Ludwig Nussel
e27a35a207 remove french keyboard hack. we cannot know what this does on other
layouts
2005-10-23 15:27:59 +00:00
Ludwig Nussel
80cf67e2ac map extra mouse buttons to K_AUX* 2005-10-23 15:25:23 +00:00
Tim Angus
80919a1ce3 * Silly little patch to convert Q3 style color codes to ANSI escape codes. Note
this doesn't work too well with baseq3 since it logs color strings with no
  color termination.
2005-10-19 01:51:19 +00:00
Zachary Slater
bcc229d5bb Minor edit, thanks ankon! 2005-10-18 02:46:20 +00:00
Tim Angus
354196b3a9 * Added a little hack to support the console key on french keyboards 2005-10-14 23:00:39 +00:00
Tim Angus
20c5bc38cf * Removed hard coded mouse acceleration in the unix build(s)
* Added CVAR_ROM cl_platformSensitivity to normalise the scale
  of cl_sensitivity across platforms
2005-10-14 22:58:28 +00:00
Ludwig Nussel
b1ea2ed136 - get rid of vm_none
- if VM_PPC is set compiled vm support is enabled on ppc (default off atm)
2005-10-09 13:07:54 +00:00
Tim Angus
f6cb6eee96 * q3lcc is no longer the default target in the Makefile
* Changed readme to suggest using the root Makefile instead of the one in
  code/unix
2005-10-08 14:36:15 +00:00
Tim Angus
0b6beec202 * Usage of find on FreeBSD fix from Andreas Kohn 2005-10-06 15:16:12 +00:00
Tim Angus
260ca8d730 * A couple of small Makefile fixes 2005-10-05 18:13:34 +00:00
Tim Angus
9d41e17e1f * Fixed some vm build warnings 2005-10-05 14:50:45 +00:00
Tim Angus
79ba2d974d * Fixes to the MinGW vm compiler
* General MinGW tweaks
2005-10-05 03:13:20 +00:00
Tim Angus
41cbd8c9fd * VM game modules now built from the main Makefile 2005-10-04 23:54:51 +00:00
Tim Angus
c3f30ff9a8 * Homogenised the game module build rules 2005-10-04 17:45:22 +00:00
Tim Angus
6797dcc705 * Made the default SDL dma buffer larger 2005-09-30 22:30:22 +00:00
Zachary Slater
9e70b3e418 Spell checking, thanks to Han in irc.
Also, stop reading these logs and visit timedoctor.org!
2005-09-29 05:25:26 +00:00
Tim Angus
a8e642fe63 * Added a - to the dependancies include line 2005-09-28 23:26:13 +00:00
Tim Angus
4f1b8a2dc8 * Assorted Makefile cleanups/cruft removal 2005-09-27 17:45:16 +00:00
Tim Angus
32a5a76d07 * The Makefile now sources Makefile.local, so you shouldn't need to change the Makefile itself any more
* The Makefile now inherits CFLAGS from the shell environment
* The Makefile now generates dependancies by default, it can be disabled by setting GENERATE_DEPENDANCIES=0 in Makefile.local
* Removed -Werror from the linux build since it's not GCC 4 clean yet. Again, it can be added back via Makefile.local
2005-09-27 16:35:25 +00:00
Tim Angus
03a284b67e * Non SDL warning fix 2005-09-26 20:33:49 +00:00
Tim Angus
909e96e41b * Some FreeBSD cleanups
* Removed the remainder of the RPM stuff from the Makefile
2005-09-26 20:09:18 +00:00
Tim Angus
429e59a53c * Reintroduced the copyfiles rule 2005-09-26 16:08:38 +00:00
Tim Angus
ae9fbe3288 * Don't link against X directly when building the SDL backend 2005-09-25 22:27:26 +00:00
Tim Angus
4bc5c29115 * FreeBSD fixes/updates from Andreas Kohn 2005-09-25 22:04:51 +00:00
Tim Angus
6ceb4a64e4 * Removed stray cons script 2005-09-25 21:46:55 +00:00
Tim Angus
e66a28dfeb * Removed cons based build system
* Removed some id specific shell/perl scripts
* Removed some unused asm files
* Removed prehistoric RPM build rules
2005-09-25 21:43:48 +00:00
Tim Angus
2897abe618 * Mostly selfish patch to work around what I believe is probably an nvidia and/or agpgart bug 2005-09-25 19:54:31 +00:00
Tim Angus
f0bd20e00a * Removed the redundant "sound system is muted" message
* Moved printing of desired audiospec to before SDL_OpenAudio
* When the computed value for samples is not a power of 2, now pick the smallest power of 2 greater rather than the largest power of 2 smaller
2005-09-24 01:26:51 +00:00
Tim Angus
fe14a45ad1 * Applied ajax's cleanup patch 2005-09-23 17:39:14 +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