331 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 3918c56a15 To use full C++ we have to have its compiler as the linker. 2024-04-24 19:39:37 -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 102099e8f0 Fix typo in installsome() 2021-11-01 20:07:13 -07:00
Michael Martin 8d3698f4b7 Don't leave behind the updated Remix Pack 4 on uninstall 2020-12-25 20:43:52 -08:00
Michael Martin 487ad9014d Don't try to relink frameworks through symlinks 2020-11-27 20:17:13 -08:00
Michael Martin c8eba312f4 Remove beta marker from version strings 2020-11-27 16:12:18 -08:00
Michael Martin 8e95a6036f Update Win32 installer metadata for updated Remix Pack 4 2020-10-31 13:41:47 -07:00
Michael Martin 36050dc2fa Deeper automation of the Win32 installer 2020-06-18 21:34:24 -07:00
Michael Martin f39a37ff2f Fix icon on Windows with MinGW/MSYS2 builds, from Ala-lala 2020-06-08 16:09:05 -07:00
Michael Martin b77ed37796 Indentation and clause order refinements on NSIS installer 2020-06-08 00:05:51 -07:00
Michael Martin a7121e9d85 Rewrite the NSIS installer logic to use LogicLib 2020-06-08 00:00:50 -07:00
Michael Martin 32c0b4875a Switch Win32 Installer download plugin to InetC, which supports redirection and HTTPS 2020-06-07 22:42:53 -07:00
Michael Martin d795e55fc4 Automatically generate the DLL dependencies of the MSYS2 UQM build for installation and uninstallation 2020-06-07 20:49:46 -07:00
Michael Martin 422b10ac4f Update installer version to 0.8.0b 2020-06-07 20:49:08 -07:00
Michael Martin fda4b06301 Remove obsolete NSISdl autodownload code from Win32 installer 2020-06-07 20:48:13 -07:00
Michael Martin c7a5d89e73 Improve procpkgs.sh to remove bashisms and shellcheck lints 2020-06-07 00:49:44 -07:00
Michael Martin 0fb4ccaa18 Rework the packages.nsh generation for v0.8.0 and MSYS2 2020-06-07 00:33:19 -07: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 0e021ac55a Properly generalize the framework relink script 2019-11-23 17:34:16 -08:00
Michael Martin 36f9e43d75 First draft: update copy_mac_frameworks to build a full release 2019-11-17 22:15:37 -08:00
Michael Martin fdb1a92d5d Use frameworks for libpng and Vorbis if requested and available 2019-11-16 23:29:56 -08:00
Michael Martin 2ad10b9906 Use frameworks for SDL if requested and available 2019-11-16 22:15:14 -08:00
Michael Martin d6c5e6556f Create a test to probe for frameworks in a user-supplied dependency dir 2019-11-16 21:27:05 -08:00
Michael Martin 252fffb993 Allow parallel make when the -j option is passed to build.sh.
Based on a patch to the UQM Mega-Mod by Ala-lala.
2019-10-27 15:01:33 -07:00
Michael Martin 8b1dab9ec0 Add new files to DSP file 2019-10-19 16:40:28 -07: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 f973106448 SDL2 build for macOS under brew 2019-09-08 23:15:12 -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 f36a9339fc Remove unnecessary library checks 2019-08-12 22:29:45 -07:00
Michael Martin fa32c80258 Simplify macOS build system to work with brew.
Standalone framework-based builds will be reintroduced before the
v0.7.1 release.
2019-08-10 15:43:48 -07:00
Michael Martin 4a320504df Remove i386 architecture from Mac output 2019-08-10 15:43:48 -07:00
Michael Martin 3e6f9cf5b1 Remove SDL_image and link against libpng directly 2019-08-10 13:34:16 -07:00
Michael Martin 8b5cde896a Incorporate and alter framework IDs so the app bundle is fully self-contained 2018-05-05 21:27:14 -07:00
Michael Martin 29ed467363 Alter build flags on Mac to find dependent frameworks in /Library/Frameworks 2018-05-05 21:26:34 -07:00
Michael Martin e6a0038646 Adjust library requirement for modern gcc 2018-01-12 20:04:24 -08: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
mcmartin 6f84fd41c9 Update the Win32 installer to fit the new site design and to make Remix Pack 4 available. Juggle some file locations to make it easier to run the NSI script directly out of the win32_install directory.
The installer code is still kind of a mess, but this makes it more reliable than the old 0.7 installer from a user experience standpoint.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3780 8092fc87-c524-0410-9efc-e669fe64eaf9
2013-02-19 03:23:27 +00:00
avolkov 714d001383 Enable DEBUG_DCQ_THREADS for msvc Debug builds by default
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3762 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-02-12 01:07:17 +00:00
avolkov 6be6491c05 Quantum-erase GraphicsLock; Some changes needed to accomplish this:
* comm/trackplayer Callbacks are now queued instead of asynchronously called on the stream decoder thread
* libs/callback now guards the list with a mutex (called from different threads)
* only one thread (Starcon2Main) is allowed to queue draw commands right now; a sanity check is in place (define DEBUG_DCQ_THREADS)
Fixes: Alarms and Callbacks are used for more than just Netplay, reflect this.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3761 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-02-11 23:41:06 +00:00
Meep-Eep d8d201ee54 Annihigate flash thread.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3750 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-01-27 23:29:03 +00:00
Meep-Eep ca5ead9d65 --unix_depend_format was there before after all. Putting it back.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3748 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-01-15 20:37:31 +00: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 d2358e1e51 Planet/system generation code cleanup: isolate generation code with an own RandomContext; generation funcs do not return the random seed anymore; move and cleanup some calculation funcs; clarify deliberate Random() truncation; other random cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3694 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-09 01:59:12 +00:00
avolkov bb33e30b79 Update the scripts for cross-building on Cygwin to Mingw with gcc 4 (-mno-cygwin is now gone)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3690 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-07 06:17:23 +00:00