3e6f9cf5b1
Remove SDL_image and link against libpng directly
Michael Martin
2019-08-10 12:33:03 -07:00
18569ef896
Update Mac build instructions
Michael Martin
2018-05-06 17:56:50 -07:00
8b5cde896a
Incorporate and alter framework IDs so the app bundle is fully self-contained
Michael Martin
2018-05-05 21:27:14 -07:00
29ed467363
Alter build flags on Mac to find dependent frameworks in /Library/Frameworks
Michael Martin
2018-05-05 21:26:34 -07:00
6428238e51
Update all problematic include guards.
Michael Martin
2018-01-20 18:02:03 -08:00
327e3f2566
Fix debug build on gcc7
Michael Martin
2018-01-12 23:39:54 -08:00
3d5ebf1fa4
Fix build on gcc7.x
Michael Martin
2018-01-12 20:57:53 -08:00
cd3d430398
Fix includes for setuid and friends
Michael Martin
2018-01-12 20:57:34 -08:00
98ab7ef3dd
Match include guard symbols
Michael Martin
2018-01-12 20:05:40 -08:00
e6a0038646
Adjust library requirement for modern gcc
Michael Martin
2018-01-12 20:04:24 -08:00
7326ff096d
Grouping ship properties together at the top of the ship .c files, from oldlaptop.
Serge van den Boom
2013-11-02 21:59:56 +01:00
573755dcb5
Alternative for Subversion '$Date$'.
Serge van den Boom
2013-11-02 00:12:02 +01:00
f9d27fbbe6
Use internal libmikmod by default.
Serge van den Boom
2013-10-23 21:51:13 +02:00
80c67f9217
Merge branch 'master' of ssh://git.code.sf.net/p/sc2/uqm
Serge van den Boom
2013-10-20 13:09:21 +02:00
c0e7a0268c
Merge branch 'better-saves'
Michael Martin
2013-10-19 17:12:38 -07:00
f66cbbcd89
Finalize the work on the new save file format.
Michael Martin
2013-10-19 16:59:36 -07:00
f271e8270c
Tentative loading logic for the new statefile format.
Michael Martin
2013-10-19 15:52:19 -07:00
c30fd90cb4
Intermediate testing save format.
Michael Martin
2013-10-19 01:29:02 -07:00
fe0a9a1126
Expose some of the statefile structure to load and save.
Michael Martin
2013-10-18 22:38:39 -07:00
9f3a70985e
Update savefile spec based on new findings.
Michael Martin
2013-10-13 23:22:20 -07:00
60a9ca61cf
Reorganize the GameState array.
Michael Martin
2013-10-13 23:19:13 -07:00
40dcd65afa
Generalize the getGameState functions.
Michael Martin
2013-10-13 18:49:54 -07:00
e7d30008a2
Endian safety in all savegame chunks except statefiles.
Michael Martin
2013-10-13 16:36:41 -07:00
c8250d8b8b
Documentation for the game state files.
Michael Martin
2013-10-13 05:47:41 -07:00
634ec1ae7d
Document the new savefile format.
Michael Martin
2013-10-13 05:44:09 -07:00
7138aeca64
Major revision to save format
Michael Martin
2013-10-13 05:07:04 -07:00
6c6bb6b100
OS X: Compiles now with Xcode 5. SDLMain updated to SDL 1.2.15, fixes input when running binary directly.
Mika Kolehmainen
2013-10-10 00:52:53 +03:00
d2aeaf2c2e
Added gitignore.
Mika Kolehmainen
2013-10-10 00:52:11 +03:00
34dab83ff6
Warn the reader that this file is outdated, with a referral to doc/devel/resources.
Serge van den Boom
2013-10-09 18:42:04 +02:00
eca23397c3
Output bytes now track field sizes.
Michael Martin
2013-10-09 00:34:35 -07:00
876daf0827
Remove padding and unused data from savegame format.
Michael Martin
2013-10-07 00:39:06 -07:00
51fa5a7ae5
Save format refactoring: Uncompressed save format
Michael Martin
2013-10-06 23:28:31 -07:00
78d6312a1e
Make the UI for named saves acceptable.
Michael Martin
2013-10-06 17:24:20 -07:00
d490f70016
Add an index to dialog string tables, so that we can refer to dialog lines by a string identifier instead of a volatile number.
Serge van den Boom
2013-09-29 21:16:26 +02:00
c8527459c8
Expand inline documentation.
Serge van den Boom
2013-09-29 20:55:45 +02:00
145309927b
Remove a few duplicate comments.
Serge van den Boom
2013-09-29 19:09:30 +02:00
15bafcbca3
Updated ChangeLog.
Serge van den Boom
2013-09-29 19:08:30 +02:00
29beca352b
Some more documentation.
Serge van den Boom
2013-09-29 19:02:56 +02:00
d848ccf96f
Added a StringHashTable type, for later use.
Serge van den Boom
2013-09-29 18:47:19 +02:00
5c6ba7e51c
Fix in currently unused define.
Serge van den Boom
2013-09-28 23:14:45 +02:00
6c8387fff4
A few superficial fixes.
Serge van den Boom
2013-09-28 22:00:47 +02:00
e4657ea3d1
Improved save file format inspired by IFF.
Michael Martin
2013-09-25 22:31:42 -07:00
27087d0ea8
Refactor savegame information
Michael Martin
2013-09-25 20:32:15 -07:00
2fc4f01ec4
Normalize legacy/modern save display.
Michael Martin
2013-09-25 17:41:43 -07:00
28fb037258
First draft of namable savegames.
Michael Martin
2013-09-25 01:15:30 -07:00
0851e23c8e
fix a crash when talking to the Ur-Quan drone on 64-bit Linux
mcmartin
2013-09-23 09:20:31 +00:00
6667b7cc95
Insight from James Scott.
meep-eep
2013-03-28 12:36:56 +00:00
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.
mcmartin
2013-02-19 03:23:27 +00:00
fb519f2649
Update; convert AUTHORS to UTF-8.
Meep-Eep
2013-01-05 17:35:49 +00:00
b571a8ce39
Make init_RACE()/uninit_RACE() calls symmetric; takes care of memory leaks from bug #1149; thanks to Louis Delacroix
avolkov
2012-02-26 21:05:46 +00:00
2e67a5a007
Bugfix: TFB_DRAWCOMMANDTYPE_REINITVIDEO is allowed to be queued from the main() thread
avolkov
2012-02-26 20:32:22 +00:00
f765eac3ee
More work towards exit cleanliness; bugs 50, 1149: * Some atexit() callbacks removed, to be called in order during clean exit (Abort key bypasses these) The only things called atexit() are now removeTempDir, SDL_Quit() and log messageboxes * gfxlib cleans up remaining SDL_Surfaces * Other cleanup improvements: the goal is to allow library cleanup funcs to be called more than once w/o crashing, and then decide which should and can be called atexit() safely.
avolkov
2012-02-26 19:42:15 +00:00
4633ec6e6a
Prevent reads from uninitialized ship_footprint variable; bug #1150; thanks for Louis Delacroix
avolkov
2012-02-25 20:15:23 +00:00
c9c3fe6eff
The code is not ready for this assertion.
Meep-Eep
2012-02-25 19:33:43 +00:00
f5bb4c0c57
Some functions for activities.
Meep-Eep
2012-02-24 21:00:39 +00:00
dfeaf56b02
Change return type of IsVelocityZero() to reflect the real return value
avolkov
2012-02-13 01:08:15 +00:00
917cab1b7c
Do not leak MenuState.CurFrame in RestartMenu; bug #1156
avolkov
2012-02-12 20:46:54 +00:00
38acc94022
Cleanup mounted dirs upon exit; bug #1149; thanks to Louis Delacroix
avolkov
2012-02-12 20:18:33 +00:00
91ce0e9898
Remove dated SCREEN_DRAWABLE logic to allow for Screen FRAME cleanup; bug #1149
avolkov
2012-02-12 20:01:20 +00:00
2cf7861674
Cleanup colormaps upon exiting the game; bug #1149
avolkov
2012-02-12 19:10:15 +00:00
f87f956cdf
Free the state-file data upon delete, from Louis Delacroix
avolkov
2012-02-12 02:41:11 +00:00
f3af42e618
Const-correctness for STRING resources; bug #1155; in part from Louis Delacroix
avolkov
2012-02-12 02:32:30 +00:00
714d001383
Enable DEBUG_DCQ_THREADS for msvc Debug builds by default
avolkov
2012-02-12 01:07:17 +00:00
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.
avolkov
2012-02-11 23:41:06 +00:00
8e8b812cb7
Only build with Ogg Vorbis if so specified.
Meep-Eep
2012-02-06 17:43:46 +00:00
8aab2ae592
Split debug key function into sync and async parts (wrt the game logic thread), paving the way for GraphicsLock and GameClock lock removal
avolkov
2012-01-29 20:18:50 +00:00
e4902fa2c3
Generalised some functions.
Meep-Eep
2012-01-29 15:43:55 +00:00
bf0d86fcf3
Ships to buy didn't flash in the shipyard in PC menu mode.
Meep-Eep
2012-01-28 21:10:41 +00:00
f74e575841
Fix for src\uqm\outfit.c(569) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Meep-Eep
2012-01-28 19:47:22 +00:00
d6738ca687
Hibernate, not Sleep.
Meep-Eep
2012-01-28 19:30:52 +00:00
18a399eea7
Fixes 3d planet lighting map calculations, bug #1151, from Louis Delacroix Relative lighting factor in GenerateLightMap() should now be reexamined to determine what algorithm works best.
avolkov
2012-01-28 19:08:30 +00:00
8abe057e2a
Add/Remove fuel 10 at a time with PageUp/PageDown, from from Scott A. Colcord, Nic.
Meep-Eep
2012-01-28 19:02:33 +00:00
3a54081af8
Some cleanups and bug fixes.
Meep-Eep
2012-01-28 17:07:35 +00:00
20e2ea337f
Switch SetFlashRect() to the new flash code, as the next step towards getting rid of threads. Also some small cleanups.
Meep-Eep
2012-01-23 20:14:45 +00:00
ca5ead9d65
--unix_depend_format was there before after all. Putting it back.
Meep-Eep
2012-01-15 20:37:31 +00:00
fc18eebd15
Add C++ support to the build system, from Scott A. Colcord.
Meep-Eep
2012-01-15 20:01:20 +00:00
e8cfeed54b
No bitfields here.
Meep-Eep
2012-01-14 20:10:11 +00:00
8fcb091a19
More restrictive Valgrind suppression file, from Louis Delacroix
avolkov
2012-01-13 18:09:31 +00:00
c16883fce4
Cleanup: purge the DCQ of the data it owns on the way out of the program.
mcmartin
2012-01-10 07:20:33 +00:00
3d32d8ad2c
A few comments.
Meep-Eep
2012-01-08 14:15:05 +00:00
3da5e55c1c
Fix flashing when pressing the 'spin ship' button on an empty slot or the flag ship.
Meep-Eep
2012-01-08 13:49:39 +00:00
a86e795d9e
Locking fix. Also change the locking behaviour of DMS_SetMode, to avoid repeated locks/unlocks and make the code invoking this function a bit cleaner.
Meep-Eep
2012-01-08 12:58:38 +00:00
06d61df3d3
Fix uninitialized img->dirty in TFB_DrawImage_New(), from Louis Delacroix
avolkov
2012-01-08 04:04:51 +00:00
779b955501
fix out of bounds (off by 1) access of vcontrol_parse_state::line
avolkov
2012-01-08 04:01:44 +00:00
d62c5bfda3
More DoModifyShips() cleanups. That should be all for now.
Meep-Eep
2012-01-08 01:12:22 +00:00
62e1200a05
Fix uninitialized RECT member as per Louis Delacroix
avolkov
2012-01-04 04:35:29 +00:00
99de30fba0
Added libasound suppression as per Louis Delacroix
avolkov
2012-01-04 04:29:24 +00:00
580d62c3a3
More cleanups. Among other things, MENU_STATE.flash_rect0 is no longer used.
Meep-Eep
2012-01-01 20:08:51 +00:00
7ad1112e61
More cleanups.
Meep-Eep
2012-01-01 19:02:27 +00:00
dfd2cf0840
More cleanups.
Meep-Eep
2012-01-01 17:36:50 +00:00
c65fc65f2b
Fix for my earlier cleanup...
Meep-Eep
2012-01-01 16:47:49 +00:00
010f3507d0
More DoModifyShips() cleanups.
Meep-Eep
2012-01-01 16:41:38 +00:00
751427d909
More cleanups of DoModifyShips. We'll get to something comprehendible eventually.
Meep-Eep
2012-01-01 01:59:12 +00:00
deee6426a3
A few more comments.
Meep-Eep
2011-12-31 02:54:57 +00:00