Commit Graph

305 Commits

Author SHA1 Message Date
Strangerke
8a112ec92d GNAP: Enable a clown sequence which wasn't used in the original due to a bug 2016-05-20 06:59:38 +02:00
Strangerke
ba61f90eb6 GNAP: Rework the code of Scene07::run, remove an obsolete todo 2016-05-20 01:21:22 +02:00
Strangerke
9a2bc3c572 GNAP: Add several checks on _gameDone in order to quit the game quickly 2016-05-19 07:59:07 +02:00
Strangerke
97ac77b5f1 GNAP: Compute the thumbnail when opening the device so that it doesn't show the large hand in savegames 2016-05-19 07:06:48 +02:00
Strangerke
3bf35331ab GNAP: Add thumbnails, rewrite partially querySaveMetaInfos.
Gnap's hand and device are in the middle of the screen, there's place for improvement
2016-05-19 00:13:01 +02:00
Strangerke
931846182b GNAP: Change pixel format - Courtesy of _sev 2016-05-18 22:38:54 +02:00
Strangerke
0a8e552c6d GNAP: Fix the coding style of a couple of casts 2016-05-17 22:21:27 +02:00
Strangerke
4faedcdfcb GNAP: Fix some spacing 2016-05-17 22:10:10 +02:00
Strangerke
4c37381a8e GNAP: Add missing stars in header, change include guard name in gnap.h 2016-05-17 22:05:35 +02:00
Strangerke
6358981201 GNAP: USe Common::Point for mouse position, initialize some more variables 2016-05-17 07:09:42 +02:00
Strangerke
e024a26ccd GNAP: Replace memcpy on overlapping memory area by memmove. Thanks to eriktorbjorn for suggesting it 2016-05-17 06:50:43 +02:00
Strangerke
090c178214 GNAP: Fix another valgrind error 2016-05-16 23:38:49 +02:00
Strangerke
e280c833c7 GNAP: Enforce the use of nullptr in function calls 2016-05-16 23:34:58 +02:00
Strangerke
06f3dc2973 GNAP: Fix a couple of unintialized variables 2016-05-16 23:24:02 +02:00
Strangerke
bb35d5063b GNAP: Fix broken debug strings 2016-05-16 22:59:28 +02:00
Strangerke
4371d2f4d9 GNAP: Fix score display in Monkey arcade game. 2016-05-16 22:38:05 +02:00
Strangerke
85b7da75de GNAP: Explicitely set _scoreLevel to 1 when score greater than 556 2016-05-16 21:57:20 +02:00
Strangerke
52374bfe7b GNAP: Load TTF from the executable (optional) 2016-05-16 20:43:55 +02:00
Strangerke
e5f60634a5 GNAP: Fix regression in hotspots 2016-05-15 16:21:04 +02:00
Strangerke
55162fb7ca GNAP: Simplify some calls of _hotspotWalkPos 2016-05-12 20:33:51 +02:00
Strangerke
9c0808237c GNAP: Remove _id from HotSpot structure 2016-05-12 07:59:20 +02:00
Strangerke
af1cf151de GNAP: Use Common::Rect for hotspots 2016-05-12 07:53:06 +02:00
Strangerke
f467db5ed2 GNAP: Add music when game is paused 2016-05-12 00:33:47 +02:00
Strangerke
2aaebf0ae9 GNAP: Use enum values for _sceneClickedHotspot in scene 53 2016-05-11 12:12:02 +02:00
Strangerke
b21089f81c GNAP: Rename GetSequence enums 2016-05-11 12:12:02 +02:00
Eugene Sandulenko
3459437d7c GNAP: Fix initialization 2016-05-10 12:14:57 +02:00
Eugene Sandulenko
7b1c738f0f GNAP: Fix initialization and out-of-bounds write 2016-05-10 12:14:57 +02:00
Eugene Sandulenko
5981ef48da GNAP: Make all relevant destructors virtual 2016-05-10 12:14:56 +02:00
Strangerke
d4053ee11b GNAP: Refactoring of playScratchingHead, playShowCurrItem, playUseDevice 2016-05-10 12:14:56 +02:00
Strangerke
cf32e654a7 GNAP: Refactoring of playMoan1&2, playPullOutDevice and playPullOutDeviceNonWorking 2016-05-10 12:14:56 +02:00
Strangerke
a67a9923a9 GNAP: Refactoring of playBrainPulsating, playIdle and playImpossible 2016-05-10 12:14:56 +02:00
Strangerke
b605baef85 GNAP: Reorder functions in grid.cpp 2016-05-10 12:14:55 +02:00
Strangerke
6e9243d125 GNAP: Reduce dereferencing of _plat 2016-05-10 12:14:55 +02:00
Strangerke
fdabbcc16a GNAP: Reduce dereferencing of _gnap 2016-05-10 12:14:55 +02:00
Strangerke
1f7eeb24a0 GNAP: Simplify some checks 2016-05-10 12:14:55 +02:00
Strangerke
81c5f8651d GNAP: USe Common::Point for getSequenceId 2016-05-10 12:14:55 +02:00
Strangerke
33ca09ae12 GNAP: Remove useless redirections, move two more functions 2016-05-10 12:14:54 +02:00
Strangerke
a508936349 GNAP: Move Gnap action functions to PlayerGnap 2016-05-10 12:14:54 +02:00
Strangerke
8a725082a5 GNAP: Move more functions to PlayerGnap 2016-05-10 12:14:54 +02:00
Strangerke
951fab4853 GNAP: Move walkTo and walkStep to Character 2016-05-10 12:14:54 +02:00
Strangerke
b3bf17a315 GNAP: Use Common::Point with platypusWalkTo 2016-05-10 12:14:53 +02:00
Strangerke
81074f4503 GNAP: use Common::Point for gnapWalkTo 2016-05-10 12:14:53 +02:00
Strangerke
3209ce8003 GNAP: Fix a small bug in Playtpuss pathfinding 2016-05-10 12:14:53 +02:00
Strangerke
9d2c537beb GNAP: Some more refactoring in Character, some renaming 2016-05-10 12:14:53 +02:00
Strangerke
38a83d1770 GNAP: More character refactoring (WIP) 2016-05-10 12:14:51 +02:00
Strangerke
45f27ea81c GNAP: Even more refactoring related to characters (WIP) 2016-05-10 12:14:50 +02:00
Strangerke
00c544f9f8 GNAP: More refactoring related to characters (WIP) 2016-05-10 12:14:50 +02:00
Strangerke
579ecdabd1 GNAP: More refactoring related to characters (WIP) 2016-05-10 12:14:50 +02:00
Strangerke
dda4931ee9 GNAP: Move _actionStatus to the Character class 2016-05-10 12:14:50 +02:00
Strangerke
45bc40166f GNAP: Use a Character for Platypus (WIP) 2016-05-10 12:14:49 +02:00
Strangerke
2e50019c05 GNAP: Introduce Character class - WIP 2016-05-10 12:14:49 +02:00
Strangerke
aee3842163 GNAP: Some renaming 2016-05-10 12:14:49 +02:00
Strangerke
99580a1b08 GNAP: Remove 3 CHECKMEs 2016-05-10 12:14:49 +02:00
Strangerke
a2d45c70e9 GNAP: For consistancy, use hex values for playSound calls 2016-05-10 12:14:48 +02:00
Strangerke
f50891f990 GNAP: rework gnapCarryGarbageCanTo 2016-05-10 12:14:48 +02:00
Strangerke
087492b15f GNAP: Remove useless parameters in gnapCarryGarbageCanTo 2016-05-10 12:14:48 +02:00
Strangerke
ce8e3281d4 GNAP: Reduce dereferencing of _gameSys 2016-05-10 12:14:48 +02:00
Strangerke
33b27b8db3 GNAP: Fix regression 2016-05-10 12:14:48 +02:00
Strangerke
25fc9c0a13 GNAP: Janitorial - Remove trailing spaces and tabs 2016-05-10 12:14:47 +02:00
Strangerke
e0781ea437 GNAP: Move more enums to header files 2016-05-10 12:14:47 +02:00
Strangerke
5e950a7acf GNAP: Move enums to header files 2016-05-10 12:14:47 +02:00
Strangerke
8a91335bfa GNAP: renaming and grouping of scenes in group Arcade and Group 5 2016-05-10 12:14:47 +02:00
Strangerke
4120f8795e GNAP: renaming and grouping of scenes in group 4 2016-05-10 12:14:46 +02:00
Strangerke
d7bd157fef GNAP: renaming and grouping of scenes in group 3 2016-05-10 12:14:46 +02:00
Strangerke
4edfe094ea GNAP: renaming and grouping of scenes in group 2 2016-05-10 12:14:46 +02:00
Strangerke
02c8aeae20 GNAP: renaming and grouping of scenes in group 1 2016-05-10 12:14:46 +02:00
Strangerke
12fa081a19 GNAP: Remove debug code 2016-05-10 12:14:46 +02:00
Strangerke
5381edd40e GNAP: group first scenes, rename intro 2016-05-10 12:14:45 +02:00
Strangerke
0a1c36a26b GNAP: Prepare the merge of scene group 0 (End) 2016-05-10 12:14:38 +02:00
Strangerke
9fc9de7882 GNAP: Prepare the merge of scene group 0 (WIP 3) 2016-05-10 09:54:21 +02:00
Strangerke
ffb93fa214 GNAP: Prepare the merge of scene group 0 (WIP 2) 2016-05-10 09:54:21 +02:00
Strangerke
19d205b3da GNAP: Prepare the merge of scene group 0 (WIP) 2016-05-10 09:54:21 +02:00
Strangerke
71ba82154e GNAP: Group cutscenes in a single scene group file 2016-05-10 09:54:21 +02:00
Strangerke
aa8df847f7 GNAP: Reduce dereferencing in scene group 4, some renaming 2016-05-10 09:54:21 +02:00
Strangerke
700d82c1c2 GNAP: Fix crash in CutScenes 2016-05-10 09:54:21 +02:00
Strangerke
0a7f2fe938 GNAP: Remove debug code 2016-05-10 09:54:21 +02:00
Strangerke
9503f9bdc8 GNAP: Add detection for the russian version 2016-05-10 09:54:21 +02:00
Strangerke
441565db4d GNAP: Reduce code duplication in SceneCore 2016-05-10 09:54:21 +02:00
Strangerke
28d8a8be7c GNAP: Rename and move two fonctions to Scene 2016-05-10 09:54:21 +02:00
Strangerke
ba0c3f2cc3 GNAP: Refactor scene 53 2016-05-10 09:54:21 +02:00
Strangerke
7a66d4b356 GNAP: Refactor scenes 51&52 2016-05-10 09:54:21 +02:00
Strangerke
aca5984e2b GNAP: Refactor scene 50 2016-05-10 09:54:21 +02:00
Strangerke
5b0ff520b7 GNAP: Refactor scene 49 2016-05-10 09:54:21 +02:00
Strangerke
f3b59a2dfb GNAP: Enforce the use of boolean values for _sceneWaiting 2016-05-10 09:54:21 +02:00
Strangerke
f58874aa45 GNAP: Refactor scene 46 2016-05-10 09:54:21 +02:00
Strangerke
5246356d44 GNAP: Refactor scene 45 2016-05-10 09:54:21 +02:00
Strangerke
1cf3c3b93e GNAP: Rename variables of scene 29 2016-05-10 09:54:21 +02:00
Strangerke
206a18dbfa GNAP: Refactor scene 44 2016-05-10 09:54:21 +02:00
Strangerke
598fb5d876 GNAP: Refactor scene 43 2016-05-10 09:54:21 +02:00
Strangerke
6043c7842b GNAP: Refactor scene 42 2016-05-10 09:54:21 +02:00
Strangerke
ad06f53b62 GNAP: Refactor scene 41 2016-05-10 09:54:21 +02:00
Strangerke
01f8cfd8af GNAP: Refactor scene 40 2016-05-10 09:54:21 +02:00
Strangerke
f7e7a45f12 GNAP: Refactor scene 39 2016-05-10 09:54:21 +02:00
Strangerke
1095af09a6 GNAP: Refactor scene 38 2016-05-10 09:54:21 +02:00
Strangerke
a5d312b23f GNAP: Refactor scenes 32 & 33 2016-05-10 09:54:21 +02:00
Strangerke
a8c1fb5727 GNAP: Refactor scene 31 2016-05-10 09:54:21 +02:00
Strangerke
294f1a6557 GNAP: Refactor scene 30 2016-05-10 09:54:21 +02:00
Strangerke
093c58a397 GNAP: Refactor scene 29 2016-05-10 09:54:21 +02:00
Strangerke
2e37c2b9e6 GNAP: Refactor scene 28 2016-05-10 09:54:21 +02:00
Strangerke
367a10bdbd GNAP: Refactor scene 27 2016-05-10 09:54:21 +02:00
Strangerke
7479a2b73c GNAP: Refactor scenes 25 & 26 2016-05-10 09:54:21 +02:00
Strangerke
417d8066c9 GNAP: Refactor scene 24 2016-05-10 09:54:21 +02:00
Strangerke
d1e7c9f594 GNAP: Refactor scenes 22 & 23 2016-05-10 09:54:21 +02:00
Strangerke
14ec2e9699 GNAP: Refactor scene 21 2016-05-10 09:54:21 +02:00
Strangerke
4c7756e75d GNAP: Refactor scenes 19 and 20 2016-05-10 09:54:21 +02:00
Strangerke
c8f4fce895 GNAP: Refactor scene 18 2016-05-10 09:54:21 +02:00
Strangerke
453194b48b GNAP: Refactor scene 17 2016-05-10 09:54:21 +02:00
Strangerke
861e5c1067 GNAP: Refactor scenes 16, 47, 48, 54 (cutscenes) 2016-05-10 09:54:21 +02:00
Strangerke
c30810c933 GNAP: Refactor scene 15 2016-05-10 09:54:21 +02:00
Strangerke
4f4c25534c GNAP: Use a nullptr instead of 0 in deleteSurface() 2016-05-10 09:54:21 +02:00
Strangerke
2409d89eb5 GNAP: Refactor scene 14 2016-05-10 09:54:21 +02:00
Strangerke
cc5bfede08 GNAP: Refactor scene 13 2016-05-10 09:54:21 +02:00
Strangerke
e8db252fc3 GNAP: Refactor scene 12 2016-05-10 09:54:21 +02:00
Strangerke
b535ef3abe GNAP: Refactor scene 11 2016-05-10 09:54:21 +02:00
Strangerke
076d23fdb6 GNAP: Refactor scene 10 2016-05-10 09:54:21 +02:00
Strangerke
4e8119b262 GNAP: Refactor scene 9 2016-05-10 09:54:21 +02:00
Strangerke
84bd15a525 GNAP: Refactor scene 8, Add updateAnimationsCb to Scene 2016-05-10 09:54:21 +02:00
Strangerke
0f43db94a2 GNAP: Refactor scene 7 2016-05-10 09:54:21 +02:00
Strangerke
aea51e0d40 GNAP: Refactor scene 6 2016-05-10 09:54:21 +02:00
Strangerke
ca21ed4615 GNAP: Refactor scene 5 2016-05-10 09:54:21 +02:00
Strangerke
5882753014 GNAP: Refactor scene 4 2016-05-10 09:54:21 +02:00
Strangerke
729b82a428 GNAP: Use enum value for a flag instead of number 2016-05-10 09:54:21 +02:00
Strangerke
7a6c02ca04 GNAP: Refactor scene 3 2016-05-10 09:54:21 +02:00
Strangerke
55618fa005 GNAP: Enforce the use of boolean values for _isLeavingScene 2016-05-10 09:54:21 +02:00
Strangerke
880bc07ae1 GNAP: Add destructor to scene 1 2016-05-10 09:54:21 +02:00
Strangerke
65f8a72b16 GNAP: REfactor scene 2 2016-05-10 09:54:21 +02:00
Strangerke
a176945b60 GNAP: Refactor scene 0 2016-05-10 09:54:21 +02:00
Strangerke
145b375119 GNAP: Refactor Scene01 (WIP) 2016-05-10 09:54:21 +02:00
Strangerke
70fec4db2c GNAP: More renaming of 'beaver' variables 2016-05-10 09:54:21 +02:00
Strangerke
90c7e1db01 GNAP: Rename members of GnapEngine from beaver to platypus for consistency 2016-05-10 09:54:21 +02:00
Strangerke
ff7f8aa26d GNAP: Refactor getBeaverSequenceId 2016-05-10 09:54:21 +02:00
Strangerke
de17d92199 GNAP: Remove unused variable in fatUpdateFrame 2016-05-10 09:54:21 +02:00
Strangerke
0f58e9481d GNAP: Rename hotspots in scene 53 2016-05-10 09:54:21 +02:00
Strangerke
82db01550a GNAP: Fix hotspots in scene 30 2016-05-10 09:54:21 +02:00
Strangerke
be10dd378c GNAP: Remove useless return after an error 2016-05-10 09:54:21 +02:00
Strangerke
ba20d63573 GNAP: Fix a crash after disco ball animation 2016-05-10 09:54:21 +02:00
Strangerke
c144b884c3 GNAP: Fix phone keys hotspots 2016-05-10 09:54:21 +02:00
Strangerke
08ba28db7f GNAP: Cosmetic changes 2016-05-10 09:54:21 +02:00
Strangerke
63a13bc2c0 GNAP: Add some code to fix the transition from intro to game 2016-05-10 09:54:21 +02:00
Strangerke
d6e4b67dca GNAP: Add load from launcher 2016-05-10 09:54:21 +02:00
Strangerke
d90b948b22 GNAP: Some renaming in scene 52 2016-05-10 09:54:21 +02:00
Strangerke
e340538f5c GNAP: Rename variables in toyUfoFlyTo 2016-05-10 09:54:21 +02:00
Strangerke
bd72968ccb GNAP: Rename members of GridStruct 2016-05-10 09:54:21 +02:00
Eugene Sandulenko
f4fc5e251a GNAP: Add missing newlines at the end 2016-05-10 09:54:21 +02:00
Eugene Sandulenko
7762c49432 GNAP: Fix another warning and adding a catching condition 2016-05-10 09:54:21 +02:00
Eugene Sandulenko
5c072b859e GNAP: Fix warning 2016-05-10 09:54:21 +02:00
Eugene Sandulenko
0577aae277 GNAP: Fix compilation 2016-05-10 09:54:21 +02:00
Strangerke
43c65df526 GNAP: Use debug channels 2016-05-10 09:54:21 +02:00
Strangerke
52f0712b66 GNAP: Add debugger 2016-05-10 09:54:21 +02:00
Strangerke
03027be392 GNAP: Fix hasFeature 2016-05-10 09:54:21 +02:00