Alyssa Milburn
18b1f6d7c6
TONY: Remove unused data dumping code.
2012-08-28 13:33:24 +02:00
Alyssa Milburn
fbf771ea55
TONY: Fix stringLen for empty strings.
2012-08-28 10:09:13 +02:00
Alyssa Milburn
e6bd426398
TONY: Rename curDialog to g_curDialog.
2012-08-28 09:47:21 +02:00
Alyssa Milburn
3570a0153d
TONY: Improve Take/ReleaseOwnership.
...
This releases all held 'mutexes' when processes die, and keeps
track of the lock count too, just in case.
2012-08-28 09:26:04 +02:00
Alyssa Milburn
28681a32ee
TONY: Remove more unused bits.
2012-08-27 23:41:23 +02:00
Strangerke
bfca99eb18
TONY: missing makefile in create_tony
2012-08-27 22:35:56 +02:00
Willem Jan Palenstijn
6805c2cec2
TONY: Translate some minor Italian comments
2012-08-27 13:07:34 +02:00
Alyssa Milburn
7b4dd0a682
TONY: Remove various bits of unused code.
2012-08-27 12:50:33 +02:00
Alyssa Milburn
037920bf76
TONY: Fix width of flipped dirty rects.
2012-08-27 12:30:02 +02:00
Strangerke
addca5d856
TONY: _rgb buffer is no longer static
2012-08-27 06:51:29 +02:00
Strangerke
72604fa3a6
TONY: USe default fonts (Italian/English) when the language is unhandled instead of erroring out
2012-08-27 00:17:28 +02:00
Strangerke
2ce6576515
TONY: Add English in loadTonyDat
2012-08-26 23:58:06 +02:00
Strangerke
7cb29f1522
TONY: Move font related arrays to a DAT file
2012-08-26 23:33:46 +02:00
Alyssa Milburn
5cc63df513
TONY: Fix exiting from the save menu.
...
We have to copy _nState before it gets reset in closeState.
2012-08-25 14:46:47 +02:00
Alyssa Milburn
ca82454d74
TONY: Reset _hEndOfBuffer when restarting sounds.
2012-08-25 14:09:02 +02:00
Alyssa Milburn
f4b83283f3
COMMON: Fix waiting for multiple coroutine events.
...
This fixes the bWaitAll case of waitForMultipleObjects, and also the
resetting of events later in the function.
2012-08-25 14:05:04 +02:00
Alyssa Milburn
8b0dca3862
TONY: Fix Take/ReleaseOwnership.
2012-08-25 13:32:08 +02:00
Torbjörn Andersson
659436739f
TONY: Make the verb menu sound effects play
...
At least for now, preloading utility sound effects *is* needed in
ScummVM. And since we now have preloading of both normal and utility
sound effects, I've unstubbed the unloading functions as well.
2012-08-25 12:56:02 +02:00
Alyssa Milburn
a9828c8818
TONY: Replace copyMemory with memcpy.
2012-08-25 10:08:10 +02:00
Alyssa Milburn
b14a616f3f
TONY: Get rid of RMString.
2012-08-25 10:08:10 +02:00
Alyssa Milburn
b77306bfcc
TONY: Convert more strings to Common::String.
2012-08-25 08:41:22 +02:00
Alyssa Milburn
ff9569572a
TONY: Store savegame names with Common::String.
2012-08-25 08:41:22 +02:00
Alyssa Milburn
ba20f1d90d
TONY: Remove unused members of RMTextItemName.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
f917a4beab
TONY: Use Common::String in writeText.
...
This uses an array of lines rather than trying to stick nulls into
the string, and so fixes wrapping on hyphens (which overwrote the
character before the hyphen). Thanks to eriktorbjorn for both
finding the bug and working out what was going wrong.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
af134e0244
TONY: Animate mouse cursors.
...
This restores the forgotten doFrame code for RMPointer, which fixes
the bird mouse cursor. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
aa603bc208
TONY: Mark screen dirty in RMGfxClearTask.
...
This fixes the "A LONG TIME AFTER..." screen when talking to the old
woman in the booth. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
7815c05220
TONY: Use the right dirty rects for drawAA.
...
This makes it match the relevant non-AA code, and fixes problems
due to the invalid rects. (Perhaps we don't need dirty rects here
at all though, since all the callers seem to call the non-AA code
first with the same parameters?)
2012-08-25 08:41:21 +02:00
Alyssa Milburn
68c6109e76
TONY: Draw the dirty rectangle debugging last.
...
Otherwise the rects are overwritten by the actual drawing.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
0163bd38e8
TONY: Fix background dirty rect handling.
...
Reset the scrolling state on load, so that when a new scene is
loaded, the background is redrawn. Also, revert the workaround
in d0d15af9, since this (hopefully) fixes the underlying problem.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
61b11037c3
TONY: Ignore draw attempts with non-positive width/height.
...
This avoids an invalid dirty rect (width -1) during the
introduction scene inside Halloween Park.
2012-08-25 08:41:21 +02:00
Paul Gilbert
bad6ec8388
TONY: Fixed problem with spoken voices being clipped when timed text mode is on.
2012-08-23 22:05:23 +10:00
Paul Gilbert
93e10b5210
TONY: Removed some debug warnings which aren't needed any longer
2012-08-23 22:05:22 +10:00
Alyssa Milburn
b1486aa5fe
TONY: Fix spelling of setStretch.
2012-08-22 21:56:12 +02:00
Alyssa Milburn
93f145773e
TONY: Fix saveSoundSettings to use setInt for talkspeed.
2012-08-22 21:52:22 +02:00
Alyssa Milburn
c340739001
TONY: Replace _vm with g_vm.
2012-08-22 21:51:51 +02:00
Paul Gilbert
482c1a71b0
TONY: Removed some TODO warnings that aren't needed any longer
2012-08-22 22:28:08 +10:00
Paul Gilbert
dfb0e4f700
TONY: Fix dirty rect refresh glitch in the introduction sequence
2012-08-12 19:47:48 +10:00
Torbjörn Andersson
846f9644dd
TONY: Clip width to avoid crash when drawing flipped sprite
...
This fixes - or at least work around - a failed assertion when
Pantagruel leaves the office at the beginning of the game.
2012-08-01 22:34:00 +02:00
Torbjörn Andersson
fab814b774
TONY: Remove unused variable.
...
It wasn't used in the original engine either.
2012-07-31 21:29:25 +02:00
Torbjörn Andersson
3b40d14152
TONY: Whitespace changes.
2012-07-31 20:36:48 +02:00
Torbjörn Andersson
a5bfbeed32
TONY: Don't pass uninitialised rect to addDirtyRect()
...
Wait until after we have the destination rect. Unfortunately, this
does not fix any of the graphical glitches during the intro.
2012-07-26 20:15:32 +02:00
Torbjörn Andersson
09d9b0d8c9
TONY: Change platform from DOS to Windows
...
This is cosmetic, just to keep the detector from saying that Tony
Tough is a DOS game.
2012-07-15 20:48:43 +02:00
Torbjörn Andersson
9cc7d6c6c5
TONY: Fix crash when entering "sepia" mode by loading a savegame.
...
Apparently, in this case the cursor is updated before _precalcTable
has been created. Added safeguard against that.
2012-07-02 20:51:14 +02:00
Torbjörn Andersson
924aac4389
TONY: Fix warning about statement without effect.
2012-07-02 20:48:57 +02:00
Paul Gilbert
58b03ec446
TONY: Refactored the Sepia (B & W) mode so the cursor is converted as well
2012-07-02 20:53:31 +10:00
Torbjörn Andersson
65a8799f96
TONY: Added "sepia mode".
...
This works by adding a wrapper function for copyRectToScreen(). As
far as the engine is concerned, it still draws everything in color.
The mouse cursors are still in color, but that can be fixed later.
2012-06-24 11:09:08 +02:00
Paul Gilbert
69ce6e35f4
TONY: Bugfix for crash when changing scene whilst music is playing
2012-06-23 16:28:03 +10:00
Paul Gilbert
46d87ef76a
TONY: Bugfix for loading ambient music when restoring a savegame
2012-06-23 15:25:03 +10:00
Paul Gilbert
717756749d
TONY: Merge of dirty rect functionality
2012-06-23 00:57:21 +10:00
Paul Gilbert
eef6b444df
TONY: Created a debugger command 'dirty_rects' to show dirty rect areas on-screen
2012-06-22 23:47:39 +10:00