Commit Graph

690 Commits

Author SHA1 Message Date
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