Commit Graph

130 Commits

Author SHA1 Message Date
Johannes Schickel
d5b21c4036 HOPKINS: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Strangerke
8f557cd4fe HOPKINS: Janitorial - Fix spacing errors 2013-11-23 10:26:45 +01:00
Paul Gilbert
5d48d85219 HOPKINS: Fix Return to Launcher 2013-04-26 10:50:08 +10:00
Strangerke
cdefd6428f HOPKINS: Apply a couple of renamings suggested by wjp 2013-04-13 23:24:13 +02:00
Strangerke
54e3df0140 HOPKINS: Constify some functions and members 2013-04-11 12:17:06 +02:00
Strangerke
c09e0c26ec HOPKINS: Remove some magic values used by _eventMode checks 2013-04-10 13:26:26 +02:00
Strangerke
1b081457c9 HOPKINS: Remove some useless lockScreen() and unlockScreen() around copy16BitRect() 2013-04-10 12:51:13 +02:00
Strangerke
5ae15d1e10 HOPKINS: Make the use of _mouseCursorId less verbose 2013-04-10 11:57:48 +02:00
Strangerke
55938b3975 HOPKINS: Make engine less verbose by reducing some object names 2013-04-10 10:27:06 +02:00
Strangerke
3e9068bb5b HOPKINS: Janitorial: Remove useless line of code 2013-04-09 23:25:24 +02:00
Paul Gilbert
260a6bbc24 HOPKINS: Renamed remaining GraphicsManager methods 2013-04-09 09:47:48 -04:00
Paul Gilbert
bfe63b71e9 HOPKINS: Renaming some of the remaining graphics methods 2013-04-09 09:17:11 -04:00
Strangerke
4d3748fb24 HOPKINS: Make Hopkins sleep a bit in order to reduce CPU usage 2013-04-09 08:31:47 +02:00
Strangerke
11183ee982 HOPKINS: Fix initialization of timers in EventsManager 2013-04-09 08:31:46 +02:00
Strangerke
a0d34fd294 HOPKINS: Partially revert 63b669cfc4 as it causes a regression in ComputerManager 2013-04-06 08:23:14 +02:00
Strangerke
89bf72ff5d HOPKINS: JANITORIAL: Remove trailing spaces and tabs 2013-04-05 08:17:26 +02:00
Strangerke
e79a51c208 HOPKINS: Remove g_PTRNUL 2013-04-05 07:54:54 +02:00
Strangerke
177df0802a HOPKINS: Standardize the use of g_PTRNUL 2013-04-03 08:23:31 +02:00
Paul Gilbert
221ff31fee HOPKINS: Converted iRegul to an EventMode enumeration 2013-03-31 10:47:46 -04:00
Strangerke
e848ed7bac HOPKINS: Rename display buffers 2013-03-30 14:20:18 +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
b0f0a6cd92 HOPKINS: Move two more variables to ObjectsManager, make them private 2013-03-24 22:12:48 +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
73b01f20af HOPKINS: Remove setParent() from TalkManager 2013-03-20 08:10:28 +01:00
Strangerke
c5c7ced5ee HOPKINS: Remove setParent() from MenuManager and ObjectsManager 2013-03-20 07:56:16 +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
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
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
Paul Gilbert
55c024494d HOPKINS: Fix problem with scrolling not working properly 2013-03-09 09:44:46 -05:00
Strangerke
23badc9735 HOPKINS: Some renaming 2013-03-04 07:46:52 +01: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
54924de6cb HOPKINS: Home-screen now displaying correctly with dirty rects 2013-02-25 22:00:36 -05: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
84e290eade HOPKINS: Reorder includes 2013-02-15 22:20:24 +01:00
Strangerke
93dc7c8e63 HOPKINS: Move mouse data initialization to EventsManager, set mouse variable as private 2013-02-15 08:33:42 +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
e96edd8b19 HOPKINS: Misc refactoring and renaming, remove some dead code 2013-02-07 08:44:22 +01:00
Strangerke
7d40d1e2e3 HOPKINS: Remove two labels and their associated GOTOs from EventsManager 2013-02-06 19:59:23 +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
Strangerke
f10d3c8dcc HOPKINS: Remove 2 more labels in EventsManager 2013-02-01 07:55:49 +01:00