Commit Graph

385 Commits

Author SHA1 Message Date
whiterandrek
e98c14c3d7 PINK: fix formatting 2018-06-28 23:51:32 +02:00
whiterandrek
d7f09d4c3c PINK: remove extended initializer lists 2018-06-28 23:51:32 +02:00
whiterandrek
2bb2834782 PINK: fix compiler warning about UB 2018-06-28 23:51:32 +02:00
whiterandrek
d3d7a92800 PINK: fix compilation error 2018-06-28 23:51:32 +02:00
whiterandrek
f6dd0f2f49 PINK: remove commas at the end of enumerator lists 2018-06-28 23:51:32 +02:00
whiterandrek
22e25ed890 PINK: fix module.mk 2018-06-28 23:51:32 +02:00
whiterandrek
82974a9ce3 PINK: fix indentation 2018-06-28 23:51:32 +02:00
whiterandrek
931d6adbcb PINK: return deleted variable declaration by mistake 2018-06-28 23:51:32 +02:00
whiterandrek
ea5c093410 PINK: remove lambda functions
PINK: remove lambda functions

PINK: remove >> << operators
2018-06-28 23:51:32 +02:00
whiterandrek
c06452594f PINK: fix no newline warning 2018-06-28 23:51:32 +02:00
whiterandrek
37574a3bcf PINK: remove >> << operators 2018-06-28 23:51:32 +02:00
whiterandrek
d8e42e7395 PINK: change hex to dec numbers 2018-06-28 23:51:32 +02:00
whiterandrek
b89de53fb1 PINK: fix arguments in InventoryItem method 2018-06-28 23:51:32 +02:00
whiterandrek
c32c642eba PINK: change _endFrame type from uint32 to int32 2018-06-28 23:51:32 +02:00
whiterandrek
a45e58319d PINK: fix signed vs unsigned comparison 2018-06-28 23:51:32 +02:00
whiterandrek
656ca285ac PINK: change size_t to uint 2018-06-28 23:51:32 +02:00
whiterandrek
8733e54cd4 PINK: remove the use of auto variables 2018-06-28 23:51:32 +02:00
whiterandrek
39ed15d2f7 PINK: fix includes 2018-06-28 23:51:32 +02:00
whiterandrek
38ff5b1e80 PINK: remove bug from description 2018-06-28 23:51:32 +02:00
whiterandrek
3411750a1c PINK: removed single-line function from SeqTimer 2018-06-28 23:51:32 +02:00
whiterandrek
d54c2a68cb PINK: fixed forward declaration 2018-06-28 23:51:32 +02:00
whiterandrek
f3ac46e887 PINK: renamed method parameters to appropriate names in Condition classes 2018-06-28 23:51:32 +02:00
whiterandrek
9566439683 PINK: fixed sprites which start playing with delay 2018-06-28 23:51:32 +02:00
whiterandrek
f03d5811ec PINK: updated status of engine 2018-06-28 23:51:32 +02:00
whiterandrek
c1af0371ee PINK: fixed crash in Hokus Pokus 2018-06-28 23:51:32 +02:00
whiterandrek
d11115a6aa PINK: fixed finding of nullptr Actor 2018-06-28 23:51:32 +02:00
whiterandrek
ab4980aa59 PINK: added basic implementation of HandlerTimerSequences just to make Hokus Pokus playable after Black Hole 2018-06-28 23:51:32 +02:00
whiterandrek
cdcb8f5ec6 PINK: changed size method to empty to improve readability 2018-06-28 23:51:32 +02:00
whiterandrek
23157a6450 PINK: fix for Pokus game 2018-06-28 23:51:32 +02:00
whiterandrek
0103b904a8 PINK: added missing include 2018-06-28 23:51:32 +02:00
whiterandrek
7528c33224 PINK: updated description of engine. Passport to Peril is now fully playable* 2018-06-28 23:51:32 +02:00
whiterandrek
a7ad5fe86a PINK: fixes crash on loading final scene of Passport to Peril(not tested) 2018-06-28 23:51:32 +02:00
whiterandrek
e11bc29abc PINK: increased buffer size (fixes crash in India Location) 2018-06-28 23:51:32 +02:00
whiterandrek
4ce6b3dbd2 PINK: fixed compilation errors 2018-06-28 23:51:32 +02:00
whiterandrek
c9e7c001ad PINK: fixed unstoppable talk animation 2018-06-28 23:51:32 +02:00
whiterandrek
08d0652297 PINK: implemented stopFrame 2018-06-28 23:51:32 +02:00
whiterandrek
9cfa4970a2 PINK: fixed choosing item after getting it from click using other item 2018-06-28 23:51:32 +02:00
whiterandrek
84529c9177 PINK: fixed entering to Mucky Duck Pub 2018-06-28 23:51:32 +02:00
whiterandrek
0d82a3062c PINK: added movement for picked item from inventory 2018-06-28 23:51:32 +02:00
whiterandrek
866b552eed PINK: changed static_cast to dynamic_cast 2018-06-28 23:51:32 +02:00
whiterandrek
9364010e5e PINK: fixed setting action method 2018-06-28 23:51:32 +02:00
whiterandrek
954ee72b87 PINK: fixed finding nullptr action 2018-06-28 23:51:32 +02:00
whiterandrek
362db13d17 PINK: fixed SideEffectLocation 2018-06-28 23:51:32 +02:00
whiterandrek
d83022b607 PINK: added implementation of mini-games (PubPink and ParlSqPink) 2018-06-28 23:51:32 +02:00
whiterandrek
181b89035a PINK: added implementation of item using 2018-06-28 23:51:32 +02:00
whiterandrek
604c74ab07 PINK: added missing cursor 2018-06-28 23:51:32 +02:00
whiterandrek
ed3fce3267 PINK: fixed compilation error 2018-06-28 23:51:32 +02:00
whiterandrek
52df3e15f8 PINK: removed unnecessary method call 2018-06-28 23:51:32 +02:00
whiterandrek
6f128e9146 PINK: added missing parameter in ActionPlayWithSfx::toConsole method; 2018-06-28 23:51:32 +02:00
whiterandrek
ba29d37ccd PINK: fixed stopping sfx according to disasm 2018-06-28 23:51:32 +02:00
whiterandrek
c9887c6151 PINK: added PDAButtonActor and AudioInfoPDAButton 2018-06-28 23:51:32 +02:00
whiterandrek
9f8356e52e PINK: fixed Inventory onClick method and other bugfixes 2018-06-28 23:51:32 +02:00
whiterandrek
888f5b668f PINK: added more constants 2018-06-28 23:51:32 +02:00
whiterandrek
ec96a3b1e7 PINK: added check for item owner 2018-06-28 23:51:32 +02:00
whiterandrek
2f43cbafa0 PINK: moved more values to constants section 2018-06-28 23:51:32 +02:00
whiterandrek
8c5bfed756 PINK: created constants for magic numbers, improved code in file 2018-06-28 23:51:32 +02:00
whiterandrek
dac8d2a72b PINK: bugfixes and added basic inventory implementation 2018-06-28 23:51:32 +02:00
whiterandrek
78c4ed85ab PINK: implemented page state saving 2018-06-28 23:51:32 +02:00
whiterandrek
c29b1d1112 PINK: started inventory implementation 2018-06-28 23:51:32 +02:00
whiterandrek
cad72b1532 PINK: basic walk, left click and seqTimer implementation 2018-06-28 23:51:32 +02:00
whiterandrek
4b7c75607a PINK: added onMouseOver method to LeadActor 2018-06-28 23:51:32 +02:00
whiterandrek
f6d620f683 PINK: fixed finding actor on screen 2018-06-28 23:51:32 +02:00
whiterandrek
49d5ea28c0 PINK: added basic cursor implementation, fixed sequenceAudio restarting and skipping, fixed various mem leaks, hopefully fixed finding of transparent color index. 2018-06-28 23:51:32 +02:00
whiterandrek
e48ac17f68 PINK: small fixes 2018-06-28 23:51:32 +02:00
whiterandrek
475f6a62bd PINK: fixed some segfaults 2018-06-28 23:51:32 +02:00
whiterandrek
5db9a45458 PINK: added ActionTalk implementation 2018-06-28 23:51:32 +02:00
whiterandrek
1a2bd666b0 PINK: added ActionPlayWithSfx implementation 2018-06-28 23:51:32 +02:00
whiterandrek
65eccb7ba7 PINK: added basic ActionLoop implementation 2018-06-28 23:51:32 +02:00
whitertandrek
f9c94a40a4 PINK: Implemented SequenceAudio as in original.
Now Peril's intro is almost like in original
2018-06-28 23:51:32 +02:00
whiterandrek
a75aeb62ee PINK: fixes for Peril 2018-06-28 23:51:32 +02:00
whiterandrek
37dbe057a8 PINK: fixed sideEffect and choosing of handler 2018-06-28 23:51:32 +02:00
whiterandrek
e55839ff20 PINK: added restart method to SequenceAudio 2018-06-28 23:51:32 +02:00
whiterandrek
896511c34a PINK: hacky implementation of SequenceAudio 2018-06-28 23:51:32 +02:00
whiterandrek
48d34128b2 PINK: implemented skipping to last subsequence 2018-06-28 23:51:32 +02:00
whiterandrek
ea5cb3a60e PINK: implemented sequence restarting 2018-06-28 23:51:32 +02:00
whiterandrek
675f83256a PINK: added button to toggle Drawing of Bounding Rectangles 2018-06-28 23:51:32 +02:00
whiterandrek
43a5e46ce2 PINK: added placeholders for remaining buttons 2018-06-28 23:51:32 +02:00
whiterandrek
7168242832 PINK: small fixes and implemented skipping of sequence by buttons 2018-06-28 23:51:32 +02:00
whitertandrek
dbc709a140 PINK: fixes to get first game scene of Hokus Pokus loaded and hack for Peril intro sprite, which has wrong transparent colour index 2018-06-28 23:51:32 +02:00
whitertandrek
c37bd09354 PINK: implemented drawing of transparent drawing, but it seems that original handles this a bit different.(intro of Peril first sprite keeps transparent colour index somewhere else) 2018-06-28 23:51:32 +02:00
whitertandrek
17c2bcfb94 PINK: fixed ActionSfx deserialization 2018-06-28 23:51:32 +02:00
whitertandrek
0e39a87862 PINK: Implemented changing page and module, but without unloading old page. For now it can play logo of Wanderlust Interactive, then logo of MGM and Localizer Logo. 2018-06-28 23:51:32 +02:00
whitertandrek
c6df869fec PINK: Basic implementation of CEL decoder. Fixed sprite positioning 2018-06-28 23:51:32 +02:00
whitertandrek
bba35c5f2c PINK: Started implementation of Director class . For now engine can play logo scene, but sprites are at wrong positions because decoder doesn't support getting coordinates from CEL 2018-06-28 23:51:32 +02:00
whitertandrek
26f2ff6640 PINK: added InventoryActor and SequenceAudio 2018-06-28 23:51:32 +02:00
whiterandrek
7f5e2e69e8 PINK: added ParlSqPink and PubPink 2018-06-28 23:51:32 +02:00
whiterandrek
f8de0028f2 PINK: added all missing objects to factory method. Unimplemented classes are commented out 2018-06-28 23:51:32 +02:00
whiterandrek
2b1bc0900a PINK: added CursorActor 2018-06-28 23:51:32 +02:00
whiterandrek
72dd7fae8b PINK: fixed missing arguments 2018-06-28 23:51:32 +02:00
whiterandrek
f29b0a8f35 PINK: added ActionText 2018-06-28 23:51:32 +02:00
whitertandrek
8671e8bee3 PINK: added ActionPlayWithSfx and ActionSfx 2018-06-28 23:51:32 +02:00
whitertandrek
636e226d73 PINK: added ActionTalk class 2018-06-28 23:51:32 +02:00
whitertandrek
74437eee91 PINK: Again small fix for ActionLoop 2018-06-28 23:51:32 +02:00
whitertandrek
05992bf95f PINK: Fixed wrong constant values 2018-06-28 23:51:32 +02:00
whitertandrek
46d576d9ce PINK: added ActionLoop 2018-06-28 23:51:32 +02:00
whitertandrek
e856e0bd67 PINK: added SupportingActor and HandlerMgr 2018-06-28 23:51:32 +02:00
whitertandrek
7f8f4dea2a PINK: added SeqTimer class 2018-06-28 23:51:32 +02:00
whitertandrek
7facc7543f PINK: added random to methods which need it. 2018-06-28 23:51:32 +02:00
whitertandrek
a22ebbb54e PINK: Handlers are implemented, beside handlerMgr, HandlerTimerSequences;
HandlerTimer differs in Peril and Hokus Pokus
2018-06-28 23:51:32 +02:00
whitertandrek
8874ccb9de PINK: added debug information to actions 2018-06-28 23:51:32 +02:00
whiterandrek
eb6ce676e4 PINK: game page init fixes 2018-06-28 23:51:32 +02:00
whitertandrek
be415cd46f PINK: small fixes 2018-06-28 23:51:32 +02:00
whitertandrek
467d3f1ab8 PINK: did a big file movement for better readability. Almost implemented
conditions and sideEffects. Added more classes. Now engine can play intro's sound.
2018-06-28 23:51:32 +02:00
whitertandrek
824b3fa38e PINK: some fixes 2018-06-28 23:51:32 +02:00
whitertandrek
43c72bc2b7 PINK: added basic script implementation 2018-06-28 23:51:32 +02:00
whitertandrek
ac0ed1dbdd PINK: implemented init of LeadActor and checking for state in LeadActor method 2018-06-28 23:51:32 +02:00
whitertandrek
2e3e07b858 PINK: added some methods to Actor 2018-06-28 23:51:32 +02:00
whitertandrek
a49b399fbd PINK: implemented ActionHide completely 2018-06-28 23:51:32 +02:00
whitertandrek
f7c6830da9 PINK: added states to LeadActor 2018-06-28 23:51:32 +02:00
whitertandrek
4d8bd5958f PINK: added setIdleAction to actor 2018-06-28 23:51:32 +02:00
whitertandrek
7c4bcc033d PINK: implemented SideEffectModuleVariable fully 2018-06-28 23:51:32 +02:00
whitertandrek
d303144364 PINK: Added findAction method 2018-06-28 23:51:32 +02:00
whitertandrek
acbe2e8832 PINK: Added findActor method 2018-06-28 23:51:32 +02:00
whitertandrek
d95e32782a PINK: Continue to develop Sequencer::authorSequence method 2018-06-28 23:51:32 +02:00
whitertandrek
b4d44d8ffc PINK: Added SequenceActorState and SequenceContext 2018-06-28 23:51:32 +02:00
whitertandrek
3e2106a1c0 PINK: Added more Handler methods 2018-06-28 23:51:32 +02:00
whitertandrek
62f84eae96 PINK: Implemented SideEffectExit 2018-06-28 23:51:32 +02:00
whitertandrek
fed63e22ec PINK: Added findSequence method to Sequencer 2018-06-28 23:51:32 +02:00
whitertandrek
c87a392e16 PINK: More debug output of Objects attributes 2018-06-28 23:51:32 +02:00
whitertandrek
113540b930 PINK: Implemented debug output of Objects 2018-06-28 23:51:32 +02:00
whitertandrek
f62132c4f3 PINK: Added SideEffect, SideEffectExit, SideEffectVariable, SideEffectModuleVariable and
HandlerSequences

Currently engine is able to load first GamePage;
2018-06-28 23:51:32 +02:00
whitertandrek
45458542da PINK: Added Handler and HandlerStartPage 2018-06-28 23:51:32 +02:00
whitertandrek
d6f0613adf PINK: Added SequenceItemLeader and SequenceItemDefaultAction 2018-06-28 23:51:32 +02:00
whitertandrek
6885bc2636 PINK: Added Sequencer, Sequence and SequenceItem 2018-06-28 23:51:32 +02:00
whitertandrek
1d97b960c5 PINK: Added missing field to WalkLocation class 2018-06-28 23:51:32 +02:00
whitertandrek
bccb294e6a PINK: Added missing include 2018-06-28 23:51:32 +02:00
whitertandrek
5cf3d0e309 PINK: Added LeadActor pointer field to WalkMgr 2018-06-28 23:51:32 +02:00
whitertandrek
198710adac PINK: Implemented Page loading. 2018-06-28 23:51:32 +02:00
whitertandrek
0f8768c5ad PINK: Added all classes in classMap 2018-06-28 23:51:32 +02:00
whitertandrek
f8055bc206 PINK: split declaration and definition and some fixes 2018-06-28 23:51:32 +02:00
whitertandrek
4ff13d64ba PINK: Added InventoryItem class 2018-06-28 23:51:32 +02:00
whitertandrek
5d1c4af5f6 PINK: Implemented MFC archive, some pink objects and their initialization
Thanks fullpipe engine developer for MFC archive
2018-06-28 23:51:32 +02:00
whitertandrek
d058e5dfe6 PINK: moved game descriptions to detection_tables.h 2018-06-28 23:51:32 +02:00
whitertandrek
b3c656c6ed PINK: Implemented Sound Class 2018-06-28 23:51:32 +02:00
whitertandrek
280b249657 PINK: Initial commit
Implemented skeleton of engine, detection, broFile and started orbFile
implementation.
2018-06-28 23:51:32 +02:00