Commit graph

85 commits

Author SHA1 Message Date
Filippos Karapetis
3f490024e7 TRECISION: Remove end of line whitespace 2021-05-29 21:24:08 +01:00
Strangerke
f465a0fcb6 TRECISION: get rid of g_vm when it's possible 2021-05-29 21:24:05 +01:00
Strangerke
9c357d1031 TRECISION: Remove comments before functions which only duplicate the function name 2021-05-29 21:24:04 +01:00
Filippos Karapetis
318406f639 TRECISION: Change and rename defines to enums and remove unused defines 2021-05-29 21:24:00 +01:00
Filippos Karapetis
478d65531d TRECISION: Cleanup closeup check, perform some renames 2021-05-29 21:24:00 +01:00
Filippos Karapetis
103071cd64 TRECISION: Rename and map the rest of the rooms / closeups 2021-05-29 21:23:59 +01:00
Filippos Karapetis
3654bee551 TRECISION: Start renaming room IDs and mapping the rooms 2021-05-29 21:23:59 +01:00
Filippos Karapetis
16e3ca4e19 TRECISION: Refactor action frame drawing and Smacker closing
This involves the following:
- Rename video function parameters so that it's clear which ones
  operate on animations, and which ones on animation slots
- Simplify stopSmkAnim() to work on animation slots, instead of
  animations
- Refactor and simplify action animation drawing
2021-05-29 21:23:52 +01:00
Filippos Karapetis
b627467051 TRECISION: Merge SCREENLEN and MAXX 2021-05-29 21:23:44 +01:00
Filippos Karapetis
1a9183683d TRECISION: Clean up includes 2021-05-29 21:23:43 +01:00
Filippos Karapetis
0ef6f5d64a TRECISION: Simplify the mouse handling code 2021-05-29 21:23:42 +01:00
Strangerke
35cf1f6583 TRECISION: Remove two useless flags 2021-05-29 21:23:40 +01:00
Strangerke
b985de010c TRECISION: Rename most flags 2021-05-29 21:23:39 +01:00
Strangerke
749882b719 TRECISION: Move some hardcoded logic to LogicManager, move two inventory functions to the main engine class 2021-05-29 21:23:39 +01:00
Strangerke
fc37b6dfba TRECISION: Some more renaming 2021-05-29 21:23:36 +01:00
Strangerke
d9a0032472 TRECISION: Some renaming in trecision header 2021-05-29 21:23:36 +01:00
Filippos Karapetis
868d8a0e25 TRECISION: Add enums for system messages and disable the unused ones 2021-05-29 21:23:22 +01:00
Filippos Karapetis
5fbf8e9197 TRECISION: Use CursorMan for the mouse, and rename showScreen() 2021-05-29 21:23:17 +01:00
Filippos Karapetis
1f02e9f6c5 TRECISION: Simplify the graphics code
This removes the unused CurScrollPageDx variable.
CurRoomMaxX is never changed, and is always SCREENLEN.
Also, BCopy() has been removed, in order to be replaced by direct buffer handling
2021-05-29 21:23:16 +01:00
Filippos Karapetis
837b89290a TRECISION: Remove MCopy() 2021-05-29 21:23:16 +01:00
Filippos Karapetis
b0f1482101 TRECISION: Simplify some vCopy() calls 2021-05-29 21:23:16 +01:00
SupSuper
391687f705 TRECISION: Rename _video2 to _screenBuffer 2021-05-29 21:23:15 +01:00
Filippos Karapetis
544a3d5109 TRECISION: Remove wordset() 2021-05-29 21:23:13 +01:00
Strangerke
171612e5d6 TRECISION: rename useWithInventory and useInventoryWithScreen in order to avoid future confusion 2021-05-29 21:23:09 +01:00
Strangerke
12013e8522 TRECISION: Move roomOut hardcoded logic to the logic class, cleanup 2021-05-29 21:23:08 +01:00
Strangerke
5e8ae0596e TRECISION: move hardcoded logic out of doInventoryUseWithInventory 2021-05-29 21:23:08 +01:00
Strangerke
e0e111f60c TRECISION: introduce LogicManager for hardcoded logic parts of the engine, some renaming 2021-05-29 21:23:08 +01:00
Strangerke
af5c75bffa TRECISION: Move more functions to main class 2021-05-29 21:23:07 +01:00
Strangerke
c6f5560f7d TRECISION: Move some more inventory functions, renaming 2021-05-29 21:23:06 +01:00
Strangerke
5d5783f5e9 TRECISION: remove some unused defines and functions, remove useless includes 2021-05-29 21:23:06 +01:00
Strangerke
67714db25c TRECISION: Some renaming and reordering in the main class 2021-05-29 21:23:05 +01:00
Strangerke
9fd15aea2b TRECISION: Add enum for mouse commands, some cleanup, some renaming 2021-05-29 21:23:04 +01:00
Strangerke
4ee992deda TRECISION: Remove (mostly) useless Left/Right arrow variables 2021-05-29 21:23:04 +01:00
Strangerke
5d7dc67094 TRECISION: some more work on inventory (cleanup, renaming, translation) 2021-05-29 21:23:04 +01:00
strangerke
16801d3016 TRECISION: Move some inventory code to a separate source file 2021-05-29 21:23:03 +01:00