Commit graph

75 commits

Author SHA1 Message Date
Eugene Sandulenko
e6b61c3874 ILLUSIONS: Fix warnings 2018-07-21 12:15:05 +02:00
johndoe123
65049228a8 ILLUSIONS: Remove old TODOs
(cherry picked from commit bb95440)
2018-07-20 06:43:33 +00:00
Eric Fry
f15335db0f ILLUSIONS: Remove old video logic 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
989d8d9b8a ILLUSIONS: Formatting, remove trailing whitespace. 2018-07-20 06:43:33 +00:00
Eric Fry
92e74327e6 ILLUSIONS: Initialise save slot variable 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
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
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
2f551cabba ILLUSIONS: Change video skip key from escape to space
Add debug logging on unknown background info field
Removed unused debug variables
2018-07-20 06:43:33 +00:00
Eric Fry
39798c63d1 ILLUSIONS: Fix static buffer overrun in debug log function.
This was causing the game to crash when loading the main scumm menu.
It was corrupting another static string in the about dialog.
2018-07-20 06:43:33 +00:00
Eric Fry
9be0a7b085 ILLUSIONS: Play video files 2018-07-20 06:43:33 +00:00
Eric Fry
6ae9555086 ILLUSIONS: Fix valgrind warnings about usage of uninitialised variables 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
aed3852701 ILLUSIONS: Implement save/load functionality
- Only works in Duckman at the moment
- Only via the ScummVM main menu for now, save/load via the game's menu to be implemented
2018-07-20 06:43:33 +00:00
johndoe123
f692e0acfb ILLUSIONS: DUCKMAN: Implement special opcodes 16001D, 16001E, 16001F and related code 2018-07-20 06:43:33 +00:00
johndoe123
2b9af91d8f ILLUSIONS: DUCKMAN: Implement opcode 8 2018-07-20 06:43:33 +00:00
johndoe123
09bbb482a8 ILLUSIONS: DUCKMAN: Implement opcodes 70/71 for pausing/unpausing during the menu
Also change some input functions to return uint istead of byte to allow bigger bitmasks.
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
a173329ae9 ILLUSIONS: Move resource-related files into resources subdirectory 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
ace0d042ec ILLUSIONS: Refactoring the resource system (not done yet) 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
9885a050f2 ILLUSIONS: Implement VoicePlayer 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
60600191a0 ILLUSIONS: Use the UpdateFunctions class for update routines 2018-07-20 06:43:33 +00:00
johndoe123
1f74de6a46 ILLUSIONS: More work on Duckman
- Implement palette fader
- Add more inventory functions
- Add more script opcodes
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
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
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
e0e4d2ffa9 ILLUSIONS: Implement sprite scaling 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
28cb39eb2b ILLUSIONS: Start with BBDOU special code 2018-07-20 06:43:33 +00:00
johndoe123
fc4266bcad ILLUSIONS: Add TalkThread 2018-07-20 06:43:33 +00:00
johndoe123
812c7fc3a8 ILLUSIONS: Add TalkResource and related 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
johndoe123
f47575ca90 ILLUSIONS: Add more script opcodes and related 2018-07-20 06:43:33 +00:00
johndoe123
48ef46c02d ILLUSIONS: Implement more script opcodes and related functions 2018-07-20 06:43:33 +00:00
johndoe123
e881db0732 ILLUSIONS: Implement more sequence opcodes and work on the graphics system 2018-07-20 06:43:33 +00:00