64 Commits

Author SHA1 Message Date
Filippos Karapetis
ea39214f7a ILLUSIONS: Fix MSVC warnings
- Fix warnings about conversion between float and double
- Initialize potentially uninitialized variables
2019-05-27 14:53:38 +03:00
Eugene Sandulenko
5ceb3be771 ILLUSIONS: Fix copy/paste bug. CID 1394433 2018-07-23 23:27:50 +02:00
Eric Fry
848b5a5ff5 ILLUSIONS: Formatting fixes 2018-07-20 06:43:33 +00:00
johndoe123
565de60234 ILLUSIONS: Clean up/fix some TODOs
(cherry picked from commit 66094e4)
2018-07-20 06:43:33 +00:00
johndoe123
aee54f4bca ILLUSIONS: Minor cleanup
(cherry picked from commit 9abaa9e)
2018-07-20 06:43:33 +00:00
johndoe123
65049228a8 ILLUSIONS: Remove old TODOs
(cherry picked from commit bb95440)
2018-07-20 06:43:33 +00:00
johndoe123
1f6aee019c ILLUSIONS: BBDOU: Rename variables (bubble and special code)
(cherry picked from commit 93255ca)
2018-07-20 06:43:33 +00:00
johndoe123
38577221c0 ILLUSIONS: BBDOU: Implement savegame saving/loading from GUI and the launcher
(cherry picked from commit 42f0bd4)
2018-07-20 06:43:33 +00:00
johndoe123
71edfa3f0a ILLUSIONS: BBDOU: Add quit opcode
(cherry picked from commit 32c2a9b)
2018-07-20 06:43:33 +00:00
johndoe123
94fdd597d9 ILLUSIONS: BBDOU: Add menu system class, adjust existing code (actual menus not done yet)
(cherry picked from commit 03b0ca1)
2018-07-20 06:43:33 +00:00
johndoe123
54dd381441 ILLUSIONS: BBDOU: Play sound in BbdouSpecialCode::playSoundEffect
(cherry picked from commit 1e822f0)
2018-07-20 06:43:33 +00:00
Eric Fry
b787b06156 ILLUSIONS: BBDOU: Formatting 2018-07-20 06:43:33 +00:00
johndoe123
25a303a529 ILLUSIONS: BBDOU: Implement video player
(cherry picked from commit aab0b29)
2018-07-20 06:43:33 +00:00
Eric Fry
8e43261d13 ILLUSIONS: Formatting fixes
Simplified some point arithmetic
Lock fixedpoint calcs to float rather than double
2018-07-20 06:43:33 +00:00
Eric Fry
fee1f3d8cb ILLUSIONS: always use braces for loops 2018-07-20 06:43:33 +00:00
Eric Fry
9ad048f8a6 ILLUSIONS: Fix formatting
Remove debug code from bbdou menu item select callback
2018-07-20 06:43:33 +00:00
Eric Fry
d36eae4c17 ILLUSIONS: Fix typo in palette cycle logic.
Fix uninitialised local variable
2018-07-20 06:43:33 +00:00
Eric Fry
989d8d9b8a ILLUSIONS: Formatting, remove trailing whitespace. 2018-07-20 06:43:33 +00:00
Eric Fry
3d9f5ed20f ILLUSIONS: Replace spaces with tabs
Replace while(1) with do..while loop
Removed dead code
Renamed FP16 to FixedPoint16 to improve readability
2018-07-20 06:43:33 +00:00
Eric Fry
dc9dc0324e ILLUSIONS: Wire up subtitle text duration config slider 2018-07-20 06:43:33 +00:00
Eric Fry
423a8ec433 ILLUSIONS: Replace 0x40004 with CURSOR_OBJECT_ID constant
Fix pan bug in starship enterprise scene
Add sequence opcode name to debug log
Hack to fix endless loop bug outside the starship enterprise
2018-07-20 06:43:33 +00:00
Eric Fry
6e09cd7e08 ILLUSIONS: Rename some actor flags 2018-07-20 06:43:33 +00:00
Eric Fry
d3fbb0e8b9 ILLUSIONS: Replace actor flag magic values with enum definitions 2018-07-20 06:43:33 +00:00
Eric Fry
a7d78df98c ILLUSIONS: Fix clang warnings. Work on menu keyboard control
Fix some warnings while compiling with clang.
Add up/down key support in game menus.
2018-07-20 06:43:33 +00:00
johndoe123
5e919fd308 ILLUSIONS: Split Screen class into variants for 8bit and 16bit (i.e. Duckman and BBDOU) 2018-07-20 06:43:33 +00:00
johndoe123
2bd1386528 ILLUSIONS: Move palette code from Screen to new ScreenPalette class 2018-07-20 06:43:33 +00:00
johndoe123
ad558f8c68 ILLUSIONS: BBDOU: Rename more 2018-07-20 06:43:33 +00:00
johndoe123
41c7a99262 ILLUSIONS: BBDOU: Extract code to new class ObjectInteractModeMap 2018-07-20 06:43:33 +00:00
johndoe123
e31c454cfa ILLUSIONS: BBDOU: Rename stuff 2018-07-20 06:43:33 +00:00
johndoe123
1e2e5d636c ILLUSIONS: BBDOU: Implement opcode 54 2018-07-20 06:43:33 +00:00
johndoe123
3abe3d759c ILLUSIONS: BBDOU: Implement opcodes 22, 23 2018-07-20 06:43:33 +00:00
johndoe123
2f80bd0e2b ILLUSIONS: BBDOU: Implement opcodes 18, 19 2018-07-20 06:43:33 +00:00
johndoe123
c9b0a8452a ILLUSIONS: BBDOU: Implement remaining special opcodes 160018, 160028, 16002B 2018-07-20 06:43:33 +00:00
johndoe123
48011948d6 ILLUSIONS: BBDOU: Implement food/cafeteria minigame 2018-07-20 06:43:33 +00:00
johndoe123
4aed366334 ILLUSIONS: BBDOU: Implement BbdouBubble::calcBubbles 2018-07-20 06:43:33 +00:00
johndoe123
0589588b7b ILLUSIONS: BBDOU: Implement credits code and adjust existing code 2018-07-20 06:43:33 +00:00
johndoe123
6ca6fb605d ILLUSIONS: BBDOU: Implement more special opcodes and finish putBackInventoryItem 2018-07-20 06:43:33 +00:00
johndoe123
869d342e9f ILLUSIONS: BBDOU: Implement getOverlappedObjectAccurate and related functions 2018-07-20 06:43:33 +00:00
johndoe123
27a5e93268 ILLUSIONS: BBDOU: Start implementing crosshair cursor (used in shooting minigame) 2018-07-20 06:43:33 +00:00
johndoe123
c0c25691e0 ILLUSIONS: BBDOU: Implement missing script opcodes and special opcodes; fix ActorType bugs and more 2018-07-20 06:43:33 +00:00
johndoe123
c6f2c6ba4e ILLUSIONS: BBDOU: Implement special code 16000F 2018-07-20 06:43:33 +00:00
johndoe123
88e2b3fd9e ILLUSIONS: BBDOU: Implement special code 160030 2018-07-20 06:43:33 +00:00
johndoe123
15498a231a ILLUSIONS: DUCKMAN: Implement opcode 21 2018-07-20 06:43:33 +00:00
johndoe123
601c6f4082 ILLUSIONS: Terminate update functions on scene exit; fix bugs and use constants 2018-07-20 06:43:33 +00:00
johndoe123
8b48f2f63f ILLUSIONS: Rename ProgInfo -> SceneInfo 2018-07-20 06:43:33 +00:00
johndoe123
61a0b5badb ILLUSIONS: Rename tag -> sceneId 2018-07-20 06:43:33 +00:00
johndoe123
41978f466d ILLUSIONS: Add GAM archive reader for Duckman and adjust the resource reader/system 2018-07-20 06:43:33 +00:00
johndoe123
e63eaabbdb ILLUSIONS: Move trigger functions code to seperate file 2018-07-20 06:43:33 +00:00
johndoe123
9d98f92298 ILLUSIONS: Add text drawing to BBDOU 2018-07-20 06:43:33 +00:00
johndoe123
36ec0fafdb ILLUSIONS: Refactor the input system 2018-07-20 06:43:33 +00:00