Commit graph

238 commits

Author SHA1 Message Date
Hubert Maier
33f52a8843
JANITORIAL: DM: Fix typos in comments 2024-08-02 17:13:54 +03:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Le Philousophe
667ea2f88e DM: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
8c0f10e817 DM: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Paul Gilbert
cefb7cfdfe DM: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Filippos Karapetis
9fe1491a64 DM: Fix class member naming, and silence some MSVC warnings
MSVC complained about some potentially uninitialized variables (false
positives), as well as missing default cases in switch blocks
2018-12-23 20:40:21 +02:00
D G Turner
3f91accbd7 DM: Fix Possible Uninitialized Variable Usage Compiler Warnings. 2018-07-30 14:07:23 +01:00
Adrian Frühwirth
36e5374c8b DM: Fix drawSquareD0L() to match original rebuilt sources
The current implementation is shite ((c) Strangerke), so here is one
which matches the rebuilt sources :-)
Given that drawSquareD0R() is identical to the rebuilt sources already
it's safe to assume that no refactoring has been done which could
explain why drawSquareD0L() looks different.

While we're at it, mark that (now correct) fallthrough as intentional
to silence the current gcc7 warning.
2018-03-25 22:22:43 +02:00
Adrian Frühwirth
a222fc8ad8 JANITORIAL: Silence GCC 7 fallthrough warnings
Verified intentional.
2018-03-24 15:53:25 +01:00
Torbjörn Andersson
462f1c9859 JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed
the comments to something GCC would recognize.
2017-08-06 12:26:05 +02:00
Torbjörn Andersson
6cda47ca3d JANITORIAL: Remove superfluous semicolons 2017-04-18 06:49:14 +02:00
Strangerke
f4472d2f0a DM: Fix GCC warnings 2017-01-31 18:15:31 +01:00
Bendegúz Nagy
96c8481f0c DM: Fix formating 2017-01-22 15:56:57 +01:00
Bendegúz Nagy
edf9b2e78a Fix crash at the first corridor and entrance door
Crash caused by missing DisplayMan::_derivedBitmapByteCount values
2017-01-20 21:29:20 +01:00
Bendegúz Nagy
0d77642254 Silence valgrind error messages 2017-01-20 21:26:43 +01:00
Bendegúz Nagy
0eb20223f4 Properly delete leaking DisplayMan::_tmpBitmap 2017-01-20 21:22:50 +01:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Strangerke
9ca8d65113 DM: More refactoring 2016-09-28 00:29:07 +02:00
Strangerke
dc19419507 DM: reduce some more redirections 2016-09-26 21:15:04 +02:00
Strangerke
6ea230af48 DM: Fix some CppCheck warnings 2016-09-24 09:41:56 +02:00
Strangerke
4133ea66c1 DM: Rename GraphicIndice members 2016-09-21 07:54:58 +02:00
Strangerke
2458fd090c DM: Initialize some variables 2016-09-20 23:14:30 +02:00
Strangerke
8668f6765b DM: Rename members of Behavior, some more renaming 2016-09-18 12:52:01 +02:00
Strangerke
0750c20fe7 DM: rename members of DescriptionMask, PanelContent, CreatureSize, CreatureMask 2016-09-18 11:46:53 +02:00
Strangerke
ebe014f4be DM: Rename Creature masks, move SoundMode to sound.h 2016-09-18 11:18:11 +02:00
Strangerke
94f1c71c08 DM: Some renaming in group 2016-09-17 15:13:20 +02:00
Strangerke
9691da2b05 DM: Fix the style of some pointers in gfx, remove some implicit casts to Box 2016-09-17 00:07:04 +02:00
Strangerke
314d52dbc1 DM: Fix some more warnings 2016-09-16 23:43:27 +02:00
Strangerke
93109b77ff DM: Clarify some assignments 2016-09-16 22:06:01 +02:00
Strangerke
f6039153ec DM: Refactor Box() 2016-09-16 22:05:59 +02:00
Strangerke
952abc3243 DM: More renaming in gfx enums 2016-09-16 07:46:10 +02:00
Strangerke
ae9ff70204 DM: More renaming in Gfx enums 2016-09-16 06:58:48 +02:00
Strangerke
cdc319e8c4 DM: Renaming of enums in gfx, some refactoring 2016-09-15 21:34:08 +02:00
Strangerke
cb2b1b17db DM: Some renaming and refactoring in Gfx 2016-09-15 07:36:40 +02:00
Strangerke
1fa2519a12 DM: Add DoorButton enum, fix a bug in drawSquareD3C 2016-09-14 22:25:27 +02:00
Strangerke
535ded7e55 DM: Add DoorOrnament enum, some refactoring in drawDoorOrnament to make use of it 2016-09-14 21:59:39 +02:00
Strangerke
20a27fac63 DM: Add DoorState enum, make use of it 2016-09-14 21:27:09 +02:00
Strangerke
c969647bc5 DM: Add an enum (ViewFloor), enforce its use, fix a bug in the case of kDMElementTypeDoorFront 2016-09-14 07:44:06 +02:00
Strangerke
9f324dff86 DM: Silence some GCC warnings 2016-09-13 22:08:01 +02:00
Strangerke
f9d28464ea DM: Get rif od SquareType, rename SquareMask 2016-09-13 07:47:47 +02:00
Strangerke
ed9b883543 DM: more renaming in DungeonMan 2016-09-12 22:46:38 +02:00
Bendegúz Nagy
06d6e118eb DM: Add partial fix to drawing explosions 2016-09-12 15:49:25 +02:00
Strangerke
040d71bca5 DM: Rename more constants 2016-09-11 23:06:29 +02:00
Strangerke
e413f44d47 DM: Start renaming constants in DungeonMan 2016-09-11 21:24:02 +02:00
Strangerke
2f311a800f DM: Get rid of getBoundedValue, replace it by CLIP 2016-09-11 11:10:22 +02:00
Strangerke
b17f3490f8 DM: Rework functions related to Directions in order to make them consistent and remove redundancy 2016-09-11 10:45:20 +02:00
Strangerke
f0a6f6b269 DM: Make some functions private, move 2 functions to more specific classes 2016-09-11 10:27:29 +02:00
Strangerke
f90bf31bea DM: Move some globals to DMEngine 2016-09-11 09:46:35 +02:00