Strangerke
08db6ea515
HOPKINS: Rename a fading variable
2013-03-27 08:10:40 +01:00
Strangerke
9f9e665d8e
HOPKINS: Fix several Cppcheck warning
2013-03-27 00:51:35 +01:00
Strangerke
02f939c282
HOPKINS: Simplify some statements using MIN, MAX and CLIP
2013-03-26 08:13:14 +01:00
Paul Gilbert
63b669cfc4
HOPKINS: Fix for not being able to quit during underater base entrance cutscene
2013-03-25 09:18:13 -04:00
Strangerke
cfe42b15b1
HOPKINS: JANITORIAL: remove useless object pointers in ObjectsManager
2013-03-25 08:31:09 +01:00
Strangerke
023aa2765c
HOPKINS: Move some remaning variables and functions from Globals to ObjectsManager
2013-03-25 08:28:19 +01:00
Strangerke
91469d7d38
HOPKINS: More work on Globals
2013-03-25 08:02:07 +01:00
Strangerke
6f2eb50d2a
HOPKINS: Move some more variables and functions from Globals to ObjectsManager
2013-03-25 07:35:44 +01:00
Strangerke
165681b142
HOPKINS: Move more variables and functions out of Globals
2013-03-24 23:44:39 +01:00
Strangerke
ac338c3517
HOPKINS: Some more refactoring in Globals
2013-03-24 22:56:06 +01:00
Strangerke
57abce19b1
HOPKINS: More refactoring of Globals
2013-03-24 22:12:50 +01:00
Strangerke
b0f0a6cd92
HOPKINS: Move two more variables to ObjectsManager, make them private
2013-03-24 22:12:48 +01:00
Strangerke
ee3c0cc4fa
Hopkins: Move hotspotTextColor to LinesMAnager, make it private
2013-03-24 22:12:47 +01:00
Strangerke
aa141c4355
HOPKINS: Move 3 variables from Globals to ObjectsManager, make them private
2013-03-24 22:12:46 +01:00
Strangerke
b46f2ccdc7
HOPKINS: Move 2 variables from Globals to ObjectsManager and LinesManager
2013-03-24 22:12:44 +01:00
Strangerke
b8e504518e
HOPKINS: Some renaming and refactoring in Globals
2013-03-24 22:12:43 +01:00
Strangerke
149bb0ca00
HOPKINS: Move counter to LinesManager, rename it to follow coding conventions
2013-03-24 17:43:16 +01:00
Strangerke
94893636e4
HOPKINS: Move counter to ObjectsManager, rename it to follow coding conventions
2013-03-24 17:27:56 +01:00
Strangerke
d149303b4d
HOPKINS: Use displayText() for displaying credits
2013-03-24 16:47:58 +01:00
Strangerke
75b5753b61
HOPKINS: Remove an unused Catalog mode
2013-03-24 15:36:32 +01:00
Strangerke
1952a47787
HOPKINS: Add clearAll() to EventsManager
2013-03-24 15:31:59 +01:00
Strangerke
4ff6e13e02
HOPKINS: Set private more variables in DialogsManager
2013-03-24 13:55:11 +01:00
Strangerke
f782ca1c10
HOPKINS: Move inventory dialog display to DialogsManager, set _inventWin1 as private
2013-03-24 12:31:28 +01:00
Strangerke
b91c952729
HOPKINS: reorder one statement for consistency
2013-03-24 11:00:22 +01:00
Strangerke
91255b56ae
HOPKINS: set _clearAnimation private, add functions to access it
2013-03-24 10:56:58 +01:00
Strangerke
568b860c8a
HOPKINS: Some code rework in ScriptManager
2013-03-23 16:59:22 +01:00
Strangerke
38a90947fe
HOPKINS: Remove duplicated code in AnimationManager.
...
"noColFl" is only 'true' in one animation of the full game, so the code after the check isn't used in the demo.
2013-03-23 15:00:55 +01:00
Strangerke
a6a8f1afd8
HOPKINS: Remove one more variable from AnimationManager
2013-03-23 14:23:43 +01:00
Strangerke
c49cbf3747
HOPKINS: Get rid of NO_SEQ in AnimationManager
2013-03-23 09:06:27 +01:00
Strangerke
1c5b5a1649
HOPKINS: Fix regression in pathfinding code in 7916972977
2013-03-21 07:49:02 +01:00
Strangerke
510eb83aac
HOPKINS: Simplify a couple of tests in SoundManager
2013-03-21 07:19:10 +01:00
Strangerke
8467ea81c8
HOPKINS: Rename last vxx variables
2013-03-21 07:18:38 +01:00
Strangerke
faebcaf3c1
HOPKINS: Rename on more variable, some little refactoring in ScriptManager
2013-03-21 00:05:01 +01:00
Strangerke
82e6e61be8
HOPKINS: Remove setParent() from TalkManager
2013-03-20 08:13:32 +01:00
Strangerke
73b01f20af
HOPKINS: Remove setParent() from TalkManager
2013-03-20 08:10:28 +01:00
Strangerke
848841772f
HOPKINS: Remove setParent() from SaveLoadManager and ScriptManager
2013-03-20 08:06:10 +01:00
Strangerke
c5c7ced5ee
HOPKINS: Remove setParent() from MenuManager and ObjectsManager
2013-03-20 07:56:16 +01:00
Strangerke
56ae004475
HOPKINS: Remove setParent() from LinesManager
2013-03-20 07:47:39 +01:00
Strangerke
6a446ff9d1
HOPKINS: Remove setParent() from GraphicsManager
2013-03-20 07:36:06 +01:00
Strangerke
852e65bd02
HOPKINS: Remove setParent() from Globals
2013-03-20 07:27:42 +01:00
Strangerke
d9b596ad18
HOPKINS: Remove setParent() from FontManager
2013-03-20 01:00:12 +01:00
Strangerke
05a2f776a3
HOPKINS: Rename colour into color
2013-03-19 22:01:03 +01:00
Strangerke
f2d4151dd7
HOPKINS: Remove setParent() from FileManager
2013-03-19 21:57:28 +01:00
Strangerke
db6d7e256b
HOPKINS: Remove setParent() from EventsManager and Debugger
2013-03-19 20:41:39 +01:00
Strangerke
d85ac53420
HOPKINS: Remove useless define
2013-03-19 08:31:49 +01:00
Strangerke
fd5f8c7ef3
HOPKINS: Remove setParent() from DialogsManager
2013-03-19 08:26:36 +01:00
Strangerke
26d9122844
HOPKINS: Remove setParent() from ComputerManager
2013-03-19 08:21:42 +01:00
Strangerke
dc5a2b1de7
HOPKINS: Remove setParent() from AnimationManager
2013-03-19 08:17:01 +01:00
Strangerke
b0ad532a92
HOPKINS: Some renaming in TalkManager and GraphicsManager
2013-03-19 08:05:37 +01:00
Strangerke
de883e6198
HOPKINS: Fix some warnings reported by CppCheck
2013-03-18 08:19:33 +01:00
Strangerke
128fd022ab
HOPKINS: More renaming, fix a memory leak
2013-03-18 07:59:26 +01:00
Strangerke
551b3e5f95
HOPKINS: End rework on ScriptManager
2013-03-17 23:33:56 +01:00
Strangerke
7351d5272c
HOPKINS: More rework in ScriptManager
2013-03-17 23:23:44 +01:00
Strangerke
2746e2e666
HOPKINS: Start reworking ScriptManager
2013-03-17 22:43:31 +01:00
Paul Gilbert
df8be4ef0a
HOPKINS: More field renamings
2013-03-17 17:41:10 -04:00
Paul Gilbert
b984629d8a
HOPKINS: Give proepr names to some of the previously unnamed structure fields
2013-03-17 17:06:03 -04:00
Paul Gilbert
3d50c11071
HOPKINS: Fix corrupted frame at end of bank attack animation
2013-03-17 16:28:20 -04:00
Strangerke
9f81c4e556
HOPKINS: More renaming in ObjectsManager
2013-03-17 19:18:41 +01:00
Paul Gilbert
3c15da26b2
HOPKINS: Fix some references to renamed DD_VBL method
2013-03-17 11:56:12 -04:00
Paul Gilbert
4372bd8306
Merge branch 'hopkins_dirtyRects'
...
Conflicts:
engines/hopkins/anim.cpp
engines/hopkins/computer.cpp
engines/hopkins/dialogs.cpp
engines/hopkins/graphics.cpp
engines/hopkins/hopkins.cpp
2013-03-17 11:29:00 -04:00
Strangerke
43b9f5daff
HOPKINS: Some renaming in ObjectsManager
2013-03-17 15:17:42 +01:00
Strangerke
5dae972237
HOPKINS: Some refactoring and renaming in GENIAL()
2013-03-15 07:46:30 +01:00
Strangerke
0f407b7a0b
HOPKINS: More renaming
2013-03-14 08:05:09 +01:00
Paul Gilbert
39ffd06839
HOPKINS: Bugfix for refreshing Breakout lives when one is lost
2013-03-13 22:58:48 -04:00
Paul Gilbert
d10f81372b
HOPKINS: Endian fix for playing Breakout game
2013-03-12 23:03:18 -04:00
Paul Gilbert
3a48420c90
HOPKINS: Dirty rect fix for Breakout game
2013-03-12 21:44:36 -04:00
Paul Gilbert
408345ebab
HOPKINS: Further cleaned up dirty rect display
2013-03-12 21:43:48 -04:00
Strangerke
a00e89a2fd
HOPKINS: More renaming in LinesManager
2013-03-12 23:22:56 +01:00
Strangerke
51f94c3dc8
HOPKINS: Rename variables and mild code rework in LinesManager
2013-03-11 07:25:45 +01:00
Paul Gilbert
f49fb723da
HOPKINS: Added a more comprehensive rects merge code
2013-03-10 22:15:12 -04:00
Paul Gilbert
e50a7be7de
HOPKINS: Further fix for dirty area display in-game
2013-03-10 22:09:29 -04:00
Paul Gilbert
2d83249ac2
HOPKINS: Clean up main game quit checks
2013-03-10 20:25:05 -04:00
Strangerke
7916972977
HOPKINS: Remove several magic values used for directions
2013-03-10 23:53:37 +01:00
Strangerke
b4d6d443a5
HOPKINS: More work on characterRoute()
2013-03-10 11:39:58 +01:00
Paul Gilbert
3d06a93be1
HOPKINS: Merged dirty/refresh rect rect adding into a single method
2013-03-09 22:04:41 -05:00
Paul Gilbert
55c024494d
HOPKINS: Fix problem with scrolling not working properly
2013-03-09 09:44:46 -05:00
Strangerke
09e5661711
HOPKINS: Start reworking characterRoute()
2013-03-09 14:45:25 +01:00
Strangerke
d325a2d7aa
HOPKINS: Some renaming and refactoring in LinesManager
2013-03-09 09:41:15 +01:00
Strangerke
8229b1332b
HOPKINS: Some more renaming in LinesManager
2013-03-09 01:08:50 +01:00
Strangerke
d9e413defb
HOPKINS: More renaming in LinesManager
2013-03-08 07:56:53 +01:00
Strangerke
bb8d729910
HOPKINS: Remove a useless variable in cityMapRoute, some renaming
2013-03-07 08:41:17 +01:00
Strangerke
c6ba8f026f
HOPKINS: Get rid of a magic value, more renaming
2013-03-07 08:23:28 +01:00
Strangerke
2b9bc1a61b
HOPKINS: More renaming in MIRACLE() and characterRoute()
2013-03-07 00:27:47 +01:00
Strangerke
b8ff6c623f
HOPKINS: Some renaming in LinesManager
2013-03-06 23:47:33 +01:00
Paul Gilbert
83480c5784
HOPKINS: Fix transition between initial version display to intro animation
2013-03-06 09:46:05 -05:00
Strangerke
389f75b3dd
HOPKINS: Some more renaming in LinesManager
2013-03-06 08:28:18 +01:00
Paul Gilbert
188f7efd05
HOPKINS: Fix display of screen images using screen fade in
2013-03-05 20:58:43 -05:00
Paul Gilbert
f93275b310
HOPKINS: Removed usage of g_system->lockScreen
2013-03-05 09:42:06 -05:00
Strangerke
3e17373cfa
HOPKINS: Remove the last GOTOs
2013-03-05 08:26:51 +01:00
Strangerke
6b2890dc6e
HOPKINS: Some more renaming in FontManager
2013-03-05 07:56:53 +01:00
Strangerke
1bcc9d09bc
HOPKINS: Rename cutscenes functions
2013-03-05 07:54:26 +01:00
Strangerke
2ae05f0573
HOPKINS: Misc renaming and refactoring
2013-03-05 07:45:15 +01:00
Strangerke
cd412b3a89
HOPKINS: Remove debugging hack
2013-03-05 07:32:35 +01:00
Strangerke
23badc9735
HOPKINS: Some renaming
2013-03-04 07:46:52 +01:00
Paul Gilbert
7a7b2b35e2
HOPKINS: Added a debugger command to frame dirty rects
2013-03-02 22:36:38 -05:00
Paul Gilbert
77eb6f74eb
HOPKINS: Fix to not display dirty rects that are off-screen
2013-03-02 21:47:03 -05:00
Paul Gilbert
9d8eb97840
HOPKINS: Hooked up display code for refresh rects
2013-03-02 20:57:42 -05:00
Paul Gilbert
95aca78bcd
HOPKINS: Renamed dirty rect methods
2013-03-02 20:40:03 -05:00
Paul Gilbert
7c862d586e
HOPKINS: Preparatory work for a refresh rect list
2013-03-02 18:56:14 -05:00
Paul Gilbert
d738802bc1
HOPKINS: Converted dirty rects to use Common::Array
2013-03-02 17:30:42 -05:00
Torbjörn Andersson
b3d52de50f
JANITORIAL: Remove unnecessary semicolons
2013-03-02 20:19:45 +01:00
Strangerke
052b67f488
HOPKINS: Some renaming and refactoring in LinesManager
2013-03-02 18:48:11 +01:00
Paul Gilbert
c3bab0aecb
HOPKINS: Cleaned up the addDirtyRect method
2013-03-02 10:53:11 -05:00
Strangerke
06a839165a
HOPKINS: Rework two opcodes
2013-03-02 00:33:08 +01:00
Strangerke
167aa598d8
HOPKINS: More renaming in savegame structure
2013-03-01 23:46:24 +01:00
Strangerke
d7ea7ca378
HOPKINS: Rename some more savegame indexes
2013-03-01 07:57:11 +01:00
Strangerke
cfcf0e40a5
HOPKINS: Forgotten file in previous commit
2013-02-28 08:23:49 +01:00
Strangerke
7c30a64121
HOPKINS: Rename some members of savegame offset enum, remove some unused ones
2013-02-28 08:16:38 +01:00
Strangerke
94176c7463
HOPKINS: Some renaming in ScripManager
2013-02-27 23:18:43 +01:00
Strangerke
2a9ec04a84
HOPKINS: Remove dead code in ObjectsManager, some renaming
2013-02-27 08:00:40 +01:00
Strangerke
2168b2e6b5
HOPKINS: Fix bug in previous commit. Thanks Kirben for pointing to it
2013-02-27 00:25:52 +01:00
Strangerke
58eefc0833
HOPKINS: Get rid of magic values in FilesManager
2013-02-27 00:15:54 +01:00
Strangerke
c74361b0b6
HOPKINS: Get rid of a magic value in save/load dialogs
2013-02-26 23:54:50 +01:00
Strangerke
20fefb64e5
Hopkins: More renaming in LinesManager
2013-02-26 23:27:55 +01:00
Strangerke
9210eb5045
HOPKINS: Some more renaming in LinesManager
2013-02-26 08:21:28 +01:00
Strangerke
189260757d
HOPKINS: Some renaming in LinesManager
2013-02-26 08:06:08 +01:00
Strangerke
79062f426e
HOPKINS: Some renaming in GraphicsManager
2013-02-26 07:37:09 +01:00
Paul Gilbert
54924de6cb
HOPKINS: Home-screen now displaying correctly with dirty rects
2013-02-25 22:00:36 -05:00
Filippos Karapetis
b7419454c5
HOPKINS: Rename DD_VBL() -> updateScreen()
2013-02-25 22:00:45 +02:00
Matthew Hoops
c9b1dd37c5
HOPKINS: Don't have the TWA/APC code in the Audio namespace
2013-02-25 10:32:12 -05:00
Matthew Hoops
b22bb6d463
HOPKINS: Remove long double usage
2013-02-25 10:27:01 -05:00
Paul Gilbert
317bd9ebd0
HOPKINS: Beginnings of implementing dirty rect support
2013-02-24 22:03:38 -05:00
Strangerke
79bbd015ab
HOPKINS: Remove a useless variable, some renaming in HopkinsEngine
2013-02-23 10:55:41 +01:00
Strangerke
3787e69e7b
HOPKINS: Add comments concerning the Win95 UK demo fix
2013-02-23 10:23:44 +01:00
Strangerke
9a535ac9f6
HOPKINS: Remove verbose error messages when the English demo skips the speech loading
2013-02-22 23:51:29 +01:00
Strangerke
5297f63707
HOPKINS: Fix the crash related to the missing speech file in the Win95 English demo
2013-02-22 19:23:21 +01:00
Strangerke
29c664a696
HOPKINS: Implement a more proper function to clear the palette.
2013-02-22 17:18:44 +01:00
Strangerke
3625aed6f6
HOPKINS: Start making code a bit less verbose
2013-02-22 12:18:20 +01:00
Strangerke
577f904055
HOPKINS: More renaming in Globals and ObjectsManager
2013-02-22 10:36:54 +01:00
Strangerke
e4edf54209
HOPKINS: Some renaming in Globals and ObjectsManager. Remove a couple of useless variables.
2013-02-22 09:10:45 +01:00
Strangerke
b0a55e7a4f
HOPKINS: Renaming in LinesManager and Globals
2013-02-22 08:18:13 +01:00
Willem Jan Palenstijn
5d36b5fb6e
HOPKINS: Pre-convert palette
2013-02-21 18:37:15 +01:00
Strangerke
691f21da96
HOPKINS: Some renaming and refactoring in Globals and LinesManager
2013-02-21 08:23:38 +01:00
Strangerke
8457c00457
HOPKINS: More misc renaming
2013-02-20 08:30:16 +01:00
Strangerke
f9f6133851
HOPKINS: Misc renaming
2013-02-20 01:23:39 +01:00
Strangerke
9aa7e136f8
HOPKINS: Some more renaming in TalkManager and Globals
2013-02-19 23:18:43 +01:00
Strangerke
213914c045
HOPKINS: Some renaming in Globals
2013-02-19 21:12:57 +01:00
Strangerke
0f786d83a2
HOPKINS: More renaming in LinesManager
2013-02-19 18:06:05 +01:00
Strangerke
7db7f8fff0
HOPKINS: Regroup some IF statements in linesManager
2013-02-19 17:13:06 +01:00
Strangerke
471b8af482
HOPKINS: Some renaming in LinesManager, remove a couple of problematic asserts
2013-02-19 17:07:29 +01:00
Strangerke
a208f51db7
HOPKINS: More renaming in SoundManager
2013-02-19 15:08:12 +01:00
Strangerke
5bbdbc0fad
HOPKINS: Misc renaming, some sound refactoring
2013-02-19 14:34:43 +01:00
Strangerke
72f7421b6d
HOPKINS: Remove a couple of useless variables and associated dead code
2013-02-19 07:55:38 +01:00
Dreammaster
38e9dbfe3f
HOPKINS: Fixed shadowed variable warning
2013-02-18 23:45:58 -05:00
Dreammaster
7a73412fb6
HOPKINS: Fixed warnings about switch statements using DIR_ constants
2013-02-18 23:43:19 -05:00
Dreammaster
f92154dbe1
HOPKINS: Changed WinScan to use actual screen pitch
2013-02-18 23:30:59 -05:00
Willem Jan Palenstijn
71f70158e7
HOPKINS: Fix repeating route from pathfinder
...
Regression from d7c8fe912
.
2013-02-19 00:52:48 +01:00
Willem Jan Palenstijn
95c44e0a51
HOPKINS: Fix typo
2013-02-19 00:39:43 +01:00
Willem Jan Palenstijn
81bb4d4374
HOPKINS: Merge 'remotes/dreammaster/hopkins' into hopkins
...
Conflicts:
engines/hopkins/lines.cpp
engines/hopkins/lines.h
engines/hopkins/objects.cpp
2013-02-18 23:54:18 +01:00
Willem Jan Palenstijn
6df59334b8
HOPKINS: Fix route direction
...
This fixes pathfinding to the top right in some situations.
2013-02-18 23:52:27 +01:00
Willem Jan Palenstijn
5ca0cc8fcd
HOPKINS: Refactor loop structure in PARC_PERS
2013-02-18 23:52:18 +01:00
Strangerke
7428af9a4c
HOPKINS: Replace casted READ_LE_UINT16 by the equivalent macro to improve readability
2013-02-18 01:37:21 +01:00
Strangerke
ccf07b8956
HOPKINS: More Direction refactoring
2013-02-18 01:19:41 +01:00
Strangerke
979328ebdb
HOPKINS: Introduce Directions enum
2013-02-16 18:48:55 +01:00
Willem Jan Palenstijn
f80cd6407c
HOPKINS: Extract utility function for appending linedata to route list
2013-02-16 15:59:06 +01:00
Willem Jan Palenstijn
cccbd84204
HOPKINS: Convert route lists into structs
2013-02-16 15:59:02 +01:00
Strangerke
3e0739a49c
HOPKINS: Some renaming and refactoring
2013-02-16 14:57:25 +01:00
Strangerke
355422455c
HOPKINS: Some more similar cleanup
2013-02-16 00:06:45 +01:00
Strangerke
c5f800af1b
HOPKINS: Some renaming, remove useless self-accessing code pointed by wjp
2013-02-15 23:57:23 +01:00
Strangerke
2301dc8f38
HOPKINS: Start refactoring MIRACLE
2013-02-15 23:41:05 +01:00
Strangerke
84e290eade
HOPKINS: Reorder includes
2013-02-15 22:20:24 +01:00
Strangerke
bda951c5e2
HOPKINS: Fix 2 comments of LordHoto
2013-02-15 21:35:03 +01:00
Torbjörn Andersson
53beb9a26c
HOPKINS: Add detection entry for uninstalled BeOS version
...
It won't quite detect as it appears on the CD - you need to put the
Hopkins.pkg file in the HOPDATA - and since that file isn't actually
needed we may want to re-think that in the future. But at least it
will make it easier to test this version.
2013-02-15 18:34:06 +01:00
Strangerke
d1a19a1d4c
HOPKINS: Move font initialization to FontsManager
2013-02-15 08:47:33 +01:00
Strangerke
4c1047cb81
HOPKINS: Use freeMemory instead of free in some spaces
2013-02-15 08:41:22 +01:00
Strangerke
93dc7c8e63
HOPKINS: Move mouse data initialization to EventsManager, set mouse variable as private
2013-02-15 08:33:42 +01:00
Strangerke
0a1cc63abb
HOPKINS: More renaming and refactoring
2013-02-15 08:24:10 +01:00
Strangerke
f5d3df3d2d
HOPKINS: More gesture variables to ObjectsManager
2013-02-15 08:03:59 +01:00
Strangerke
078f950f38
HOPKINS: Renaming in ObjectsManager
2013-02-15 07:56:47 +01:00
Dreammaster
fb163db0bc
HOPKINS: Fix freeze when playing some animations
2013-02-14 21:08:00 -05:00
Paul Gilbert
edd0a631fc
HOPKINS: Added a basic base map screen for the Windows version if a PBASE.PCX file can't be found
2013-02-13 22:52:03 -05:00
Strangerke
2b865f6fe2
HOPKINS: Move some zone code to LinesManager
2013-02-12 23:48:03 +01:00
Strangerke
9223719f2a
HOPKINS: Some renaming in GraphicManager
2013-02-12 22:19:59 +01:00
Strangerke
e47d34f951
HOPKINS: Fix transition glitch when skipping animations
2013-02-12 08:34:49 +01:00
Strangerke
2634c65d2f
HOPKINS: Minor refactoring in GraphicManager
2013-02-12 08:04:07 +01:00
Strangerke
c41a5fd112
HOPKINS: Some more renaming and refactoring in Globals
2013-02-11 08:04:20 +01:00
Strangerke
89c1793865
HOPKINS: Some more renaming and refactoring in FontManager
2013-02-11 07:53:22 +01:00
Torbjörn Andersson
ccd688be84
HOPKINS: Fix GCC warning
2013-02-11 06:05:00 +01:00
Strangerke
425830af87
HOPKINS: Some renaming and refactoring in ComputerManager and FontManager
2013-02-11 00:36:43 +01:00
Strangerke
705d00470a
HOPKINS: Move _bob to ObjectsManager
2013-02-11 00:15:00 +01:00
Strangerke
0f09b3d793
HOPKINS: Remove obsolete TODOs
2013-02-10 22:38:49 +01:00
Torbjörn Andersson
e5c04b0f26
HOPKINS: Hide cursor during cutscenes
...
This hopefully fixes the regression that was recently introduced
where the cursor would be visible, but black, during cutscenes.
This was presumably because the color black in a mouse cursor no
longer necessarily means that it's transparent.
2013-02-10 22:26:12 +01:00
Torbjörn Andersson
3fc929d66c
HOPKINS: Fix cursor endian issue (I think)
...
I had assumed that PAL_PIXELS contained the colors encoded in
native byte order, but looking again it appears that it's always
encoded as little-endian.
2013-02-10 15:56:18 +01:00
Torbjörn Andersson
f6456003e1
HOPKINS: Fix cursor tranparency
...
Before, cursor images were converted to 16 bpp, and anything that
was the same as the first color in PAL_PIXELS[] was made transparent.
Now, cursors images are drawn as 8 bpp with a cursor palette created
from PAL_PIXELS[]. This preserves all the black parts of the cursor
that weren't actually color index 0.
It would be nice if we only regenerated the cursor/palette when they
have actually changed, but that's for later.
2013-02-10 12:19:41 +01:00
Strangerke
2044a71c27
HOPKINS: (mostly) fix the priority bug in the city map. Still rare visible glitches on the chimney, but the birds are ok!.
2013-02-10 11:15:19 +01:00
Strangerke
d102511da6
HOPKINS: Some more renaming in TalkManager
2013-02-10 11:14:22 +01:00
Strangerke
7927babf21
HOPKINS: Some more renaming and refactoring in TalkManager
2013-02-09 14:52:37 +01:00
Strangerke
6830416d86
HOPKINS: Some refactoring. Remove a variable from TalkManager
2013-02-08 23:51:37 +01:00
Strangerke
c29f4c71b1
HOPKINS: Improve private/public scope in TalkManager
2013-02-08 07:35:25 +01:00
Strangerke
6ce3e2187b
HOPKINS: Improve private/public scope in SoundManager and ScriptManager
2013-02-08 07:29:40 +01:00
Strangerke
3de056d381
HOPKINS: Improve private/public scope in ObjectsManager
2013-02-08 06:44:28 +01:00
Strangerke
a836676312
HOPKINS:Move some variables from globals to ObjectManager
2013-02-07 22:30:40 +01:00
Strangerke
d12cd96161
HOPKINS: Improve private/public scope in Globals. Remove some useless variables, move some variables to FontManager
2013-02-07 21:56:10 +01:00
Strangerke
a542e38059
HOPKINS: Improve private/public scope in EventsManager
2013-02-07 18:56:40 +01:00
Strangerke
dd9474593f
HOPKINS: Improve private/public scope in DialogsManager
2013-02-07 18:37:13 +01:00
Strangerke
0f25a60749
HOPKINS: Improve private/public scope in FontMAnager
2013-02-07 18:12:32 +01:00
Strangerke
e96edd8b19
HOPKINS: Misc refactoring and renaming, remove some dead code
2013-02-07 08:44:22 +01:00
Strangerke
901c4fabd8
HOPKINS: Remove GOTOs in cityMapCarRoute
2013-02-07 07:57:16 +01:00
Strangerke
d7c8fe9122
HOPKINS: Remove several GOTOs in PARCOURS2
2013-02-07 00:23:17 +01:00
Strangerke
9eb289d480
HOPKINS: Start refactoring GENIAL. Remove three labels and the associated GOTOs
2013-02-06 23:50:59 +01:00
Strangerke
b05ca628e8
HOPKINS: Get rid if the last GOTO in DialogManager
2013-02-06 22:13:41 +01:00
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