Commit Graph

55148 Commits

Author SHA1 Message Date
Strangerke
f35c410493 HOPKINS: Remove the last GOTO from TalkManager 2013-02-06 21:59:13 +01:00
Strangerke
2e47d8fe7a HOPKINS: Renaming in ScriptManager and DialogManager 2013-02-06 21:44:32 +01:00
Strangerke
7d40d1e2e3 HOPKINS: Remove two labels and their associated GOTOs from EventsManager 2013-02-06 19:59:23 +01:00
Strangerke
880f00150c HOPKINS: Fix regression in #fddc6497bf316e6e44b258b1c7fd9adc0749bd72 : "Menu: after the fading, a button is moved by 1 or 2 pixels" 2013-02-06 08:18:19 +01:00
Strangerke
205fdaaa0c HOPKINS: Remove a useless variable in LinesManager, some renaming 2013-02-06 08:02:18 +01:00
Strangerke
46ef222ccd HOPKINS: Remove 2 labels and associated GOTOs from ObjectManager 2013-02-06 00:11:45 +01:00
Strangerke
caefdc9439 HOPKINS: Some renaming in ObjectsManager 2013-02-05 08:00:49 +01:00
Strangerke
324da2999b HOPKINS: More refactoring and renaming in ObjectsManager 2013-02-05 07:52:46 +01:00
Strangerke
19427ff176 HOPKINS: Some refactoring in ObjectsManager 2013-02-05 00:12:42 +01:00
Strangerke
555c0ad320 HOPKINS: Fix spacing in Debugger 2013-02-04 23:01:02 +01:00
Strangerke
03257de902 HOPKINS: Refactoring in ComputerManager 2013-02-04 22:54:23 +01:00
Strangerke
98e3f09863 HOPKINS: Improve imageStr allocation, replace remaining useless reads by skips 2013-02-04 20:38:31 +01:00
Strangerke
0747f769e9 HOPKINS: Use similar naming and coding style in different functions of AnimationManager 2013-02-04 08:24:49 +01:00
Strangerke
013bbbbad4 HOPKINS: Start refactoring playSequence2. Remove 4 labels and the associated GOTOs 2013-02-04 08:07:44 +01:00
Torbjörn Andersson
2396316201 HOPKINS: Use SWAP() to swap elements in displaySprite() 2013-02-04 00:17:24 +01:00
Strangerke
ae80dc481b HOPKINS: More refactoring of playSequence in order to handle shouldQuit() 2013-02-03 23:07:51 +01:00
Strangerke
db60dcb432 HOPKINS: Replace a global variable by a parameter in playSequence() 2013-02-03 22:51:34 +01:00
Strangerke
cec23051b3 HOPKINS: Fix the Esc key behavior in playSequence, remove several GOTOs 2013-02-03 22:28:38 +01:00
Torbjörn Andersson
49afc87b88 HOPKINS: Attempt to fix crash when skipping movie
Before starting an "Swav" sound, check that its sound handle isn't
already used. If it is, stop it. When skipping a movie, it still
(incorrectly?) goes through the motions of playing the remaining
frames, including starting any movie sounds on the way.

This would cause us to lose the handle to the sound that was
currently playing in the "Swav" slot, and I *think* that's what
ended up confusing things. I'm still not entirely sure exactly
what was happening.
2013-02-03 18:33:20 +01:00
Strangerke
bce7139c8c HOPKINS: Refactor selection of action animations 2013-02-03 15:42:49 +01:00
Strangerke
5846c71469 HOPKINS: Remove debug hack left in previous commit, some tiny refactoring 2013-02-03 14:30:03 +01:00
Strangerke
5be9c19ac7 HOPKINS: flatten a leftover serie of IFs 2013-02-03 14:20:39 +01:00
Strangerke
6a477576b9 HOPKINS: Some more refactoring in BTOCEAN code 2013-02-03 14:14:08 +01:00
Strangerke
c4657c71ab HOPKINS: Get rid of 3 more labels 2013-02-03 13:50:29 +01:00
Strangerke
397c0cc238 HOPKINS: Start refactoring BTOCEAN. Get rid of two labels and their associated GOTOs 2013-02-03 13:38:51 +01:00
Strangerke
0f69da1a4f HOPKINS: Skip several useless reads in playAnim2, some more refactoring 2013-02-03 11:22:20 +01:00
Strangerke
29ce3e23f1 HOPKINS: More refactoring in playAnim2. Get rid of the remaining GOTOs 2013-02-03 11:08:37 +01:00
Strangerke
c56efbb203 HOPKINS: More refactoring in playAnim2: Get rid of another label and associated GOTO 2013-02-03 10:27:53 +01:00
Strangerke
3653f2b214 HOPKINS: Remove dead code in playAnim2, get rid of one more GOTO 2013-02-03 10:19:42 +01:00
Strangerke
f90da4dd7e HOPKINS: Get rid of another couple of GOTOs in playAnim2 2013-02-03 10:04:03 +01:00
Strangerke
aa4f39e666 HOPKINS: Remove two GOTOs in playAnim() 2013-02-03 07:59:48 +01:00
Strangerke
6797698af8 HOPKINS: Some more refactoring 2013-02-03 01:25:37 +01:00
Torbjörn Andersson
b889bb69ef HOPKINS: Fix Valgrind warnings in INILINK()
We can't read all the way to the end of the buffer, because the
READ_BE_UINT24() function will, naturally, read a few bytes ahead.
2013-02-02 23:09:29 +01:00
Torbjörn Andersson
8f300bdc30 HOPKINS: Fix GCC warnings 2013-02-02 20:26:42 +01:00
Strangerke
690405961f HOPKINS: Some refactoring in GraphicsManager 2013-02-02 19:20:58 +01:00
Torbjörn Andersson
ea4639c65f HOPKINS: Fix Sprite_Vesa() height clipping
This fixes some Valgrind warnings on the city overhead map, and also
seem to get rid of the bird "droppings" previously left behind in the
area beneath the picture. There are things I don't understand about
this function, but I hope I didn't break anything.
2013-02-02 12:41:44 +01:00
Strangerke
9772426c58 HOPKINS: Fix signness issue, get rid of another GOTO 2013-02-02 12:26:21 +01:00
Strangerke
4b0e226340 HOPKINS: Get rid of a goto in the display code. Remove useless casts (with comments about that). Some renaming. 2013-02-02 12:15:41 +01:00
Strangerke
f10d3c8dcc HOPKINS: Remove 2 more labels in EventsManager 2013-02-01 07:55:49 +01:00
Strangerke
7480957ab0 HOPKINS: Get rid of a couple of LABELS in EventsManager, some renaming 2013-02-01 07:36:13 +01:00
Strangerke
3cb6af38df HOPKINS: Some refactoring in DialogsManager 2013-02-01 00:33:01 +01:00
Strangerke
334968c5ff HOPKINS: More refactoring in AnimationManager and ComputerManager 2013-01-31 23:52:01 +01:00
Strangerke
7d743c9e77 HOPKINS: More refactoring in searchAnim 2013-01-31 08:24:34 +01:00
Strangerke
ab6826e24d HOPKINS: Start refactoring searchAnim 2013-01-31 08:18:01 +01:00
Strangerke
9dd09f6c6e HOPKINS: Remove some more casts to unsigned int 2013-01-31 07:48:44 +01:00
Strangerke
15de07ff74 HOPKINS: Introduce MKTAG24. Make use of MKTAG16 and MKTAG24 2013-01-30 08:31:32 +01:00
Strangerke
e68e3c91eb HOPKINS: USe MKTAG where possible 2013-01-30 00:17:08 +01:00
Strangerke
3b63e28a39 HOPKINS: Refactor searchCharacterAnim() 2013-01-29 23:59:25 +01:00
Strangerke
9ceb6c18cd HOPKINS: Fix regression introduced in 4ce218ef00 2013-01-29 21:16:46 +01:00
Strangerke
4fed1f580e HOPKINS: More renaming in the Global class 2013-01-29 08:35:14 +01:00