Commit graph

85 commits

Author SHA1 Message Date
Filippos Karapetis
32fb690aae TRECISION: Add support for audio in Amiga video
The audio is in raw format, like the rest of the sounds in the Amiga
port.

Overall:
- A new class has been created, NightlongVideoDecoder, which
  encapsulates the PC and Amiga video playing functionality
- The AnimManager class has been moved into animmanager.*
- The AnimType class has been moved from anim.* to animtype.*
2022-01-24 00:24:28 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis
0b6b48b23d TRECISION: Fix canceling item combination - bug #12920 2021-09-30 03:17:50 +03:00
SupSuper
b84814cd34 TRECISION: Clean up warnings 2021-06-30 09:36:17 +01:00
Filippos Karapetis
271ee6ab89 TRECISION: Change _inventorySpeed into a static const 2021-06-12 00:05:28 +03:00
Filippos Karapetis
42d33ec151 TRECISION: Split the Pathfinding3D and Renderer3D classes 2021-06-09 02:52:21 +03:00
Filippos Karapetis
6ce7d3a985 TRECISION: Remove mask color params and simplify the blinking char code
The mask or shadow color was always MASKCOL, so we don't need to
specify it as a parameter
2021-06-09 00:38:47 +03:00
Filippos Karapetis
f20d13fa62 TRECISION: Start documenting the hardcoded lines from Joshua 2021-05-31 02:33:52 +03:00
Filippos Karapetis
d334bb3cb8 TRECISION: Remove the wrappers for combining inventory items 2021-05-31 00:19:00 +03:00
Filippos Karapetis
24f3f4ff75 TRECISION: Use Common::Point for text placement 2021-05-30 17:37:16 +03:00
Filippos Karapetis
faaf6beaaa TRECISION: Group code that clears the inventory item combination state 2021-05-30 10:57:42 +03:00
Filippos Karapetis
21a1dd91c2 TRECISION: Remove unused includes 2021-05-29 21:25:11 +01:00
Strangerke
81b0efd905 TRECISION: set SInvObject._flag private, add accessors 2021-05-29 21:25:09 +01:00
Filippos Karapetis
24a51fc26b TRECISION: Close the inventory when starting a dialog or changing rooms 2021-05-29 21:25:08 +01:00
Strangerke
f840836b3e TRECISION: Set SObject._mode private, add accessors 2021-05-29 21:25:08 +01:00
Filippos Karapetis
3ac3156d9e TRECISION: Fix empty slots in the original save/load dialog 2021-05-29 21:25:08 +01:00
Filippos Karapetis
6925d1d2cd TRECISION: Call the rest of the inventory handling functions directly
This removes the remaining inventory-related events
2021-05-29 21:25:01 +01:00
Strangerke
7b4de1e6fb TRECISION: One more review of the includes 2021-05-29 21:25:00 +01:00
Strangerke
6bcae873cb TRECISION: Start to harmonize the use of increment/decrement operation when it doesn't make a difference - systematically use ++foobar 2021-05-29 21:24:59 +01:00
Filippos Karapetis
f4c473e106 TRECISION: Use Common::String in showInventoryName() 2021-05-29 21:24:58 +01:00
Filippos Karapetis
8b853a2e6c TRECISION: Remove the showIconName event 2021-05-29 21:24:57 +01:00
Filippos Karapetis
203d4818be TRECISION: Improve mouse responsiveness
We now process only the mouse button up events, and immediately clear
them, which improves mouse responsiveness. The relevant static
variables that were used to track inventory refresh changes have been
moved to TrecisionEngine. Also, removed some mouse related scheduled
events and call the corresponding functions directly
2021-05-29 21:24:54 +01:00
Filippos Karapetis
c7cc235e29 TRECISION: Simplify inventory moving left/right 2021-05-29 21:24:53 +01:00
Filippos Karapetis
6b34141e77 TRECISION: Whitespace fixes 2021-05-29 21:24:51 +01:00
D G Turner
b94dca4c91 TRECISION: Fix Various GCC Warnings 2021-05-29 21:24:46 +01:00
Filippos Karapetis
b55a9c12e4 TRECISION: Fix Codacy issues 2021-05-29 21:24:45 +01:00
Filippos Karapetis
7f59c36fed TRECISION: Refactor handling of inventory icons + save slot thumbnails
- Loading and drawing of inventory icons is now done inside GraphicsManager
- Saved game thumbnails are loaded and handled inside GraphicsManager
- Moved performLoad() inside saveload.cpp, together with the other
  save game handling functions
2021-05-29 21:24:39 +01:00
Filippos Karapetis
e1d0de40ff TRECISION: Simplify the inventory drawing code and remove dead code
- LASTICON + READICON + 1 equals 0, so this check makes no difference
2021-05-29 21:24:39 +01:00
Filippos Karapetis
3550e31b04 TRECISION: Refactor image loading and inventory arrow handling
This moves another direct graphics surface pointer into GraphicsManager
2021-05-29 21:24:38 +01:00
Filippos Karapetis
b5d7d66691 TRECISION: Reduce usage of getScreenBufferPtr() 2021-05-29 21:24:36 +01:00
Strangerke
dd0884f9b6 TRECISION: Some renamings 2021-05-29 21:24:33 +01:00
SupSuper
4d2d97a450 TRECISION: Reduce string copying 2021-05-29 21:24:32 +01:00
Strangerke
8a97a5f8e1 TRECISION: Move some defines to defines.cpp, remove message.h 2021-05-29 21:24:31 +01:00
Strangerke
73597751bd TRECISION: Get rid of do.cpp 2021-05-29 21:24:29 +01:00
Filippos Karapetis
d0041dfcc5 TRECISION: Move more text functionality into TextManager
Also, change some strings to Common::String
2021-05-29 21:24:27 +01:00
Filippos Karapetis
26392eb7cf TRECISION: Clean up includes 2021-05-29 21:24:27 +01:00
Strangerke
71288e27d2 TRECISION: Introduce TextManager 2021-05-29 21:24:27 +01:00
Filippos Karapetis
61af3deb07 TRECISION: Simplify some screen buffer clearing calls 2021-05-29 21:24:25 +01:00
Strangerke
299551b0fd TRECISION: Use Common::Point in several places instead of 2 int16 2021-05-29 21:24:24 +01:00
Strangerke
3bc1ec607d TRECISION: get rid of sysdef.h 2021-05-29 21:24:24 +01:00
Filippos Karapetis
dbe1fddb0e TRECISION: Move _screenBuffer and change it to a Graphics::Surface 2021-05-29 21:24:24 +01:00
Filippos Karapetis
e1e3ea3bd1 TRECISION: Move isCloseupOrControlRoom() to LogicManager 2021-05-29 21:24:22 +01:00
Strangerke
4c54b6ea46 TRECISION: Move 3 variables out of globvar, remove globvar.cpp, process.cpp and extern.h 2021-05-29 21:24:22 +01:00
Strangerke
85fa769d35 TRECISION: Move some global code to a new class PathFinding3D (WIP) 2021-05-29 21:24:19 +01:00
Strangerke
c6f05ae53b TRECISION: Move two functions to Actor, fix some warnings by using some unsigned variables and parameters 2021-05-29 21:24:17 +01:00
Strangerke
4cabf0e165 TRECISION: Fix some warnings, some renaming and polishing 2021-05-29 21:24:16 +01:00
Filippos Karapetis
8377c9940d TRECISION: Simplify some of the inventory code 2021-05-29 21:24:13 +01:00
Strangerke
c061fe823d TRECISION: Move define.h 2021-05-29 21:24:12 +01:00
Strangerke
d84937818c TRECISION: rename some members of TrecisionEngine, remove a useless member 2021-05-29 21:24:10 +01:00
Filippos Karapetis
6dc069f455 TRECISION: Start renaming inventory item enums 2021-05-29 21:24:09 +01:00