Commit Graph

45 Commits

Author SHA1 Message Date
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
3ab8ebc4f7 TONY: Move some more code from .h to .cpp files 2012-09-01 02:27:31 +02:00
Strangerke
b12ccad994 TONY: Reduce scope of some variables 2012-08-29 00:30:07 +02:00
Alyssa Milburn
28681a32ee TONY: Remove more unused bits. 2012-08-27 23:41:23 +02:00
Alyssa Milburn
7b4dd0a682 TONY: Remove various bits of unused code. 2012-08-27 12:50:33 +02:00
Strangerke
addca5d856 TONY: _rgb buffer is no longer static 2012-08-27 06:51:29 +02:00
Alyssa Milburn
68c6109e76 TONY: Draw the dirty rectangle debugging last.
Otherwise the rects are overwritten by the actual drawing.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
0163bd38e8 TONY: Fix background dirty rect handling.
Reset the scrolling state on load, so that when a new scene is
loaded, the background is redrawn. Also, revert the workaround
in d0d15af9, since this (hopefully) fixes the underlying problem.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
c340739001 TONY: Replace _vm with g_vm. 2012-08-22 21:51:51 +02:00
Paul Gilbert
dfb0e4f700 TONY: Fix dirty rect refresh glitch in the introduction sequence 2012-08-12 19:47:48 +10: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
Torbjörn Andersson
65a8799f96 TONY: Added "sepia mode".
This works by adding a wrapper function for copyRectToScreen(). As
far as the engine is concerned, it still draws everything in color.
The mouse cursors are still in color, but that can be fixed later.
2012-06-24 11:09:08 +02:00
Paul Gilbert
717756749d TONY: Merge of dirty rect functionality 2012-06-23 00:57:21 +10:00
Paul Gilbert
eef6b444df TONY: Created a debugger command 'dirty_rects' to show dirty rect areas on-screen 2012-06-22 23:47:39 +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
d4e9aa78ab TONY: Silent more CppCheck warnings 2012-06-14 08:08:13 +02:00
Strangerke
985602a72d TONY: Rename some Italian into English 2012-06-12 00:07:50 +02:00
Strangerke
f1ac5d5acd TONY: More renaming 2012-06-06 08:04:33 +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
3f00f51ef3 TONY: Improve the screen wipe logic.
The circular area now properly reaches to the edge of the screen when changing scenes.
2012-05-21 23:11:59 +10:00
Paul Gilbert
0450275c44 TONY: Converting Italian comments to English and formatting 2012-05-20 13:54:59 +10:00
Paul Gilbert
333c30b8c7 TONY: Removed unused drive & folder defines and code 2012-05-20 11:37:33 +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
b01482bddb TONY: Further globals added to Globals class 2012-05-13 23:05:41 +10:00
Paul Gilbert
8a88ad861d TONY: Converted object passing to use const reference where appropriate.
This should cut down on the number of redunndant creations of temporary objects.
2012-05-13 00:43:02 +10:00
Paul Gilbert
073e46503c TONY: Properly implement game saving and loading.
Saving isn't enabled in the demo, so for testing purposes I'm currently dissbling the ADGF_DEMO flag in the detection tables so saving is enabled.
2012-05-12 21:54:37 +10:00
Paul Gilbert
67c47e9045 TONY: First attempt at simulating the circular fade in/out effect engine uses
The engine uses DirectX drawing functionality to do drawing of partial frames within an ellipsis, so we need to replicate that manually in code.
2012-05-11 23:36:13 +10:00
Paul Gilbert
68c1b0b0e4 TONY: Refactored Tony to use the Common coroutine scheduler 2012-05-11 23:15:59 +10:00
Paul Gilbert
724deb6b84 TONY: Bugfixes for showing the credits screen. 2012-05-11 08:44:50 +10:00
Paul Gilbert
5a069cdc86 TONY: Refactored out usage of nullContext in favour of proper coroutines 2012-05-09 23:15:41 +10:00
Paul Gilbert
20a47ff7c9 TONY: Default Tony screen to 1x scaler 2012-05-06 12:55:20 +10:00
Paul Gilbert
f7fd9e3d23 TONY: Fix display of the initial loading screen 2012-05-05 23:21:38 +10:00
Paul Gilbert
162cc47c71 TONY: Fix screen initialisation to be in 16-bit mode 2012-05-05 22:45:57 +10:00
Paul Gilbert
5625846bf2 TONY: Further conversion work on window conversion 2012-05-05 22:32:40 +10:00
Paul Gilbert
07c1369f98 TONY: Created dummy event loop and started work on converting RMWindow class 2012-05-05 20:54:21 +10:00
Paul Gilbert
aa603d5a67 TONY: Fix a crash from objects being destroyed in the wrong order 2012-05-05 20:29:37 +10:00
Paul Gilbert
3184a5a874 TONY: Fix warnings about return values not being used 2012-05-04 22:58:42 +10:00
Paul Gilbert
557c43c2db TONY: Converted anonymous structs to have explicit names 2012-05-04 21:40:44 +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