10173 Commits

Author SHA1 Message Date
Max Horn
3f2fc3e8be cleanup
svn-id: r13450
2004-04-03 22:52:36 +00:00
Max Horn
90dd9af577 fixed hypothetical off-by-one error when computing _draw_bottom (a semantical problem: _draw_bottom is supposed to be the bottom most pixel which is actually drawn; in the other case, it's top+height, i.e. one pixel *below* that last drawn pixel row. In addition, some cleanup
svn-id: r13449
2004-04-03 20:56:19 +00:00
Max Horn
6aa6b49ed5 cleanup StringTab stuff
svn-id: r13448
2004-04-03 19:41:31 +00:00
Gregory Montoir
8f6ae7973e patch #910779 (with minor tweaks), fotaq hebrew support :
- reversed button captions in journal
- reversed command text in pinnacle room
- reverse order of lines in dialogue chooser

thanks Ori Avtalion !

svn-id: r13447
2004-04-03 17:58:58 +00:00
Max Horn
330cf43383 Fix for bug #896844 (DIG: Missing subtitle at the lab console)
svn-id: r13446
2004-04-03 13:16:02 +00:00
Jonathan Gray
dedc33d99c make hdiutil overwrite the disk image if it already exists, although it will still fail if it is already attached
svn-id: r13445
2004-04-03 07:19:10 +00:00
Max Horn
3ae3eccac8 cleanup
svn-id: r13444
2004-04-03 00:56:55 +00:00
Max Horn
a47793c8e0 oops
svn-id: r13443
2004-04-02 22:01:25 +00:00
Max Horn
4a41973804 Got rid of _transText
svn-id: r13442
2004-04-02 21:56:27 +00:00
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