Commit Graph

51 Commits

Author SHA1 Message Date
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
Strangerke
099fe1e9e6 TONY: Remove original header 2012-05-14 07:43:50 +02:00
Paul Gilbert
546f47ddce TONY: Beginnings of refactoring Globals into their own class 2012-05-13 22:34:40 +10:00
Paul Gilbert
8466314735 TONY: Disabled target buffer mutex which isn't needed anymore 2012-05-13 19:02:47 +10:00
Paul Gilbert
109e5f8226 TONY: Conversion of more methods to coroutines 2012-05-12 20:49:36 +10:00
Paul Gilbert
a153f9a2e6 TONY: Explicitly initialise fields of various objects in their constructors
This fixes a crash when the pop-up inventory was displayed.
2012-05-12 10:34:52 +10:00
Paul Gilbert
734fae9193 TONY: Fixed some memory leaks identified by Valgrind 2012-05-05 10:32:43 +10:00
Paul Gilbert
657d93ea8f TONY: Fix some Valgrind identified warnings 2012-05-05 09:31:21 +10:00
Paul Gilbert
9482eac1f2 TONY: Some formatting fixes 2012-05-04 22:09:24 +10:00
Paul Gilbert
5b2c69b1f2 TONY: Implemented some missing and incorrect init code 2012-05-04 00:11:38 +10:00
Paul Gilbert
6d0f1fca46 TONY: Formatting fixes 2012-05-03 23:08:19 +10:00
Paul Gilbert
a2982a0b20 TONY: Engine is now compiling and linking again 2012-05-03 22:49:30 +10:00
Paul Gilbert
cb1b1c453d TONY: Added GfxCoreInline.hpp methods 2012-05-03 13:14:46 +10:00
Paul Gilbert
07a16ab2f3 TONY: Implemented gfxcore.cpp methods 2012-05-03 09:23:54 +10:00