Commit Graph

312 Commits

Author SHA1 Message Date
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Paul Gilbert
a4fbc73ee6 Fixed memory leaks in savegame restoring
svn-id: r44863
2009-10-10 05:08:56 +00:00
Paul Gilbert
6bbe30f44b Game now completely starts up without memory leaks
svn-id: r44862
2009-10-10 04:47:18 +00:00
Paul Gilbert
df3fbd432d Further memory leak fixes
svn-id: r44861
2009-10-10 04:15:38 +00:00
Max Horn
23ded6d955 Fix warning
svn-id: r44819
2009-10-09 12:01:22 +00:00
Paul Gilbert
857a35f748 Fixed all memory leaks as far as the initial title screen
svn-id: r44814
2009-10-09 10:32:33 +00:00
Paul Gilbert
8694b48ae3 Set up a basic tracing system for all memory allocations to help track down memory leaks
svn-id: r44808
2009-10-09 08:15:30 +00:00
Paul Gilbert
5d7caf3ca9 Added a +1 for dirty rectangle calculation so final column of changed area is included
svn-id: r44551
2009-10-03 08:59:11 +00:00
Paul Gilbert
78578a042f Bugfix for dirty rects getting lost during room fade-ins
svn-id: r44536
2009-10-02 13:13:47 +00:00
Paul Gilbert
a5df07f56a Bugfix for the dirty rects for drawn sprites when the sprite is partially off-screen
svn-id: r44372
2009-09-26 04:37:19 +00:00
Paul Gilbert
7f1b50f300 Dirty rects fix for pixels remaining on screen changes
svn-id: r44371
2009-09-26 04:13:44 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
a983c88e37 Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44312
2009-09-24 17:24:42 +00:00
Filippos Karapetis
f2c4bd514f Changed createResFileEntry() to error out again
svn-id: r44301
2009-09-24 10:24:12 +00:00
Filippos Karapetis
16d7d9ba23 Fixed some more warnings about unreachable code
svn-id: r44299
2009-09-24 10:02:13 +00:00
Filippos Karapetis
db63b401a6 CRUISE: Fixed some warnings about unreachable code
svn-id: r44293
2009-09-24 09:40:12 +00:00
Paul Gilbert
92e75a768a Removed redundant offset from dirty rect calculation logic
svn-id: r44270
2009-09-23 10:58:17 +00:00
Johannes Schickel
346ce3f3da Add preliminary support for German Amiga version.
svn-id: r44077
2009-09-14 12:24:23 +00:00
Paul Gilbert
4fc8fe8023 Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
svn-id: r44032
2009-09-11 11:36:16 +00:00
Paul Gilbert
bb94053960 Bugfix for the boundaries of changing objects used for dirty rect calculations
svn-id: r44031
2009-09-11 11:02:15 +00:00
Paul Gilbert
1f39c1b569 Bugfix for freeze when the in-game Pause 'P' key is used
svn-id: r43690
2009-08-24 10:23:22 +00:00
Paul Gilbert
de2e283492 Added code to launch the GMM save/load dialogues from the in-game Player menu, replacing the older code that just saved/loaded the game in a single slot without prompting
svn-id: r43685
2009-08-24 09:07:21 +00:00
Paul Gilbert
58ec3e67ef Switched event loop while/do to do/while, to ensure event handling occurs even when the game is under heavy load
svn-id: r43471
2009-08-17 11:51:42 +00:00
Paul Gilbert
86fdd698ad Added detection entry for the UK 16 colour version
svn-id: r43434
2009-08-16 12:03:48 +00:00
Johannes Schickel
02e3f31bf5 Added const qualifiers to static data.
svn-id: r43411
2009-08-15 14:59:11 +00:00
Paul Gilbert
49a4df3c8c Added Dirty Rect handling functionality
svn-id: r43406
2009-08-15 11:50:59 +00:00
Paul Gilbert
a9e55b2f91 Removed redundant code related to Midi handling
svn-id: r43171
2009-08-09 12:23:01 +00:00
Paul Gilbert
6046b8f134 Slight adjustment to Spanish font lookup table, based on mac_es's description of character lookup problems
svn-id: r43155
2009-08-09 01:45:39 +00:00
Paul Gilbert
1cf0eb1727 Bugfix to correctly reset the music tempo when loading a savegame
svn-id: r43023
2009-08-03 09:28:06 +00:00
Paul Gilbert
ef8597d806 Fix bug with the event loop that was discarding pending events rather than leaving them to be processed in the following frame
svn-id: r42965
2009-07-31 23:27:19 +00:00
Max Horn
3f673b899d Patch #2828669: CRUISE: Fix cruise compilation with mingw32ce toolchain
svn-id: r42950
2009-07-30 21:45:09 +00:00
Paul Gilbert
1fea43ab19 Added the character lookup table for the Spanish font
svn-id: r42920
2009-07-30 11:03:16 +00:00
Joost Peters
6d18ada7ef fix/workaround for cruise crash on OSX
svn-id: r42826
2009-07-26 21:06:53 +00:00
Paul Gilbert
ad7762ad16 Added a debug line to allow tracking of script execution
svn-id: r42799
2009-07-26 09:48:52 +00:00
Paul Gilbert
da4367096e Bugfix for mouse button clicks getting counted multiple times
svn-id: r42798
2009-07-26 09:40:35 +00:00
Paul Gilbert
f15eb91d77 Added a delay to the in-game menu loop to prevent 100% CPU usage
svn-id: r42795
2009-07-26 09:09:07 +00:00
Joost Peters
81b508e98a use READ_UINT16 macro
svn-id: r42780
2009-07-25 18:35:27 +00:00
Joost Peters
ddd2b29bee fix another aligned write
svn-id: r42753
2009-07-25 13:07:17 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Joost Peters
24ca40eea5 fix unaligned writes
svn-id: r42747
2009-07-25 12:28:45 +00:00
Paul Gilbert
6235f9e176 Minor tweak to prevent mouse clicks that close a user wait message also being further interpreted as a user walk destination
svn-id: r42578
2009-07-18 01:22:43 +00:00
Paul Gilbert
db81b0a185 Added an explicit break out of the event processing loop for mouse buttons and/or key-presses - this should allow stylus-based systems to properly process 'mouse down' events before the 'mouse up' is processed
svn-id: r42558
2009-07-17 05:10:24 +00:00
Paul Gilbert
324ba3703b Bugfix to cursor updates - it previously required that both X and Y positions had changed before a cursor change could occur
svn-id: r42472
2009-07-14 10:55:51 +00:00
Paul Gilbert
fb631a7f38 Bugfix for player being able to walk through some objects against room walls
svn-id: r42471
2009-07-14 10:26:56 +00:00
Paul Gilbert
f278432144 Added support for sub-relation message types - this fixes trying to attach the chain to the hook on the deck
svn-id: r42405
2009-07-12 07:23:50 +00:00
Paul Gilbert
2c96ca84f3 Added initialisation of paging screens when the game starts
svn-id: r42370
2009-07-11 05:14:42 +00:00
Paul Gilbert
99d81ac2ed Active background screens are now properly freed when the game exits
svn-id: r42369
2009-07-11 05:12:17 +00:00
Paul Gilbert
dd9b6fffff Bugfix to show the mouse cursor when restarting the game after returning to launcher
svn-id: r42368
2009-07-11 05:10:13 +00:00