3883 Commits

Author SHA1 Message Date
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 96174b06b5 Export ogg vorbis setting so 'none' doesn't try to build in OGG support 2019-10-07 00:04:53 -07:00
Michael Martin e267e107f5 Alter sdluio function signatures based on SDL version. Fixes ARM build. 2019-10-06 23:13:01 -07:00
Michael Martin 5682c41778 Fix buggy preprocessor conditional 2019-10-06 23:13:01 -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 f93799fdbf Update Changelog 2019-10-02 00:03:08 -07:00
Michael Martin a5e233fb11 Fixed another instance of only checking for EAGAIN from a socket, from Ala-lala 2019-10-01 23:58:49 -07:00
Michael Martin d884b3f6d6 Fix netplay on modern versions of Visual Studio, from Ala-lala 2019-10-01 23:56:25 -07:00
Michael Martin ab9a04979a Decode the UTF-8 input from SDL2's text input buffers 2019-09-29 20:18:37 -07:00
Michael Martin 4a8012091b Implement scanlines for SDL2 2019-09-29 00:27:22 -07:00
Michael Martin 02c2827bc0 Properly set SDL2 texture scaling hints 2019-09-28 22:16:23 -07:00
Michael Martin 563ffa6ed1 Officially support 1280x960 (4x) as a resolution. 2019-09-28 19:03:30 -07:00
Michael Martin 6855fb028d Fix resolution configuration on SDL2 2019-09-28 18:54:22 -07:00
Michael Martin 6f63db2c3d Fix pointer arithmetic bug where MSVC rejects the code 2019-09-25 22:23:21 -07:00
Michael Martin f973106448 SDL2 build for macOS under brew 2019-09-08 23:15:12 -07:00
Michael Martin 91b2235753 Fix screen transitions and clip rectangles on SDL2 2019-09-08 22:52:42 -07:00
Michael Martin ada05cb9fe Fix 'extra' screen on SDL2 2019-09-08 22:23:24 -07:00
Michael Martin 4c1cd71d40 Improve use of SDL2 textures.
Texture formats are now stated explicitly and the backing surfaces are
configured to match them. Texture are now explicitly marked as streaming
textures, which should improve GPU performance on drivers that care. The
texture upload step now respects dirty rectangles.
2019-09-08 22:18:49 -07:00
Michael Martin 5a289fce34 ASCII text input for SDL2 2019-08-31 22:31:45 -07:00
Michael Martin 5896ee56b2 Fix hilarious font rendering bug; format_conv_surf needs an Amask 2019-08-25 22:40:16 -07:00
Michael Martin 761843cc72 SDL2 thread IDs can be 64-bit 2019-08-25 16:45:49 -07:00
Michael Martin 8fb39785b2 Fix format conversion surface 2019-08-25 16:05:43 -07:00
Michael Martin e841546e0b Properly initialize the SDL-common level screens for SDL2 2019-08-25 15:38:57 -07:00
Michael Martin a07e65ffd3 Cut out text input from SDL2 until it can be tested 2019-08-25 15:38:42 -07:00
Michael Martin f1e29a0fda Fix linking issues 2019-08-25 15:14:46 -07:00
Michael Martin 4edbf36836 Fix the remaining non-unicode version issues in the input library 2019-08-25 00:33:00 -07:00
Michael Martin d5407378ac Bridge the gap between SDL1, SDL2, and UQM threads 2019-08-24 18:12:59 -07:00
Michael Martin 371a42acdd Complete the refactoring of the SDL graphics libs 2019-08-24 17:58:24 -07:00
Michael Martin 846315325b Rework previous refactoring to use new generic colorkey/alphamod routines 2019-08-24 00:35:18 -07:00
Michael Martin f396e6ec8f Additional orthogonalization and defensive coding around colorkeys and alpha mods 2019-08-24 00:05:28 -07:00
Michael Martin b6724c9300 Abstract operations on SDL_surface flags behind accessors 2019-08-21 21:43:36 -07:00
Michael Martin a6d42126f7 Adjust APIs for SDL2 2019-08-21 01:25:20 -07:00
Michael Martin 93e6253caf Check the right flag value for fullscreen in SDL2 2019-08-21 01:09:49 -07:00
Michael Martin 28000b95c2 Compute the window caption at the proper time for SDL2 2019-08-21 01:07:12 -07:00
Michael Martin d812d3acc8 Split out the bits of sdl_common.c that are version specific. SDL2 fixes still need to be done. 2019-08-21 00:54:22 -07:00
Michael Martin 31e6d51dc8 First incomplete draft of SDL2 Pure driver 2019-08-20 00:49:41 -07:00
Michael Martin 29fcff95c7 Generalize more common elements of graphics backends, isolate backend-specific parts 2019-08-17 20:56:25 -07:00
Michael Martin dd4c3e433e Update version to 0.7.1 alpha 2019-08-17 20:48:44 -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 ce92261641 Some more cleanup to make SDL common code friendly to SDL1 and SDL2 2019-08-15 21:55:40 -07:00
Michael Martin f36a9339fc Remove unnecessary library checks 2019-08-12 22:29:45 -07:00
Michael Martin d579108794 Ignore keyrepeat events in SDL2 2019-08-12 22:24:23 -07:00
Michael Martin 40c60bc08a Generalize VControl to work with SDL1 and SDL2.
SDL2's keycodes do not form a contiguous range the way SDL1's do,
so we need to perform separate chaining of bindings.
2019-08-11 20:14:11 -07:00
Michael Martin 00365dd5b7 Update build instructions for brew and libpng instead of SDL_image 2019-08-10 15:43:48 -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 65f5b27f8d Remove the last vestige of the internal SDL_IMAGE macros 2019-08-10 15:41:11 -07:00
Michael Martin 3e6f9cf5b1 Remove SDL_image and link against libpng directly 2019-08-10 13:34:16 -07:00