Adrian Frühwirth
273e88b61d
TONY: Enforce code formatting guidelines
...
These are all commented out but let's update them nevertheless to
reflect earlier renames of the methods in question.
2018-05-07 20:06:29 +02:00
Eugene Sandulenko
69120f4e72
TONY: Removing more redundant checks
2016-05-09 14:24:32 +02:00
Eugene Sandulenko
d7fe475266
TONY: Remove redundant checks
...
Since we have ((color & 0x1f) * 6) / 6, it cannot be > 0x1f, thus removing these
checks as redundant.
2016-05-04 21:15:58 +02:00
Filippos Karapetis
338f3dc103
TONY: Fix image loading on BE systems again
...
This was originally changed in commit 43520ce4f3
, but it has been
removed accidentally in commit 84fb3e816d
2014-10-28 15:46:19 +02:00
Alyssa Milburn
84fb3e816d
TONY: Switch to 565 screen format.
...
The old (555) screen format is not supported by some backends.
This leaves the savegame thumbnails as 555 (for compatibility).
2014-06-17 09:34:15 +02:00
Strangerke
a440c6a20e
TONY: Reduce the scope of more variables
2014-02-28 23:24:09 +01:00
Johannes Schickel
b9bfa3a857
TONY: Make GPL headers consistent in themselves.
2014-02-18 02:39:39 +01:00
Torbjörn Andersson
61f59997be
TONY: Initialise _buf and _origBuf in second RMGfxBuffer constructor
...
I think this fixes CID 1086888, but I haven't been able to find
where in the game this constructor is used.
2013-10-13 09:15:59 +02:00
Torbjörn Andersson
da17953c12
TONY: Remove debug message from last commit. Oops.
2013-07-19 21:19:03 +02:00
Torbjörn Andersson
c44d6ae60c
TONY: Fix parameter to RMGfxSourceBuffer8RLEWordAA::init()
...
The method it is meant to override uses "const byte *buf" so this
one should too. I don't know if/when it's called, but fuzzie tells
me it should be a harmless change. Hopefully fixes CID 1003892.
2013-07-19 21:10:50 +02:00
D G Turner
e9b04d018f
TONY: Fix compiler warnings about possible "used before set" variables.
...
Looking at this code and the code in clip2D, this shouldn't happen,
but this will prevent any future issues.
2012-11-20 19:05:45 +00:00
D G Turner
43520ce4f3
TONY: Fix image loading on BE systems.
...
Thanks to wjp and fuzzie for working out the cause.
2012-11-13 09:18:28 +00:00
D G Turner
b8c1b46ae0
TONY: Cleanup whitespace formatting.
...
This is mainly removal of extraneous blank lines, reformatting indents
to tab characters and other minor non-functional changes to improve
compliance with Code Formatting Conventions.
2012-11-12 00:39:20 +00:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Strangerke
17d6d732ea
TONY: More renaming, reduce some variable scopes
2012-09-08 01:02:36 +02:00
Strangerke
c737e64298
TONY: Move code from .h to .cpp files
2012-09-02 10:34:11 +02:00
Strangerke
3ab8ebc4f7
TONY: Move some more code from .h to .cpp files
2012-09-01 02:27:31 +02:00
Strangerke
825e0896dc
TONY: Replace C-style comments by C++-style ones.
...
Also translate some more Italian comments
2012-08-29 23:25:14 +02:00
Strangerke
56f4bc0225
TONY: Fix some for and if statements with bad coding style
2012-08-28 23:05:48 +02:00
Alyssa Milburn
35fd91793b
TONY: Get rid of RMDataStream.
2012-08-28 14:26:00 +02:00
Alyssa Milburn
7b4dd0a682
TONY: Remove various bits of unused code.
2012-08-27 12:50:33 +02:00
Alyssa Milburn
037920bf76
TONY: Fix width of flipped dirty rects.
2012-08-27 12:30:02 +02:00
Alyssa Milburn
a9828c8818
TONY: Replace copyMemory with memcpy.
2012-08-25 10:08:10 +02:00
Alyssa Milburn
aa603bc208
TONY: Mark screen dirty in RMGfxClearTask.
...
This fixes the "A LONG TIME AFTER..." screen when talking to the old
woman in the booth. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
7815c05220
TONY: Use the right dirty rects for drawAA.
...
This makes it match the relevant non-AA code, and fixes problems
due to the invalid rects. (Perhaps we don't need dirty rects here
at all though, since all the callers seem to call the non-AA code
first with the same parameters?)
2012-08-25 08:41:21 +02:00
Alyssa Milburn
61b11037c3
TONY: Ignore draw attempts with non-positive width/height.
...
This avoids an invalid dirty rect (width -1) during the
introduction scene inside Halloween Park.
2012-08-25 08:41:21 +02:00
Torbjörn Andersson
846f9644dd
TONY: Clip width to avoid crash when drawing flipped sprite
...
This fixes - or at least work around - a failed assertion when
Pantagruel leaves the office at the beginning of the game.
2012-08-01 22:34:00 +02:00
Torbjörn Andersson
a5bfbeed32
TONY: Don't pass uninitialised rect to addDirtyRect()
...
Wait until after we have the destination rect. Unfortunately, this
does not fix any of the graphical glitches during the intro.
2012-07-26 20:15:32 +02:00
Paul Gilbert
58b03ec446
TONY: Refactored the Sepia (B & W) mode so the cursor is converted as well
2012-07-02 20:53:31 +10:00
Paul Gilbert
717756749d
TONY: Merge of dirty rect functionality
2012-06-23 00:57:21 +10:00
Paul Gilbert
17289089e6
TONY: Fix for adding dirty rects for 8-bit RLE images
2012-06-21 22:58:58 +10:00
Strangerke
e8a6f61f88
TONY: Remove useless void in function declaration
2012-06-18 08:24:33 +02:00
Strangerke
b36b666300
TONY: American-ification of English used
2012-06-17 18:36:23 +02:00
Paul Gilbert
cdbc4aa28b
TONY: Initial commit of in progress dirty rect handling
2012-06-16 10:57:35 +10:00
Strangerke
7c605c5f69
TONY: Silent more CppCheck warnings, remove an unused global
2012-06-15 08:23:06 +02:00
Paul Gilbert
e55a16271e
TONY: Removed unused global static object and associated method
2012-06-14 22:07:36 +10:00
Strangerke
42a322d671
TONY: Silent some CppCheck warnings
2012-06-14 00:12:45 +02:00
Strangerke
b828231671
TONY: Translate some more comments into English
2012-06-12 08:03:51 +02:00
Strangerke
94df38bfb4
TONY: Rename variables in game.h and gfxcore.h
2012-06-11 21:30:47 +02:00
Strangerke
02c8ccebcb
TONY: Rename variables in utils.h
2012-06-11 20:24:25 +02:00
Strangerke
c52aca5ac4
TONY: Rename more globals
2012-06-09 00:52:38 +02:00
Strangerke
cd15e483ed
TONY: Some more renaming
2012-06-07 21:14:59 +02:00
Strangerke
f12ab3e521
TONY: Rename variables and functions in utils.h
2012-06-07 08:42:35 +02:00
Strangerke
380c86fd40
TONY: Some renaming
2012-06-05 18:51:20 +02:00
Strangerke
23c95d7014
TONY: Some more renaming
2012-06-05 08:39:55 +02:00
Strangerke
94d3c8ebb2
TONY: Some more code formatting
2012-05-21 23:54:32 +02:00
Paul Gilbert
29cbb3f824
TONY: Miscellaneous comment translations and comment cleanup
2012-05-20 17:01:20 +10:00
Paul Gilbert
7da213cd32
TONY: Removal of code that was commented out in the original source
2012-05-20 16:34:38 +10:00
Paul Gilbert
8b9831a502
TONY: Converting Italian comments to English and formatting
2012-05-20 15:28:48 +10:00
Strangerke
88762667b5
TONY: Fix some formatting
2012-05-14 21:29:27 +02:00