4014 Commits

Author SHA1 Message Date
avolkov 8747a6162c terms update
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1274 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-13 10:44:36 +00:00
avolkov 05bbe47375 First draft (RFC; use as brain-dump container plz)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1273 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-13 10:26:09 +00:00
avolkov be58480a7f Updated lander sounds info
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1272 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-13 09:00:45 +00:00
mcmartin bee3360bf2 First complete edition
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1271 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-12 07:54:06 +00:00
mcmartin 4db20e27e9 First commit.
This is document describing proper use of the GraphicsLock when
extending code.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1270 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-12 07:26:06 +00:00
gewlitys 8dbfa10cda Added some missing files
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1269 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-08 11:42:31 +00:00
avolkov 1c319adf01 updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1268 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-08 10:48:07 +00:00
avolkov 07360eb3fc Corrected erroneous commit
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1267 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-08 10:43:57 +00:00
avolkov 7e8040a0dd Sound decoders refactoring;
The decoders are now virtualized, the high-level decoding code is unified
and any format is theoretically streamable.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1266 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-08 10:41:10 +00:00
mcmartin 37683f849f Locking fixes (#504)
You *must* hold the GraphicsLock when calling SetFlashRect.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1265 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-08 01:24:35 +00:00
avolkov 47cb238191 DOS ending clips (LPF animation files);
see tools/dos-lpf for format and extractor


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1264 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-03 07:04:10 +00:00
avolkov 01aa2e92e9 DOS LPF animation files extractor
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1263 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-03 07:02:11 +00:00
avolkov 4b4cf5f373 Bug #319 part 3 fix (fleeing yehat collision after menu)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1262 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-10-01 16:11:42 +00:00
avolkov 406e666094 Video decoder refactoring;
Removed an unnecessary level of indirection;
decoder-specific data is kept together with general decoder data.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1261 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-24 20:46:48 +00:00
avolkov 4af483c6af Removing unnecessary SDL driver from video player.
All SDL-specific code moved to tfb_draw system.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1260 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-23 23:10:13 +00:00
avolkov 63e22090d2 Movie player cleanup and additional comments
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1259 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-23 20:25:48 +00:00
mcmartin ff4fec4611 Fixed silly compile error when NAMED_SYNCHRO undefined
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1258 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-23 17:30:50 +00:00
mcmartin e94b959c9d Threadlib refactoring, phase 2.
This is a near-total reorganization.  Full details will appear in
doc/devel/threads when that document is completed.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1257 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-23 16:33:50 +00:00
avolkov c14c2b010d Movie player message
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1256 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-21 15:58:12 +00:00
mcmartin eea57e89d5 Threadlib refactoring, phase 1
All constructs, save Mutexes, can carry names.  (Mutexes will carry them
once HMalloc doesn't require a Mutex.)

All constructs are now opaque to the game logic.  Some limited upcalls
will be added in phase 2 so that the game logic can initialize some
thread-local data in a backend-independent way.

DEBUG_TRACK_SEM is gone.  In its place are NAMED_SYNCHRO (which names
synchronization constructs) and TRACK_CONTENTION (which reports when
threads go to sleep because of synchronization constructs.)  Again,
Mutexes are immune.

A lot of conditionally compiled code in the threadlib was collated,
dramatically reducing the number of preprocessing directives.

The exposed (threadlib.h) and backend (sdlthreads.h) APIs match one
another more closely now, further reducing the level of preprocessor
work required.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1255 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-21 09:21:23 +00:00
gewlitys cd98bb8a75 Sound effects list, from MarkVera
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1254 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 12:10:59 +00:00
mcmartin 51aa717fc6 Migrated the GraphicsLock to an ordinary mutex; it is used exclusively
for maintaining critical sections.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1253 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 07:38:23 +00:00
avolkov 3e17b20d47 Relevant video routines moved to libs/video
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1252 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:28:32 +00:00
avolkov 6fba824435 Added video player and .duk audio/video decoders;
Code will attempt playing intro and victory movies
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1251 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:20:21 +00:00
avolkov fc49c38865 Added video player and .duk video decoder;
Code will attempt playing intro and victory movies
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1250 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:17:21 +00:00
avolkov 4031518aa5 Added video player
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1249 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:15:52 +00:00
avolkov 1e08b8a527 Added video player and .duk video decoder
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1248 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:15:03 +00:00
avolkov d8a815db68 Added .duk audio decoder
(video playback support phase 2)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1247 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:11:37 +00:00
avolkov 3decaeaf7a Video playback support phase 2
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1246 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-20 01:09:01 +00:00
avolkov 49fbd74ed4 Better forward-declare version
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1245 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-19 15:37:53 +00:00
meep-eep 5e99935bd9 Removed unnecessary memset() after calloc().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1244 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-19 03:44:13 +00:00
meep-eep 1344c87460 Extra fallback for the unlikely case that $HOME isn't set on a unix
system (fixes 493).


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1243 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-19 03:15:00 +00:00
meep-eep 3652e93ad8 Accept spaces in argument to '--contentdir'.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1242 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-19 01:07:47 +00:00
gewlitys 9b96b8d9b8 A few updates to the save/load menu (bug #291), from Paxtez
1) The boxes and text is drawn in the same batch as the rest of the summary, so
the fade-in's now have the text and it doesn't appear a split second later.
2) Widens the rects to closer match the PC version (4 of 4 people polled
prefered the new look.
3) Adds a little bound check for when the SAVES_PER_PAGE doesn't divide evenly
into MAXED_SAVED_GAMES
4) Expands the black rect to cover the safe-x expanded bars.
5) When displaying more then 99 saves will display 3 digits.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1241 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-18 20:51:01 +00:00
avolkov f8090b478c warning fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1240 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-18 19:44:44 +00:00
avolkov ad86e93d9c updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1239 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-18 10:10:36 +00:00
avolkov f1e355898a Buffer tagging and trackplayer chaining abstraction;
Trackplayer-specific code is separated from the streamer and
is done in callbacks; buffer-tagging is also callback-driven;
(movie playback support phase 1)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1238 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-18 10:02:10 +00:00
avolkov b33f1a5982 Thraddash dilalog fix (forgot to commit this before)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1237 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-18 03:39:31 +00:00
avolkov e00ce8ec3b Thraddash dialog fix (bug #486)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1236 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-15 17:13:31 +00:00
gewlitys 490108dfe6 FIxes additional problems found in bug #476, from chmmravatar
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1235 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-15 16:38:04 +00:00
avolkov 814eacbe7b Sofixti dialog fixes (bug #485)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1234 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-15 14:38:20 +00:00
mcmartin c967decff0 Unified the recursive mutex implementations in MixSDL and DCQ code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1233 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-14 02:23:08 +00:00
mcmartin e9c78782e7 Introduction and first deployment of CrossThreadMutex
CrossThreadMutex has the semantics for locking that we actually want, as
opposed to Semaphores, which are "close enough" but fail dramatically on
double-unlocks.  The clock and graphics locks have been shifted over to
CTMs, but a few still remain (and will be replaced later).


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1232 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 17:54:20 +00:00
gewlitys a8ed3da9d4 Load/save icons don't flash anymore when in savegame menu (part of bug
#291), from Paxtez


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1231 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 16:21:12 +00:00
gewlitys 9a3b53d291 Savegame slot now defaults to the last one used during one execution of
uqm (bug #477), from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1230 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 16:06:57 +00:00
gewlitys b8f4f7dfe9 Fixed one-pixel glitch in shipyard when scrapping (bug #461), from
Paxtez


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1229 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 15:51:03 +00:00
gewlitys fc5f75dbb9 Adjusted subtitle timings when there are no oggs (part of bug #362),
from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1228 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 15:41:14 +00:00
gewlitys 50a80d6f63 Fixed crash in conversation summary and ffw/frew problem when selling
data to Melnorme (bug #476), from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1227 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 15:08:51 +00:00
mcmartin 3358c8e571 XFormControl synchronized with mutexes instead of semaphores
Like w_memlib, these are always unlocked at procedure boundaries, so
shifting to Mutexes is safe.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1226 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 07:30:35 +00:00
mcmartin 96e1f955a0 Control memory with a mutex instead of a semaphore
Mutex locks, unlike semaphore locks, cannot fail, but they must stay
within their thread.  The memory lock is unlocked at all procedure
boundaries; thus, it is safe to use a normal mutex.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1225 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-09-13 07:10:43 +00:00