Commit Graph

61 Commits

Author SHA1 Message Date
Eric Fry
baf8011b07 ILLUSIONS: Fix merge error. 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
65049228a8 ILLUSIONS: Remove old TODOs
(cherry picked from commit bb95440)
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
Eric Fry
24a4c6367c ILLUSIONS: update _vm->_unpauseControlActorFlag when unpausing actors 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
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
0303b83ead ILLUSIONS: Pause actors when entering menu 2018-07-20 06:43:33 +00:00
Eric Fry
7b88bd8efe ILLUSIONS: Add more logging
Add todo to check named point on opAppearForeignActor
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
bdc477bef9 ILLUSIONS: Implement convertPanXCoord() to support audio panning.
Wire up startScriptThread2() calls.
Add namedpoint logic.
2018-07-20 06:43:33 +00:00
Eric Fry
7c46d891c6 ILLUSIONS: Print walk rectangle point on background to aid in debugging
Comment and rename some code in pathfinder to aid in understanding
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
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
0589588b7b ILLUSIONS: BBDOU: Implement credits code and adjust existing code 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
823ba2f462 ILLUSIONS: DUCKMAN: Implement load game from the game's menu system
- Fix pause/unpause opcodes
- Reduce debug output
2018-07-20 06:43:33 +00:00
johndoe123
6b36b750c2 ILLUSIONS: DUCKMAN: Implement special opcodes 160017, 16001B, 160020 and 160021 2018-07-20 06:43:33 +00:00
johndoe123
fa17f684da ILLUSIONS: DUCKMAN: Start implementing the menu system
Still work-in-progress, missing functionality and buggy
Maybe needs some work for BBDOU where this isn't implemented yet.
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
36ec0fafdb ILLUSIONS: Refactor the input system 2018-07-20 06:43:33 +00:00
johndoe123
faf7b31ff8 ILLUSIONS: Move thread-related files into threads subdirectory 2018-07-20 06:43:33 +00:00
johndoe123
e4ce8ad4c9 ILLUSIONS: Start refactoring the resource system (not done yet) 2018-07-20 06:43:33 +00:00
johndoe123
50d340de00 ILLUSIONS: Rename file scriptman,* to scriptstack.* and remove unneccessary includes of it 2018-07-20 06:43:33 +00:00
johndoe123
ad2c0aaf3d ILLUSIONS: Add sound effects
- Fix priority bugs in Duckman
- Add more script and sequence opcodes
2018-07-20 06:43:33 +00:00
johndoe123
d57ae26179 ILLUSIONS: Add SoundMan and MusicPlayer
- Add remaining screen shake effects
- Implement Chinese dialog puzzle in Duckman
2018-07-20 06:43:33 +00:00
johndoe123
b94b4c28ba ILLUSIONS: Implement pathfinding 2018-07-20 06:43:33 +00:00
johndoe123
097d130e7d ILLUSIONS: Implement RegionLayer and related code 2018-07-20 06:43:33 +00:00
johndoe123
e131362590 ILLUSIONS: More work on Duckman
- Implement inventory
- Ad more script and sequence opcodes
- Adjust existing code
2018-07-20 06:43:33 +00:00
johndoe123
998744608f ILLUSIONS: More work on Duckman
- Implement dialogs
- Change Camera class for Duckman
2018-07-20 06:43:33 +00:00
johndoe123
2e149cf651 ILLUSIONS: More work on Duckman
- Implement Duckman cursor and interaction handling
- Add more script opcodes
- Add TextDrawer and ScreenText (needs minor refactoring for BBDOU)
2018-07-20 06:43:33 +00:00
johndoe123
67366aa04b ILLUSIONS: More work on Duckman 2018-07-20 06:43:33 +00:00
johndoe123
3f15233f78 ILLUSIONS: Refactor code in preparation for the Duckman engine 2018-07-20 06:43:33 +00:00
johndoe123
08899f5e9b ILLUSIONS: Implement calcPointDirection
- Implement sequence opcode 1
2018-07-20 06:43:33 +00:00
johndoe123
7dc8533f73 ILLUSIONS: Fix thread camera panning
- Minor fixes and corrections
2018-07-20 06:43:33 +00:00
johndoe123
d77d4ed4a6 ILLUSIONS: Fix bug which occured when trying to walk while talking
- Fix minor bugs
- Work on talk thread handling
2018-07-20 06:43:33 +00:00
johndoe123
f2c48e3ae0 ILLUSIONS: Implement pathwalking (actual pathfinding todo) 2018-07-20 06:43:33 +00:00
johndoe123
babe997295 ILLUSIONS: Add more script opcodes
- Add support for duplicate keys to the dictionary
- Add trigger functions support
- Improve inventory, now items can be clicked
2018-07-20 06:43:33 +00:00
johndoe123
3b3f84c764 ILLUSIONS: Implement inventory
- Implement cursor camera tracking
- Various bugfixes
2018-07-20 06:43:33 +00:00
johndoe123
33d28deb69 ILLUSIONS: Additions in various places
- Add NamedPoint and related code
- Remove some debug output
- Fix right mouse button input
- Add bubble code
- Add BBDOU inventory skeleton
2018-07-20 06:43:33 +00:00
johndoe123
22e898f7eb ILLUSIONS: Work on interaction; work on Cause related code 2018-07-20 06:43:33 +00:00
johndoe123
e05a789975 ILLUSIONS: More work on BBDOU specific code (cursor, bubble)
- Add input handling code
2018-07-20 06:43:33 +00:00
johndoe123
a6a4a3dc1c ILLUSIONS: Implement more script opcodes 2018-07-20 06:43:33 +00:00
johndoe123
fc4266bcad ILLUSIONS: Add TalkThread 2018-07-20 06:43:33 +00:00
johndoe123
762be35a36 ILLUSIONS: Add more script opcodes and fix/add stuff along the way
- Unload backgrounds
- Add transparent sprite drawing
- Add AbortableThread
2018-07-20 06:43:33 +00:00
johndoe123
43cd806f17 ILLUSIONS: Add more script opcodes 2018-07-20 06:43:33 +00:00