Commit graph

99 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis
78ef45ba0f TRECISION: Group object graphics and mask buffers 2021-06-22 10:37:36 +03:00
Filippos Karapetis
7ebd9c9558 TRECISION: Janitorial - use unified naming for loop variables 2021-06-20 17:04:01 +03:00
SupSuper
8502cbd702 TRECISION: Let us be absolute 2021-06-15 13:21:33 +01:00
Filippos Karapetis
ff97b24f09 TRECISION: Remove the now redundant maskMouse variable 2021-06-12 00:05:27 +03:00
Filippos Karapetis
24d791ba76 TRECISION: Remove superfluous inventory state variables 2021-06-11 23:19:12 +03:00
Filippos Karapetis
863a9260cf TRECISION: Fix inventory item description when opening the inventory 2021-06-10 02:05:07 +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
d069086332 TRECISION: Rename _textCol -> _textColor 2021-06-09 00:19:04 +03:00
Strangerke
ef01a6ad29 TRECISION: Turn _drawTextLines into an array of Common::String 2021-06-08 08:44:38 +01:00
Strangerke
f3dd3de43f TRECISION: Fix some Coverity issues 2021-06-05 23:51:57 +01:00
Filippos Karapetis
21a1dd91c2 TRECISION: Remove unused includes 2021-05-29 21:25:11 +01:00
Strangerke
f840836b3e TRECISION: Set SObject._mode private, add accessors 2021-05-29 21:25:08 +01:00
Filippos Karapetis
3f583cd42e TRECISION: Move more screen update functionality into GraphicsManager 2021-05-29 21:25:06 +01:00
Strangerke
33173bdb67 TRECISION: Move StackText to text.h, rename tcol and scol to improve readability 2021-05-29 21:25:04 +01:00
Strangerke
a4cf68898d TRECISION: Remove a useless include 2021-05-29 21:25:04 +01:00
Strangerke
63dc1fc7e5 TRECISION: end of inc/dec operand harmonization, fix function comment header format 2021-05-29 21:24:59 +01:00
Filippos Karapetis
31f51e0a8f TRECISION: Refactor mouse movement checking 2021-05-29 21:24:58 +01:00
Strangerke
8a0a71dbab TRECISION: Remove the use of fabs() in dist2D/3D 2021-05-29 21:24:57 +01:00
Strangerke
4e79dc5199 TRECISION: Replace float direct comparisons by a new function 2021-05-29 21:24:56 +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
11d064fc6c TRECISION: Use the new event wrappers 2021-05-29 21:24:52 +01:00
Filippos Karapetis
8931782996 TRECISION: Remove the setRoom() wrapper 2021-05-29 21:24:51 +01:00
Filippos Karapetis
8a04137fb0 TRECISION: Refactor the sound playing code
The following changes have been made:
- Fade in/out functionality has been removed (it was never really used
  properly)
- Removed references to audio streams - they are disposed after use now
- Removed the room sound list - only 4 different sounds are actually
  played simultaneously
2021-05-29 21:24:50 +01:00
Filippos Karapetis
b55a9c12e4 TRECISION: Fix Codacy issues 2021-05-29 21:24:45 +01:00
Filippos Karapetis
dbf5f5c0f8 TRECISION: Move class member initialization inside each class
Also, move some class members in the classes that actually use them
2021-05-29 21:24:43 +01:00
Filippos Karapetis
5b077727e5 TRECISION: Move font drawing inside GraphicsManager 2021-05-29 21:24:43 +01:00
SupSuper
c34edf6419 TRECISION: Get rid of last global 2021-05-29 21:24:42 +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
Strangerke
70140d1450 TRECISION: Remove dependency on video.h in trecision.h 2021-05-29 21:24:39 +01:00
Strangerke
87294e44b7 TRECISION: Fix one more local variable name in SDText::draw 2021-05-29 21:24:37 +01:00
Strangerke
08cb134707 TRECISION: Move static variables from processMouse to TrecisionEngine 2021-05-29 21:24:37 +01:00
Strangerke
3f706cfea2 TRECISION: rename some functions, Fix an include 2021-05-29 21:24:36 +01:00
Strangerke
857b9f5751 TRECISION: Move save/load code from trecision.cpp to saveload.cpp, some renaming 2021-05-29 21:24:36 +01:00
Strangerke
f08932fe36 TRECISION: More renaming in SDText, move _drawTextLines to SDText 2021-05-29 21:24:35 +01:00
Strangerke
c78799d63d TRECISION: Some renaming, make waitKey return a Common::KeyCode and getKey a uint16 2021-05-29 21:24:35 +01:00
Strangerke
1a0cb0ac04 TRECISION: Move doSys and _closeUpObj to LogicManager, make various class members private 2021-05-29 21:24:34 +01:00
Strangerke
e342de5d3f TRECISION: Move FTexture to Actor, introduce initTextures, some renaming 2021-05-29 21:24:33 +01:00
Strangerke
34d41aea53 TRECISION: remove some useless redirections, some renaming 2021-05-29 21:24:32 +01:00
Strangerke
362a8aa2d6 TRECISION: Kill llinc and llscreen, some renaming 2021-05-29 21:24:32 +01:00
SupSuper
4d2d97a450 TRECISION: Reduce string copying 2021-05-29 21:24:32 +01:00
Strangerke
50c0ea4317 TRECISION: Move some more methods, kill llmouse.cpp, proto.h and schedule.cpp 2021-05-29 21:24:31 +01:00
Strangerke
8a97a5f8e1 TRECISION: Move some defines to defines.cpp, remove message.h 2021-05-29 21:24:31 +01:00
Strangerke
2f18be7fb0 TRECISION: Move PaintObjAnm and PaintScreen to Renderer3D, remove regen.cpp 2021-05-29 21:24:31 +01:00
Strangerke
e1917b5524 TRECISION: Kill 3Dinc and 3Dvar 2021-05-29 21:24:31 +01:00
Strangerke
73597751bd TRECISION: Get rid of do.cpp 2021-05-29 21:24:29 +01:00
SupSuper
55b863be4e TRECISION: Finish support for demo 2021-05-29 21:24:28 +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