Commit Graph

441 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
2990482406 TONY: Fix Valgrind warning
The loop uses _ctx->msg, so don't delete it until the loop is done.
2012-06-21 21:30:09 +02:00
Paul Gilbert
17289089e6 TONY: Fix for adding dirty rects for 8-bit RLE images 2012-06-21 22:58:58 +10:00
Strangerke
fdc619191b TONY: Translate two comments 2012-06-21 07:31:38 +02:00
Strangerke
85150232f0 TONY: Some more renaming (thanks Hkz) 2012-06-21 00:20:16 +02:00
Strangerke
2d1d6630d6 TONY: Remove useless CODEC class definition 2012-06-20 22:17:41 +02:00
Alyssa Milburn
1ee68078c1 TONY: Replace the FPStream code.
This just removes the original code and replaces it with a quickly-
written trivial implementation similar to clone2727's sfx code. It
seems to at least sort of work. :-)
2012-06-20 19:36:25 +02:00
Paul Gilbert
aa775b4497 TONY: Some bugfixes and cleanup for the music support code 2012-06-19 22:37:56 +10:00
Paul Gilbert
d2061f29be TONY: Added initialisation of FPSound fields in it's constructor 2012-06-19 22:06:30 +10:00
Paul Gilbert
9d437a26dd TONY: Fix some compiler warnings in the newly added sound code 2012-06-19 21:19:17 +10:00
Paul Gilbert
b8d5e17fef TONY: Added an extra check for shouldQuit into the main event loop 2012-06-19 21:14:56 +10:00
Paul Gilbert
61d460a854 TONY: Implement more of the music related code from the original 2012-06-19 20:50:48 +10:00
Paul Gilbert
0aa3d39cf7 TONY: Remove unused stubs for LZO compression 2012-06-18 19:56:28 +10:00
Paul Gilbert
565bf7383a TONY: Refactored the RMRect topLeft/bottomRight properties into a cleaner implementation 2012-06-18 19:50:29 +10:00
Strangerke
f2e6b46153 TONY: Rename RMFontDialog 2012-06-18 08:28:13 +02:00
Strangerke
e8a6f61f88 TONY: Remove useless void in function declaration 2012-06-18 08:24:33 +02:00
Strangerke
bb55045cc8 TONY: Rename two variables 2012-06-18 08:03:02 +02:00
Strangerke
6a7fa693ef TONY: Fix a typo in utils comments 2012-06-18 07:58:19 +02:00
Strangerke
a46b06a587 TONY: Move functions comment to doxygen format 2012-06-17 19:39:58 +02:00
Strangerke
31c0210f22 TONY: Missed one word in previous commit (thanks clone2727) 2012-06-17 18:38:34 +02:00
Strangerke
b36b666300 TONY: American-ification of English used 2012-06-17 18:36:23 +02:00
Strangerke
e36f36168d TONY: Doxygen-ify comments in sound files 2012-06-17 18:09:52 +02:00
Paul Gilbert
d24fc8b5d8 TONY: Fix memory leak in LocationPollThread 2012-06-17 17:42:29 +10:00
Paul Gilbert
9405f9eb4a TONY: Added code to load and save the ScummVM sound settings 2012-06-17 17:04:10 +10:00
Paul Gilbert
b554063d30 TONY: Moved global initialisations out of TonyEngine and into Globals class 2012-06-17 15:01:13 +10:00
Paul Gilbert
d0c6497212 TONY: Fix crash opening the Options menu in-game 2012-06-17 14:22:53 +10:00
Paul Gilbert
a91553efeb TONY: Cleaned up the @defgroup comments 2012-06-17 09:09:18 +10:00
Paul Gilbert
8335c25cb9 TONY: Fix memory leak in ActionThread if game exists whilst it is active 2012-06-17 08:45:38 +10:00
Strangerke
011b15966c TONY: Translate comments in sound.cpp 2012-06-16 23:48:16 +02:00
Strangerke
ac4567dcb6 TONY: Rename sound variables 2012-06-16 19:04:19 +02:00
Paul Gilbert
25d95bd5e3 TONY: Workaround for original game bug opening the door in the first scene
In the original, after moving to the door, the game scripts have Tony start immediately moving back to the desk. Unfortunately, they didn't realise that the _hEndOfPath event would still be briefly set from finishing the walk to the door, so the game didn't wait until Tony had reached the desk to start the conversation.
2012-06-16 22:06:11 +10:00
Strangerke
ddd1414a56 TONY: Rename sound functions and class names 2012-06-16 11:32:50 +02:00
Strangerke
638b066601 TONY: Translate some Italian terms, rename enums 2012-06-16 11:09:08 +02:00
Paul Gilbert
37f772c2d7 TONY: Bugfix for hanging after giving 'shrimp' to the parrot 2012-06-16 18:33:38 +10:00
Paul Gilbert
cdbc4aa28b TONY: Initial commit of in progress dirty rect handling 2012-06-16 10:57:35 +10:00
Strangerke
71aa08c7f0 TONY: Silent more CppCheck warnings 2012-06-15 08:42:24 +02:00
Strangerke
7c605c5f69 TONY: Silent more CppCheck warnings, remove an unused global 2012-06-15 08:23:06 +02:00
Strangerke
7951881d46 TONY: Fix three warnings reported by CppCheck in inventory (reported by eriktorbjorn) 2012-06-14 18:31:57 +02:00
Paul Gilbert
e55a16271e TONY: Removed unused global static object and associated method 2012-06-14 22:07:36 +10:00
Strangerke
d4e9aa78ab TONY: Silent more CppCheck warnings 2012-06-14 08:08:13 +02:00
Strangerke
42a322d671 TONY: Silent some CppCheck warnings 2012-06-14 00:12:45 +02:00
Paul Gilbert
746dcf33da TONY: Refactor RMPointer class to use the ScummVM CursorMan 2012-06-13 21:06:57 +10:00
Strangerke
5bafab9ad6 TONY: Translate some more Italian 2012-06-13 08:00:37 +02:00
Strangerke
876d47e17d TONY: Translate Italian enums 2012-06-12 21:42:46 +02:00
Matthew Hoops
de440e1a71 TONY: Fix looping some sounds 2012-06-12 11:35:27 -04:00
Strangerke
b828231671 TONY: Translate some more comments into English 2012-06-12 08:03:51 +02:00
Strangerke
985602a72d TONY: Rename some Italian into English 2012-06-12 00:07:50 +02:00
Strangerke
34a7c7be98 TONY: Rename a remaining variable in loc.h 2012-06-11 22:22:46 +02:00
Strangerke
5de8b7aa74 TONY: Rename variables in tonychar.h 2012-06-11 21:43:04 +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
Paul Gilbert
71329df502 TONY: Removed unused variable 2012-06-11 22:38:03 +10:00
Paul Gilbert
d20fb7480e TONY: Fix crash in the Tunnel Of Love 2012-06-11 19:22:41 +10:00
Paul Gilbert
5b5a812d37 TONY: Implemented process to properly set hEndOfBuffer when sound effects end 2012-06-11 12:20:12 +10:00
Matthew Hoops
2da2981682 TONY: Rewind sounds before playing them
Fixes sounds in the menu
2012-06-10 22:03:52 -04:00
Matthew Hoops
42f4fe359c TONY: Convert FPSFX to our mixer code
Only thing missing is the hEndOfBuffer code, but this is a good start
2012-06-10 21:23:28 -04:00
Strangerke
264721a194 TONY: Rename variables in inventory.h 2012-06-11 00:43:59 +02:00
Strangerke
7ace80b0d0 TONY: Rename variables in font.h 2012-06-11 00:34:45 +02:00
Strangerke
44ee26e6c9 TONY: Rename variables in loc.h and mpal.h 2012-06-10 23:56:37 +02:00
Strangerke
2b02a45ce1 TONY: Rename variables in globals.h 2012-06-10 22:34:08 +02:00
Paul Gilbert
f64700b27f TONY: Fixed display of static animations, and some variable renaming 2012-06-11 00:24:52 +10:00
Paul Gilbert
e37319a287 TONY: Fix data freeing in DialogStart 2012-06-10 17:56:52 +10:00
Matthew Hoops
1668a23192 TONY: Make FPSOUND work in ScummVM 2012-06-09 18:40:43 -04:00
Matthew Hoops
05340fa4ca TONY: Remove custom sound CODEC classes
We already have our own raw PCM and IMA ADPCM classes that we will use
2012-06-09 18:14:18 -04:00
Matthew Hoops
9b3df4de21 TONY: Rework the way wave files are loaded
We'll let our own sound code take care of the RIFF header
2012-06-09 18:09:54 -04:00
Matthew Hoops
060449042a TONY: Silence some gcc warnings 2012-06-09 17:31:18 -04:00
Paul Gilbert
4a3518dc92 TONY: Fix data freeing in LocationPollThread 2012-06-09 22:20:16 +10:00
Paul Gilbert
7758b1a432 TONY: Fix operation of TakeOwnership/ReleaseOwnership 2012-06-09 22:14:38 +10:00
Paul Gilbert
da39f4d758 TONY: Fix the dialogs displayed for the different function keys 2012-06-09 17:52:42 +10:00
Paul Gilbert
10621fded8 TONY: Fix some calls from globalFree to globalDestroy 2012-06-09 17:51:58 +10:00
Paul Gilbert
a50b1f32c1 TONY: Fixes for deallocating MPC and MPAL data 2012-06-09 13:05:48 +10:00
Paul Gilbert
8d6f50463e TONY: Properly free dialog commands during loading when there is duplicates 2012-06-09 12:29:34 +10:00
Paul Gilbert
5e062ce86c TONY: Properly free items during loading when there is duplicates 2012-06-09 11:57:07 +10:00
Paul Gilbert
dd8b4b519a TONY: Added more freeing of MPC data when the game ends 2012-06-09 10:44:51 +10:00
Strangerke
c52aca5ac4 TONY: Rename more globals 2012-06-09 00:52:38 +02:00
Paul Gilbert
83f1cad02b TONY: Added code to free parsed MPC file data when the game ends 2012-06-09 01:20:08 +10:00
Paul Gilbert
739983f42f TONY: Fixed sign of block identifier constant 2012-06-08 23:21:12 +10:00
Paul Gilbert
d4777379d2 TONY: Refactored the memory manager to increase performance 2012-06-08 23:00:48 +10:00
Strangerke
1866cbd0fb TONY: start renaming globals 2012-06-08 08:44:14 +02:00
Strangerke
cd15e483ed TONY: Some more renaming 2012-06-07 21:14:59 +02:00
Paul Gilbert
a7a619e1b4 TONY: Fix to correctly show the loading screen at the start of the game 2012-06-07 21:19:57 +10:00
Paul Gilbert
8f93c7be16 Merge branch 'tony' into tony 2012-06-07 20:52:57 +10:00
Strangerke
f12ab3e521 TONY: Rename variables and functions in utils.h 2012-06-07 08:42:35 +02:00
Strangerke
53bd99ce87 TONY: Rename variables and functions in loc.h and tonychar.h 2012-06-07 07:58:01 +02:00
Paul Gilbert
3a28323ba2 TONY: Added sub-folders for full English game and revised detection entry 2012-06-06 23:18:56 +10:00
Strangerke
53e38106b7 TONY: Rename variables and functions in inventory.h
That fixes the regression in the credits
2012-06-06 08:31:06 +02:00
Strangerke
f1ac5d5acd TONY: More renaming 2012-06-06 08:04:33 +02:00
Strangerke
334dc91e27 TONY: Rename variables and functions in game.h 2012-06-06 01:37:06 +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
93cba6d880 TONY: Rename variables and functions in adv.h 2012-06-05 01:15:25 +02:00
Strangerke
a5cb751f7a TONY: Rename variables and functions in gfxengine.h 2012-06-05 01:04:53 +02:00
Strangerke
014330a538 TONY: Rename variables and functions in input.h 2012-06-05 00:02:15 +02:00
D G Turner
7b547a78cc TONY: Fix english CD detection entry. 2012-06-04 22:54:53 +01:00
Strangerke
a1f6f8ceb1 TONY: Rename variables and functions in tony.h 2012-06-04 23:45:36 +02:00
Strangerke
c17af63aac TONY: Modify detection in order to use roasted.mpc too. Add French, German, Italian and Polish versions.
This also breaks the English game detection. To be fixed!
2012-06-04 22:18:50 +02:00
Paul Gilbert
b566583e32 TONY: Workaround for hang on title screen if you click with a y = 0 2012-06-03 21:16:25 +10:00
Paul Gilbert
3927d90206 TONY: Extra initialisation of globals 2012-06-02 18:37:41 +10:00
Paul Gilbert
a850eabf07 TONY: Fix memory leak when game exited whilst credits are active 2012-06-02 17:40:01 +10:00
Paul Gilbert
ea8c4960c7 TONY: Fix Valgrind warnings of checks on uninitialised variables 2012-06-02 17:15:24 +10:00
Paul Gilbert
c1e6913fed TONY: Fixed memory leaks with the Options screen 2012-06-02 17:02:07 +10:00
D G Turner
3367679ae8 TONY: Correcting full english version detection entries.
Though the CD contains installshield cabinets, these don't contain
the required datafiles. These are instead already found on the CD in
the directories named "Music", "Voices" and "Roasted".
The last of these contains the main datafiles and executables.

It appears the installshield cabinet format here is using a rare
"external" link format pointing to the files and folders on the CD.
Since the files are on the CD anyway, the "compressed" entry is not
required.

However, the detection entry is likely to need some more changes to
support detection of these in the original CD folder structure..
2012-06-02 03:10:33 +01:00
Paul Gilbert
6ecd71270d TONY: Removed redundant vdb mutex 2012-06-02 11:07:56 +10:00
D G Turner
22b4326437 TONY: Add detection entries for full english game release.
Also, now versions using uncompressed game data will be
marked with "Extracted" in the launcher detection description.
This should help in detecting any performance issues in future
bug reports from user using compressed vs. extracted game data.
2012-06-02 01:52:11 +01:00
D G Turner
be320760bd TONY: Remove TEMPORARY_DISABLED define from detection tables. 2012-06-02 01:52:10 +01:00
Paul Gilbert
01df8ae0e8 TONY: Fix compiler warning of not using a deferenced pointer 2012-06-02 10:39:00 +10:00
Matthew Hoops
6e104f0883 TONY: Add support for using the compressed version of the demo 2012-05-28 16:56:31 -04:00
Paul Gilbert
f7e515a361 TONY: Fix type casting in LetterLength method 2012-05-24 00:22:57 +10:00
Strangerke
75a0b0c629 TONY: Some more code formatting 2012-05-23 00:19:46 +02:00
Strangerke
94d3c8ebb2 TONY: Some more code formatting 2012-05-21 23:54:32 +02:00
Paul Gilbert
6856fa2447 TONY: Implemented ScummVM debugger, with an initial 'scene' command 2012-05-22 00:29:27 +10: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
7303849490 TONY: Removed redundant pause code.
The original paused the game whilst dragging the window, and ScummVM takes care of that automatically.
2012-05-21 00:11:14 +10: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
c38bbce20c TONY: Remove original header 2012-05-20 16:11:25 +10:00
Paul Gilbert
8322da03c0 TONY: Converting Italian comments to English 2012-05-20 16:05:20 +10:00
Paul Gilbert
316ca0021b TONY: Converting Italian comments to English and formatting 2012-05-20 15:45:18 +10:00
Paul Gilbert
8b9831a502 TONY: Converting Italian comments to English and formatting 2012-05-20 15:28:48 +10:00
Paul Gilbert
6f6486e589 TONY: Endian fix 2012-05-20 13:56:33 +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
Paul Gilbert
10b0451776 TONY: Converted #ifdefs for different language fonts setup
It now uses the ScummVM language from the game's detection entry, so foreign language versions like French and German should now load correctly.
2012-05-20 10:52:08 +10:00
Paul Gilbert
0136bf4a86 TONY: Fix issues with font loading and display of accented characters 2012-05-20 09:57:24 +10:00
Paul Gilbert
e76a55588a TONY: Added assert for character indexes outside provided font 2012-05-20 09:23:12 +10:00
Paul Gilbert
c402426117 TONY: Converted some warning calls to debugC 2012-05-19 20:29:53 +10:00
Paul Gilbert
f3398ee010 TONY: Formatting fixes 2012-05-19 19:55:17 +10:00
Paul Gilbert
a4a02e15b5 TONY: Converting Italian comments to English 2012-05-19 19:55:16 +10:00
Torbjörn Andersson
827454a87e TONY: Change "it's" to "its" in comments where appropriate. (I think.) 2012-05-19 11:05:57 +02:00
Paul Gilbert
8457c1c768 TONY: Removed deprecated MPAL stubs file 2012-05-19 16:57:17 +10:00
Paul Gilbert
bd064fe044 TONY: Endian fix in expression parser 2012-05-19 13:18:47 +10:00
Paul Gilbert
5d18a71045 TONY: Converting comments to English and formatting 2012-05-19 12:33:14 +10:00
Paul Gilbert
bcaeacf124 TONY: Implemented support for loading savegames directly from the launcher.
It's not perfect.. the startup screen briefly flashes, and Tony briefly disappears when you do a first action afterwards.
2012-05-18 22:57:25 +10:00
Paul Gilbert
d67a5162ad TONY: Converting method comments to DOXYGEN format 2012-05-18 21:49:08 +10:00
Torbjörn Andersson
a5a3977c90 TONY: Fix compiling with GCC 2012-05-17 14:20:04 +02:00
Paul Gilbert
7a40750671 TONY: Add a check to prevent GMM saving in the demo 2012-05-17 19:41:53 +10:00
Paul Gilbert
40926933c3 TONY: Handle translating savegame thumbnail for display in ScummVM GMM 2012-05-17 19:38:59 +10:00
Paul Gilbert
59942d9a41 TONY: Work on enabling GMM saving and loading 2012-05-17 19:38:57 +10:00
Strangerke
88762667b5 TONY: Fix some formatting 2012-05-14 21:29:27 +02:00
Paul Gilbert
d5b80688e7 TONY: Implemented list-saves and delete save functionality 2012-05-14 22:39:24 +10:00
Paul Gilbert
47ddb2ff33 TONY: Replace stubs for TakeOwnership/ReleaseOwnership with actual implementation 2012-05-14 21:06:03 +10:00
Paul Gilbert
9eb66a2324 TONY: Added endian fixes for reading data 2012-05-14 20:22:52 +10:00
Paul Gilbert
8f4694a80c TONY: Fixed suspicious casting 2012-05-14 20:22:51 +10:00
Paul Gilbert
4bf61b2f02 TONY: Fixed nasty cast in ItemIrq initialisation 2012-05-14 20:22:50 +10:00
Strangerke
099fe1e9e6 TONY: Remove original header 2012-05-14 07:43:50 +02:00
Paul Gilbert
cf3d2cd356 TONY: Removed some no longer needed FIXME's 2012-05-14 08:53:09 +10:00
Paul Gilbert
94f5a98987 TONY: Moved remaining globals to Globals class 2012-05-13 23:44:08 +10:00
Paul Gilbert
b01482bddb TONY: Further globals added to Globals class 2012-05-13 23:05:41 +10:00
Paul Gilbert
546f47ddce TONY: Beginnings of refactoring Globals into their own class 2012-05-13 22:34:40 +10:00
Paul Gilbert
35143eae09 TONY: Converted SendTonyMessage msg field from a pointer back to an object instance 2012-05-13 19:06:08 +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
089d7048b6 TONY: Bugfix for crash when removing item from inventory 2012-05-13 15:50:15 +10:00
Paul Gilbert
81e5a19d58 TONY: Fix memory leak in displaying hotspot texts 2012-05-13 10:42:03 +10:00
Paul Gilbert
7978eb007c TONY: Fixed initialisation of missed RMCharacter fields 2012-05-13 10:11:01 +10:00
Paul Gilbert
60deca7f54 TONY: Fix some more uninitialised field values 2012-05-13 09:58:07 +10:00
Paul Gilbert
c35b539716 TONY: Some further initialisation of object fields 2012-05-13 09:43:11 +10:00
Torbjörn Andersson
0a835de468 TONY: Fix compiler warning 2012-05-12 19:40:33 +02:00
Paul Gilbert
28c58a7f56 TONY: Fix unsigned comparison warning 2012-05-13 00:58:59 +10:00
Paul Gilbert
63e3b47857 TONY: Fix compiler warnings 2012-05-13 00:53:09 +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
09afc8a1fa TONY: Added FIXME for unsafe pointer conversion 2012-05-13 00:25:32 +10:00
Paul Gilbert
d615f00540 TONY: Workaround for correctly hiding items when they are disabled.
I've traced through the code, and the order seems to specifically put the object into the 'destroy me' state by calling another process/thread, but then immediately replaces the values when it returns to the calling method. This workaround at least detects when an item is supposed to be destroyed, and ensures it remains in the 'destroy me' state.
2012-05-13 00:24:53 +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
109e5f8226 TONY: Conversion of more methods to coroutines 2012-05-12 20:49:36 +10:00
Paul Gilbert
65ec900ceb TONY: Removed old extern, PASCAL, and EXPORT function modifiers 2012-05-12 11:01:20 +10:00
Paul Gilbert
435971f256 TONY: Fixed the CopyMemory stub to copy the correct number of bytes.
Tony can now leave his office without the game crashing.
2012-05-12 10:55:18 +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
166980fa4f TONY: Fix for properly signaling right button release. 2012-05-12 00:08:09 +10:00
Paul Gilbert
3a61568b6f TONY: Removed carriage returns from debug line strings 2012-05-11 23:39:32 +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
beef5fdb26 TONY: Removal of now redundant includes, and deprecated scheduler/coroutine files 2012-05-11 23:23:05 +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
82361a3ea3 TONY: Fixed some missed methods to coroutines 2012-05-11 00:09:34 +10:00
Paul Gilbert
9a7393e0c3 TONY: Fix operation of MPAL ActionThread method 2012-05-10 22:18:33 +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
26898dd7ad TONY: Completed bulk of initial coro refactoring 2012-05-09 00:42:27 +10:00
Paul Gilbert
a254f10025 TONY: Added support for Windows-style threading events to scheduler 2012-05-08 09:32:21 +10:00
Paul Gilbert
8527302057 TONY: Added support for threading events to scheduler, converted more procs to coroutines 2012-05-08 08:25:33 +10:00
Paul Gilbert
0b8974ec4a TONY: Beginnings of converting dialog processes to coroutines 2012-05-06 23:51:11 +10:00
Paul Gilbert
156d8cdb73 TONY: Bugfix for waitForSingleObject, and added action process debug information 2012-05-06 21:24:55 +10:00
Paul Gilbert
8bfc60f5c9 TONY: Refactored RMInput class to use ScummVM event loop 2012-05-06 16:39:42 +10:00
Paul Gilbert
770e55d065 TONY: Further conversion of initially launched threads to processes.
This includes all the dependent routines that they call.
2012-05-06 15:18:03 +10:00
Paul Gilbert
20a47ff7c9 TONY: Default Tony screen to 1x scaler 2012-05-06 12:55:20 +10:00
Paul Gilbert
4c8ce3bec9 TONY: Implemented Scheduler::waitForSingleObject method
This will be the coroutine version of the threading method. With this, the main menu of the demo is now shown.
2012-05-06 12:54:57 +10:00
Paul Gilbert
10deebed55 TONY: Beginnings of refactoring Tony engine's threads to use coroutines 2012-05-06 12:21:29 +10:00
Paul Gilbert
607855cfbc TONY: Formatting and endian fixes 2012-05-05 23:51:04 +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
4fc57f1349 TONY: Added some class field initialisations 2012-05-05 22:33:13 +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
fbee927c6a TONY: Fix another memory leak identified by Valgrind 2012-05-05 11:56:59 +10:00
Paul Gilbert
e0a7b42185 TONY: Fixed some more Valgrind identified memory leaks 2012-05-05 11:15:38 +10:00
Paul Gilbert
046620054f TONY: Fix some Valgrind identified memory leaks 2012-05-05 10:56:56 +10:00
Paul Gilbert
734fae9193 TONY: Fixed some memory leaks identified by Valgrind 2012-05-05 10:32:43 +10:00
Paul Gilbert
91328fce56 TONY: Fixed some more Valgrid identified errors 2012-05-05 09:56:06 +10:00
Paul Gilbert
cd41c55799 TONY: More corrections for font initislisations 2012-05-05 09:47:45 +10:00
Paul Gilbert
bff4063492 TONY: Correct some more chararcter array initialisations 2012-05-05 09:42:26 +10:00
Paul Gilbert
0b249c042f TONY: Correct some initialisation of the character arrays 2012-05-05 09:38:22 +10:00
Paul Gilbert
657d93ea8f TONY: Fix some Valgrind identified warnings 2012-05-05 09:31:21 +10:00
Paul Gilbert
3454a0a9c3 TONY: A few more compiler warning fixes 2012-05-05 00:40:23 +10:00
Paul Gilbert
fe0fa0f86b TONY: Added accidentally cut line 2012-05-05 00:35:16 +10:00
Paul Gilbert
a511b828e4 TONY: Initial fixes for some of the Valgrind reported errors 2012-05-05 00:29:44 +10:00
Paul Gilbert
5ab27cdacd TONY: Fix Valgrind identified leaks in memory allocator and dialog parsing 2012-05-04 23:38:34 +10:00
Paul Gilbert
e628da0ccc TONY: Fix some inconsistent allocation/deallocations 2012-05-04 23:20:01 +10:00
Paul Gilbert
3184a5a874 TONY: Fix warnings about return values not being used 2012-05-04 22:58:42 +10:00
Paul Gilbert
9c2ccc4f9c TONY: Further bugfixes for gcc warnings 2012-05-04 22:39:30 +10:00
Paul Gilbert
23cd3b7730 TONY: Fixed many warnings identified by gcc 2012-05-04 22:28:51 +10:00
Paul Gilbert
9482eac1f2 TONY: Some formatting fixes 2012-05-04 22:09:24 +10:00
Paul Gilbert
5498f9a0b7 TONY: Fix invalid casts and remove some unused variables 2012-05-04 22:03:03 +10:00
Paul Gilbert
557c43c2db TONY: Converted anonymous structs to have explicit names 2012-05-04 21:40:44 +10:00
Paul Gilbert
a75b873fde TONY: Added virtual destructors to classes using virtual methods 2012-05-04 21:30:45 +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
ba2711b5e3 TONY: Implemented methods of sound.cpp (mostly stubbed out) 2012-05-03 21:43:00 +10:00
Paul Gilbert
fde1f13676 TONY: Implemented stubs for Input.cpp methods 2012-05-03 13:32:09 +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
Paul Gilbert
4ec3ccaf8a TONY: Implemented other classes in game.cpp 2012-05-03 01:36:08 +10:00
Paul Gilbert
2eb9ebd8aa TONY: Implemented loc.cpp and font.cpp methods 2012-05-03 00:49:59 +10:00
Paul Gilbert
4300db9ee4 TONY: Implemented font.cpp methods 2012-05-02 23:35:32 +10:00
Paul Gilbert
bc2b944986 TONY: Added code from Inventory.cpp 2012-05-02 00:23:41 +10:00
Paul Gilbert
c831248e65 TONY: Cleanup of GfxEngine, and added RMTony class methods 2012-05-01 23:44:02 +10:00
Paul Gilbert
7d9156b12f TONY: Implemented GfxEngine code 2012-05-01 23:00:03 +10:00
Paul Gilbert
68bcaa61b9 TONY: More header files and functionality added 2012-04-30 23:16:19 +10:00
Paul Gilbert
b0eef82972 TONY: Added include files for graphics engine and all dependent classes 2012-04-30 09:27:12 +10:00
Paul Gilbert
118f5ca010 TONY: Implemented RMGameBoxes class and all dependent classes 2012-04-29 23:22:24 +10:00
Torbjörn Andersson
4784367deb TONY: Remove __stdcall to make it build on Linux 2012-04-29 08:44:15 +02:00
Paul Gilbert
dd89597f88 TONY: Added voice database initialisation, as well as stubs for music init 2012-04-29 11:23:02 +10:00
Paul Gilbert
f21bfe1c41 TONY: Added resource update manager 2012-04-29 11:01:40 +10:00
Paul Gilbert
40680deaa5 TONY: Removed deprecated lzo/stubs.o from makefile 2012-04-29 10:49:14 +10:00
Paul Gilbert
a2c4b4ca68 TONY: LZO decompression now working correctly 2012-04-29 10:16:56 +10:00
Paul Gilbert
ff71cda424 TONY: Further work on LZO integration 2012-04-29 09:18:06 +10:00
Torbjörn Andersson
f0d4b200d7 TONY: Change backslash to slash
I assume slash works in Windows (since we use it in other engines),
and I know backslash doesn't work in Linux because it failed for me.
2012-04-27 00:35:53 +02:00
Paul Gilbert
f955745ebf TONY: Extra compilation changes and stubs so core MPAL code compiles 2012-04-27 01:32:46 +10:00
Paul Gilbert
637be83cf5 TONY: Start of work converting over MPAL sub-system 2012-04-26 09:43:55 +10:00
Paul Gilbert
7003d4996a TONY: Imported mpal.h file, and translated the comments 2012-04-25 17:06:26 +10:00
Paul Gilbert
bc08a919d2 TONY: Created skeleton engine 2012-04-25 12:49:49 +10:00