Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn 15aa7c3343 cleanup
svn-id: r13441
2004-04-02 21:55:30 +00:00
Max Horn 67c6df86d4 Remove obsolete code fragment (a good sign for a refactoring is if it allows you to remove crufty hacks you didn't even think of :-)
svn-id: r13440
2004-04-02 21:51:56 +00:00
Max Horn ff180ffa86 One item less on the TODO
svn-id: r13439
2004-04-02 21:44:07 +00:00
Max Horn a16a86d90f simplify code by integrating a call to translateText() into addMessageToStack(); improved translateText() further
svn-id: r13438
2004-04-02 21:42:42 +00:00
Max Horn d25da64937 Shouldn't be necessary to do a second translation run in this place (at least I couldn't find any place were it is)
svn-id: r13437
2004-04-02 20:35:04 +00:00
Max Horn 15922a5e61 Added support for %___ strings (used in localized version of The Dig)
svn-id: r13436
2004-04-02 20:31:39 +00:00
Max Horn b6a4610a77 be tolerant against abuse of ConfMan.getInt(); add missing default value for 'speech_volume' in bs1
svn-id: r13435
2004-03-31 18:00:46 +00:00
Max Horn 933aab3100 Use vsprintf instead of vsnprintf: more portable, less safe (but then again, vsnprinft isn't that safe either)
svn-id: r13434
2004-03-30 22:56:57 +00:00
Paweł Kołodziejski 70545f2c01 please fix
svn-id: r13433
2004-03-30 07:11:01 +00:00
Paweł Kołodziejski dc3e230283 update
svn-id: r13432
2004-03-30 07:10:15 +00:00
Torbjörn Andersson b809a5670b Cleanup
svn-id: r13431
2004-03-30 06:54:27 +00:00
Max Horn 178bf539b4 Make use of Stack template
svn-id: r13430
2004-03-29 22:29:30 +00:00
Max Horn e8adb5e628 very simpled and limited stack class (fixed size even)
svn-id: r13429
2004-03-29 22:28:57 +00:00
Max Horn b6d911a616 Fixed a bad crash that occured when adding a new game target in the launcher
svn-id: r13428
2004-03-29 19:15:23 +00:00
Jonathan Gray 443c7cdb25 add most of my os x snapshot script as a makefile target
svn-id: r13427
2004-03-29 12:22:03 +00:00
Jonathan Gray 6995157908 use a make variable for static os x package prefix so I don't have to change as many lines, it should probably be changeable via the configure script at some point
svn-id: r13426
2004-03-29 11:59:09 +00:00
Jonathan Gray f12fbe1723 clean up FMUS handling, fix not being able to enable sound debug messages
svn-id: r13425
2004-03-29 11:02:45 +00:00
Travis Howell 8f6b452a50 Update
svn-id: r13424
2004-03-29 09:25:34 +00:00
Travis Howell ce7239115b Should have been disabled for Mac. indy3/loom.
Fixes distaff position

svn-id: r13423
2004-03-29 07:12:14 +00:00
Torbjörn Andersson bf10f5a616 Cleanup.
This removes a bunch of debugging code/commands that either didn't do
anything useful under ScummVM (e.g. "soft" and "hard"), or which did things
that was already easily avaiable elsewhere (e.g. "save" and "restore").

I didn't have the heart to remove the "tony" command, though. :-)

svn-id: r13422
2004-03-29 06:37:46 +00:00
Torbjörn Andersson 6cb86c641f Make clearScene() set the _needFullRedraw variable.
I think the reason I didn't do this from the start was that BS2 used to
call clearScene(), or whatever the function was called back then, between
every frame. Nowadays, it simply assumes that each frame will cover the
previous one.

Anyway, this change prevents the restart/restore dialog from appearing
briefly between the two intro cutscene animations.

svn-id: r13421
2004-03-29 06:32:54 +00:00
Max Horn f5f3ee903d Fix for bug #907174 (LOOM MAC: Crash after entering copy protection)
svn-id: r13420
2004-03-28 23:02:03 +00:00
Max Horn 0e36493349 Proper copy-protection bypass for Mac Loom (still crashes when entering the right code, though)
svn-id: r13419
2004-03-28 22:06:38 +00:00
Nicolas Bacca 039e06c59c Fix bug #925059
svn-id: r13416
2004-03-28 21:44:41 +00:00
Paweł Kołodziejski 0fb22df46c update
svn-id: r13414
2004-03-28 20:54:24 +00:00
Max Horn 39765b0d19 Remove explicit OSystem parameter from StackLock constructor; added OSystem::displayMessageOnOSD (not yet used; default implementation provided)
svn-id: r13413
2004-03-28 20:31:18 +00:00
Max Horn 09e3fec623 Preserve comments in config files
svn-id: r13412
2004-03-28 20:28:45 +00:00
Max Horn dbda6299e1 cleanup; extended config file format checking (partially from patch #896096)
svn-id: r13411
2004-03-28 18:29:27 +00:00
Max Horn 14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Torbjörn Andersson efb5f3777a New file.
svn-id: r13409
2004-03-28 15:11:48 +00:00
Torbjörn Andersson 0fb1d56589 Format string fix.
svn-id: r13408
2004-03-28 15:04:48 +00:00
Torbjörn Andersson c831739c9c More format string fixes.
svn-id: r13407
2004-03-28 14:56:02 +00:00
Torbjörn Andersson 00243652e0 Fixed paramters to match format string.
svn-id: r13406
2004-03-28 14:53:09 +00:00
Torbjörn Andersson 129152c18b Fixed format string to match parameters.
svn-id: r13405
2004-03-28 14:52:19 +00:00
Torbjörn Andersson 165e6c5eb5 Fixed format string to match the number of arguments.
svn-id: r13404
2004-03-28 14:48:05 +00:00
Torbjörn Andersson b25f42535b Changed printf() to debug() and removed newline at the end of some messages
svn-id: r13403
2004-03-28 14:27:54 +00:00
Max Horn a06c097408 rename displayError() to displayMessage(); fix slightly incorrect usage of that method
svn-id: r13402
2004-03-28 13:28:44 +00:00
Torbjörn Andersson 41ef5a97ea Cleanup.
One of the changes, I'm not quite sure about: buildDisplay() used to open
and close the _thisScreen.background_layer_id resource for each layer it
processed. In particular, it used to "release the screen resource before
cacheing the sprites".

I have no idea why, because I can't see any trace of a sprite cache, and I
can't think of any harm in keeping the resource open during the whole
render cycle. The resource is probably loaded into memory already anyway,
though its reference counter may be 0.

svn-id: r13401
2004-03-28 13:16:01 +00:00
Torbjörn Andersson 3f18905732 Force the engine to pick a cursor after restoring a game. This appears to
be needed when using the -x command-line option to restore a game, though
I'm not quite sure why.

svn-id: r13400
2004-03-28 13:13:16 +00:00
Torbjörn Andersson 93336d8bc9 Don't show the restart/restore dialog if a boot parameter has been given.
And a teensy-weensy little cleanup.

svn-id: r13399
2004-03-28 13:12:10 +00:00
Torbjörn Andersson d109cc1f98 Fixed bug I introduced in the recent cleanup: It's the screen, not the
overlay, that needs to be cleared at the beginning of the movie. Otherwise
what was on the screen may show at the end of the movie.

svn-id: r13398
2004-03-28 13:10:52 +00:00
Max Horn da400a38ed Small tweaks for MIPSPro compiler
svn-id: r13397
2004-03-28 13:02:28 +00:00
Max Horn 9d89a5f543 Fix bug #920491 (BS1: Game crashes when savepath is invalid)
svn-id: r13396
2004-03-28 12:59:51 +00:00
Max Horn b72d7dff1b reorder content
svn-id: r13395
2004-03-28 12:15:49 +00:00
Max Horn ce6e07db12 Fix bad array size (part of bug report #924685)
svn-id: r13394
2004-03-28 10:55:32 +00:00
Paweł Kołodziejski fdd44a242d forgot them
svn-id: r13393
2004-03-27 20:55:26 +00:00
Paweł Kołodziejski 7041ba3568 implemented priorites for imuse sounds
svn-id: r13392
2004-03-27 20:26:25 +00:00
Max Horn ab64ef93ec clarify OSystem specification (setTimerCallback() must be 'atomic')
svn-id: r13391
2004-03-27 18:30:30 +00:00
Max Horn c33712e3d6 small tweak
svn-id: r13390
2004-03-27 18:22:36 +00:00
Paweł Kołodziejski 0974887290 cleanup, and fix bug in table
svn-id: r13389
2004-03-27 18:12:18 +00:00