98 Commits

Author SHA1 Message Date
adam d4f9485f90 Modern C++.
Frankly I don't care to try to support a wide variety of
"older" stuff.  I don't have the time, and I don't think
it's sensible to promote being able to play the
modified form of this game (using my dynamic system) on
toasters and coffee makers.  Most systems with the capacity
to handle what I'll wind up demanding will probably
support C++23 already.
2024-04-28 02:00:31 -04:00
adam 32a1344643 Since I intend to move to C++... let's get that started right now. 2024-04-24 09:58:35 -04:00
Michael Martin 1e687b9392 Merge commit '7326ff096d0fc60086f2' into v0.8.0 2020-04-04 17:52:44 -07:00
Michael Martin aaed1e50e9 Fix Linux build; regcomp plays poorly with symbol detection for some reason 2020-04-04 15:59:42 -07:00
Michael Martin 8823c4be44 Fix MinGW build; check for whether we must explicitly link -lregex 2020-04-04 15:33:06 -07:00
Michael Martin 562917b456 Merge post-0.7.0 commits through 'c8250d8b8' into v0.7.2.
sdl_common.c has lost some commits in the restructuring and those
will need to be replayed over the restructured files for SDL1 and 2.
2020-04-03 17:43:49 -07:00
Michael Martin fdb1a92d5d Use frameworks for libpng and Vorbis if requested and available 2019-11-16 23:29:56 -08:00
Michael Martin 538e8e4eab Refine graphics detection and default seelection on config 2019-10-19 14:56:58 -07:00
Michael Martin 6c7a4e35e6 Fix check for whether we need -lm. Restore Ubuntu build. 2019-10-02 02:03:03 -07:00
Michael Martin b724f372dd Enhance config script to allow selecting SDL1 or 2 backends 2019-08-16 00:51:23 -07:00
Michael Martin 3e6f9cf5b1 Remove SDL_image and link against libpng directly 2019-08-10 13:34:16 -07:00
Serge van den Boom f9d27fbbe6 Use internal libmikmod by default. 2013-10-23 21:51:13 +02:00
Mika Kolehmainen 6c6bb6b100 OS X: Compiles now with Xcode 5. SDLMain updated to SDL 1.2.15, fixes input when running binary directly. 2013-10-10 00:52:53 +03:00
Meep-Eep fc18eebd15 Add C++ support to the build system, from Scott A. Colcord.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3747 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-01-15 20:01:20 +00:00
avolkov 6f6c5c0788 Add -O0 to strict debug build type to match others
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3689 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-07 01:01:12 +00:00
avolkov b28d379c73 Added -Wdeclaration-after-statement to strict warnings build; removed -O1 not needed for gcc 4; from Scott A. Colcord
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3687 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-06 21:20:40 +00:00
avolkov 51d3291671 Remove 'uqm-wrapper' script in 'clean' subtarget; small comment fix; bug #1126
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3661 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-23 16:55:21 +00:00
avolkov e9e336e92c Actually build a debug exe in strict-debug mode; bug #1127; from Scott A. Colcord
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3624 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-06-24 17:38:12 +00:00
mcmartin 14d8bdad31 Update content version to 0.7. Update install scripts to match.
Strip PPC support from Mac build, since this is no longer a configuration we can test.

Fix some bugs in the build uqm install sequence on Mac.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3553 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 04:37:18 +00:00
mcmartin 0cf53407d4 Fixes to the build system for Snow Leopard, and for 0.7 content packaging.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3532 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-03-15 04:39:40 +00:00
Meep-Eep f19de46363 Fixing the problems caused by the previous commits.
Note to self: don't commit in a hurry nor while half-asleep.




git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3526 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 22:06:07 +00:00
Meep-Eep ac0f4b0eef Getting rid of GFXMODULE_SDL and SNDMODULE_SDL defines, as we don't need
them any more.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3524 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:43:40 +00:00
Meep-Eep df4204b16b If SDL is not used, just don't compile those files, instead of
compiling (after preprocessing) empty files.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3521 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:20:59 +00:00
Meep-Eep 12d6b02bd4 Remove -Winline from builds with strict warnings; we can't do anything about
the "inlining failed in call to <...>: call is unlikely and code size would grow" warnings, and they're abscuring legitimate problems.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3508 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 20:13:26 +00:00
Meep-Eep 0535bb5c11 Define NDEBUG in release build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3483 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 13:33:10 +00:00
gewlitys b43bdf28ba Set symbian certifigate expiration date to be longer than a year.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3179 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-08-23 11:11:21 +00:00
Meep-Eep c99ef7b9ca Use system getopt_long() when available.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3097 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-18 18:57:19 +00:00
gewlitys 173a2cfdf8 Symbian content package uses now packed anis and fonts
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3088 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-12 22:28:56 +00:00
gewlitys 56c637d7cd SDL threadlib is now default also for Symbian
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3077 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-21 20:24:45 +00:00
gewlitys 84769e71ad Removed unnecessary detections, support for S60 SDK version >3.0
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3073 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-19 22:29:30 +00:00
gewlitys 934b3ad08c Added support for Symbian GCCE compiler
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3067 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-31 21:27:02 +00:00
gewlitys 50664a6f71 Experimental support for Symbian S60 3rd edition
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3064 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-31 00:34:29 +00:00
Meep-Eep 03fe5f24f3 Some defines for Symbian. From Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3049 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-23 11:13:02 +00:00
Meep-Eep aa02a78da5 Pthread support from Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3041 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 20:03:54 +00:00
Meep-Eep f726de4474 Remove old code for static linking.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3040 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 18:58:48 +00:00
Meep-Eep 6b76050542 More portable parameter passing.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3039 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-21 18:55:47 +00:00
Meep-Eep aa4afdade5 Added a "cegcc" target.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2887 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 06:34:12 +00:00
Meep-Eep 23c74b2b63 Added support to the unix build system for explicitely specifying the name of
the define to set to show when a symbol is found.
Also a fix for when 'strcasecmp' is #define'd by the system.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2881 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 04:41:19 +00:00
Meep-Eep e802b489b8 Made uio "bool" compatible with the main uqm "bool";
introduced C99 compatible booleans.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2856 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-09-18 14:48:17 +00:00
Meep-Eep 67d6df6545 Allow building without ogg vorbis.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2818 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-07-25 19:34:31 +00:00
Meep-Eep 165f30c9a5 Build fixes for SunOS with netplay.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2792 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-06-27 22:49:05 +00:00
Meep-Eep 50ef1a22b4 (MacOS) Don't package up .svn dirs with 'build.sh uqm install'.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2678 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-01-19 18:46:06 +00:00
meep-eep 39a2ac2a41 Remove "(experimental)" from netplay options.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2599 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-12-15 00:11:59 +00:00
meep-eep a5b27582ab Unix build improvement (build tool detection).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2535 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-11-25 01:19:22 +00:00
meep-eep 6d7d8dbde2 MinGW compilation fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2473 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 22:12:31 +00:00
meep-eep 396a8d81ea MinGW build fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2472 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 22:11:35 +00:00
meep-eep 5dbf05a3ee More fixes for MinGW build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2470 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 21:30:41 +00:00
meep-eep 7d87f25fdf More MinGW fixes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2465 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 02:00:48 +00:00
meep-eep c243c3a73f Some improvements towards successful build with netplay on MinGW.
Proabaly not completely there yet.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2464 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 01:20:13 +00:00
meep-eep 620c00c52c Netplay
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2463 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-26 22:17:03 +00:00