Strangerke
cbf85da3f3
HOPKINS: Simplify code in checkSounds()
2013-04-19 08:10:30 +02:00
Strangerke
398b4353a6
HOPKINS: Remove dead code and out of bound access in SoundManager
2013-04-19 08:05:29 +02:00
Strangerke
6de13b475e
HOPKINS: Fix missing break in ScriptManager. CID 1003759
2013-04-19 00:51:00 +02:00
Strangerke
16259a52e3
HOPKINS: Remove dead code in ScriptManager
2013-04-19 00:46:49 +02:00
Max Horn
055b86ea18
HOPKINS: Replace non-ASCII characters by octal string literals
...
This silences a clang warning. It seems like a good idea, too: non-ASCII
chars in string constants are prone to break as a result of (possibly
unintentional) encoding conversions (which one can configure git to
perform).
2013-04-18 23:50:20 +02:00
Alyssa Milburn
e5509488ed
HOPKINS: fix ingame save thumbnails on BE
2013-04-17 12:30:38 +02:00
Alyssa Milburn
4b086b46b2
HOPKINS: fix palette writes on BE
2013-04-17 12:24:16 +02:00
Strangerke
4340c103da
HOPKINS: Fix broken condition detected by Coverity
2013-04-16 07:44:53 +02:00
Paul Gilbert
c13a84d7a4
HOPKINS: Renamed fields and methods in ObjectsManager
2013-04-14 15:30:37 -04:00
Paul Gilbert
ceab6a71d3
HOPKINS: Renamed remaining fields of GraphicsManager class
2013-04-14 14:21:05 -04:00
Strangerke
cdefd6428f
HOPKINS: Apply a couple of renamings suggested by wjp
2013-04-13 23:24:13 +02:00
Eugene Sandulenko
8b315aeb49
HOPKINS: Fix warning
2013-04-11 14:58:07 +03:00
Strangerke
54e3df0140
HOPKINS: Constify some functions and members
2013-04-11 12:17:06 +02:00
Strangerke
e56123b18f
HOPKINS: Make ObjectsManager even more readable
2013-04-11 00:15:10 +02:00
Strangerke
caa90241ad
HOPKINS: Make ObjectsManager a bit more readable
2013-04-10 20:38:48 +02:00
Strangerke
531b3cb376
HOPKINS: Fix crash when skipping intro animations (regression in one of the lock/unlock commits)
2013-04-10 18:16:21 +02:00
Strangerke
2709ac9fcb
HOPKINS: Reduce verbosity of displaySprite()
2013-04-10 15:15:31 +02:00
Strangerke
c09e0c26ec
HOPKINS: Remove some magic values used by _eventMode checks
2013-04-10 13:26:26 +02:00
Strangerke
9149f363a6
HOPKINS: Finish lock/unlockScreen() cleanup. Set them as private.
2013-04-10 13:03:53 +02:00
Strangerke
bccb460e36
HOPKINS: Add lockScreen() and unlockScreen() in copyVideoVbe16()
2013-04-10 12:59:39 +02:00
Strangerke
094a0617ac
HOPKINS: Add lockScreen() and unlockScreen() in copy16bFromSurfaceScaleX2()
2013-04-10 12:55:20 +02:00
Strangerke
1b081457c9
HOPKINS: Remove some useless lockScreen() and unlockScreen() around copy16BitRect()
2013-04-10 12:51:13 +02:00
Strangerke
1ac0c06bf6
HOPKINS: Reduce the use of lockScreen() and unlockScreen() by adding them in clearScreen()
2013-04-10 12:25:36 +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
ef12ba27e5
HOPKINS: Janitorial: Remove useless code
2013-04-10 09:02:37 +02:00
Strangerke
f7771844f1
HOPKINS: Remove useless object reference in DialogsManager
2013-04-10 09:01:35 +02:00
Strangerke
9f4a35b011
HOPKINS: Move _oldInventoryPosX to DialogsManager, remove a useless variable
2013-04-10 09:00:08 +02:00
Strangerke
9e956d888e
HOPKINS: Improve readability in DialogsManager
2013-04-10 00:24:27 +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
5516357a8e
HOPKINS: Fix glitch in Ocean Maze initialization
2013-04-08 08:07:29 +02:00
sylvaintv
9e44cd6641
HOPKINS: Add French Win95 version detection
2013-04-07 23:48:19 +02:00
Strangerke
0a4494a760
HOPKINS: Fix glitch when exiting computer in FBI rooms
2013-04-07 09:16:13 +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
2ee8b1e342
HOPKINS: Misc cleanup
2013-04-05 07:54:56 +02:00
Strangerke
0b16ea3f3b
HOPKINS: Remove useless casts, fix 2 crashes
2013-04-05 07:54:55 +02:00
Strangerke
e79a51c208
HOPKINS: Remove g_PTRNUL
2013-04-05 07:54:54 +02:00
Strangerke
4b21ec23d0
HOPKINS: Refactor searchCat to remove the use of g_PTRNUL, add a parameter to clarify the result of the function
2013-04-03 23:58:11 +02:00
Strangerke
177df0802a
HOPKINS: Standardize the use of g_PTRNUL
2013-04-03 08:23:31 +02:00
sylvaintv
f75ad49c67
HOPKINS: Fix rendering of French accentuated characters
2013-04-03 00:25:28 +02:00
Strangerke
c7d7c74753
HOPKINS: Remove useless check in loadLinkFile, remove comment. Thanks SylvainTV for pointing it
2013-04-02 07:58:12 +02:00
Strangerke
992aa0d707
HOPKINS: Rework OPTI_ONE to make it more readable, rename it
2013-04-02 00:29:20 +02:00
Strangerke
dac4cb9e67
HOPKINS: More renaming in ObjectsManager
2013-04-02 00:20:54 +02:00
Strangerke
0699c98b0b
HOPKINS: Some renaming in ObjectsManager
2013-04-01 23:58:50 +02:00
Strangerke
7036047e15
HOPKINS: Some renaming in TalkManager
2013-04-01 23:17:18 +02:00
Strangerke
f81ce4d228
HOPKINS: Fix another error reported by Valgrind. Thanks Eriktorbjorn for reporting it
2013-03-31 23:57:26 +02:00
Strangerke
3583a1cdc4
HOPKINS: Fix invalid read reported by Valgrind. Thanks Eriktorbjorn for the help
2013-03-31 23:45:48 +02:00
Paul Gilbert
bcdd8f43cd
HOPKINS: Refactored use of TEMP.SCR for screen backups to use a memory buffer
2013-03-31 12:56:12 -04:00
Paul Gilbert
97b00ad362
HOPKINS: Fixed palette glitch during underwater base fade-in
2013-03-31 11:41:55 -04:00
Paul Gilbert
f719be3318
HOPKINS: Renamed anonymous parameter in LinesManager
2013-03-31 11:19:38 -04:00
Paul Gilbert
221ff31fee
HOPKINS: Converted iRegul to an EventMode enumeration
2013-03-31 10:47:46 -04:00
Paul Gilbert
58971af45c
HOPKINS: Renamed some local variables used for BobItem initialization
2013-03-31 10:16:33 -04:00
Paul Gilbert
370bfed49f
HOPKINS: Renamed remaining fields of BobItem class
2013-03-31 10:12:59 -04:00
Strangerke
e848ed7bac
HOPKINS: Rename display buffers
2013-03-30 14:20:18 +01:00
Torbjörn Andersson
04259f7be4
HOPKINS: Slight cleanup to silence cppcheck warning.
2013-03-30 13:17:27 +01:00
Strangerke
8b5fc0e2e5
HOPKINS: More renaming in ObjectsManager
2013-03-30 11:54:07 +01:00
Strangerke
3648790efb
HOPKINS: Some refactoring and renaming in LinesManager and ObjectsManager
2013-03-30 11:31:38 +01:00
Strangerke
566ec81d8d
HOPKINS: Add a debug function to display current scene number
2013-03-29 19:47:40 +01:00
Strangerke
008e70fd16
HOPKINS: More renaming
2013-03-29 08:34:24 +01:00
Strangerke
e9742e6988
HOPKINS: Some refactoring and renaming in ObjectsManager
2013-03-29 08:22:06 +01:00
Strangerke
a2c282bc5c
HOPKINS: Add debugger command to change scene
2013-03-29 07:50:07 +01:00
Strangerke
1100216f86
HOPKINS: Implement Load from GUI
2013-03-29 07:34:34 +01:00
Strangerke
b4b56f72d3
HOPKINS: Remove dead code. Thanks eriktorbjorn for reporting it
2013-03-28 18:29:24 +01:00
Strangerke
13b89e2a81
HOPKINS: Some renaming in LinesManager
2013-03-28 17:59:34 +01:00
Strangerke
6c9458617e
HOPKINS: Some renaming in LinesManager
2013-03-28 10:26:35 +01:00
Strangerke
f8b1a16e3c
HOPKINS: Remove more dead code, simplify a couple of statements in Copy_Vga16()
2013-03-27 21:29:02 +01:00
Strangerke
9addb1e776
HOPKINS: Fix a couple of regressions in previous commit. Thanks fuzzie for noticing
2013-03-27 20:25:28 +01:00
Strangerke
40dcb8b406
HOPKINS: Remove dead code in AnimationManager
2013-03-27 08:41:19 +01:00
Strangerke
ccf2f50ceb
HOPKINS: Rename GraphicsManager variable
2013-03-27 08:26:19 +01:00
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