35 Commits

Author SHA1 Message Date
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 8b1dab9ec0 Add new files to DSP file 2019-10-19 16:40:28 -07: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
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 c75ea6280d Various warning cleanups from Scott A. Colcord, bug #50; reworked Umgah ship code so as not to compare FRAMEs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3667 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-24 16:22:39 +00:00
avolkov 8c2f0d79c6 Synchronize resource includes with the master resource list resources.csv
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3656 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-19 18:34:45 +00:00
avolkov 10c49ffdcb Obsolete resource package include removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3590 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-26 04:26:05 +00:00
avolkov 9053962a02 Updated the .dsp to reflect the current state of resource includes; many removed and some added
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3589 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-04-26 04:21:29 +00:00
avolkov 8da280022a Re-add config.h to dsp
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3563 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 18:06:42 +00:00
avolkov 5c3c641e1a Fix broken link to config.h and change to actual config_vc6.h while at it
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3561 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 17:49:41 +00:00
avolkov 1df8a12111 MSVC project file fix for r3502
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3528 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-26 21:30:13 +00:00
Meep-Eep 2141f0cb0d Removed obsolete functions/file.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3519 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 18:58:13 +00:00
Meep-Eep 398b33315f Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3514 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 22:53:19 +00:00
Meep-Eep 9ba95e68e0 Move netplay/ to supermelee/.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3509 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 20:30:31 +00:00
Meep-Eep 0b847e188e Some cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3507 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 01:33:10 +00:00
Meep-Eep 40175c65c9 Cleanups and some refactoring of the SuperMelee code.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3502 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 00:34:27 +00:00
Meep-Eep cf4f878448 Update.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3495 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-30 01:13:52 +00:00
avolkov 218e623b39 Update MSVC project for moved melee files in r3484
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3485 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 16:49:09 +00:00
Meep-Eep d3070d9fa7 Put SuperMelee source files in separate subdirectory.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3484 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 16:24:23 +00:00
avolkov 98b3cc75c5 Gfxlib cleanup: move ani and font loading functions out of SDL domain; SDL-specific bits split off into TFB_Canvas functions
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3469 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-25 04:18:45 +00:00
avolkov 70fbdccac8 Gfxlib cleanup: move some functions out of SDL domain; SDL-specific bits split off into TFB_Canvas domain
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3467 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-24 22:54:54 +00:00
avolkov a41e2837f8 Gfxlib cleanup: DISPLAY_INTERFACE removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3466 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-24 21:35:45 +00:00
avolkov 0ebc5dc6fb Move TFB_BoundingBox out of SDL domain
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3464 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-22 18:55:41 +00:00
avolkov 1a8a26faf4 Match warnings between GCC and MSVC reasonably closely
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3447 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 03:06:37 +00:00
avolkov 116245bbf6 Moved dcqueue.c out of SDL domain, it is not SDL-specific
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3444 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 01:36:38 +00:00
avolkov cb4a6d964c Cleanup: removed unused graphics/sdl/rndzoom.c
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3440 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 23:20:29 +00:00
avolkov e991a294a9 Oops, MSVC .dsp project file did not make it in r3433, and now fixed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3438 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-18 22:57:49 +00:00
Meep-Eep a6a7b843d0 Use an own 'UniChar' rather than 'wchar_t', which may not be large enough, depending on the platform.
Also split off UNICODE functionality from strlib.h into unicode.h.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3375 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-30 20:09:57 +00:00
Meep-Eep e6b2bc9930 All graphics operations use 24-bits colors at the game level too now,
instead of 16 bits colors. Using a structure 'Color' instead of 'COLOR'
and 'TFB_Palette' now.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3367 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-29 15:29:38 +00:00
avolkov 9d1009ae96 Fixed MSVC project file for r3334
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3335 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-21 22:00:15 +00:00
avolkov c5ef5f4bad Updated MSVC6 project file for message box rewrite; left out in r3252
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3258 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-27 18:41:12 +00:00
avolkov 3fbe31c651 Source tree reorg: Normalized #include paths after the dir moves
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3215 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-09 20:38:29 +00:00
avolkov 7122e86855 Source tree reorg, stage 2: finished renaming sc2code/ to uqm/; build files updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3214 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-09 17:18:45 +00:00