Commit Graph

59 Commits

Author SHA1 Message Date
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
21cd277f13 Fixed some GCC warnings
svn-id: r33647
2008-08-05 21:38:59 +00:00
Christopher Page
7f480ac571 Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
3beccaf115 PreAGI works with the new GMM implementation
svn-id: r32956
2008-07-08 01:33:57 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Filippos Karapetis
05b28340bf Cleanup and simplification
svn-id: r30405
2008-01-11 10:59:43 +00:00
Filippos Karapetis
5a652c9471 Don't show help when the alt or shift keys are pressed
svn-id: r30404
2008-01-11 10:20:31 +00:00
Filippos Karapetis
1603afe632 Cleanup and simplification
svn-id: r30403
2008-01-11 09:52:06 +00:00
Filippos Karapetis
32a3b60167 Save game header is 32 bits, not 16
svn-id: r29819
2007-12-10 20:19:53 +00:00
Filippos Karapetis
f625562aff Oops, fixed some problems with the last commit
svn-id: r29817
2007-12-10 18:57:17 +00:00
Filippos Karapetis
dd2386cde4 It's now possible again to import saved games from the original interpreter of Winnie the Pooh
svn-id: r29816
2007-12-10 18:51:48 +00:00
Filippos Karapetis
3980bd73ea Saving and loading in Winnie the Pooh should now be endian and alignment safe. Note that this breaks older saved games and it's no longer possible to use saved games from the original game interpreter
svn-id: r29771
2007-12-08 18:25:00 +00:00
Filippos Karapetis
a08b6606a6 Add a debug console in Winnie (patch by clone2727)
svn-id: r29215
2007-10-13 23:48:59 +00:00
Matthew Hoops
d5f83fbcde objects now work in Winnie C64
svn-id: r29095
2007-09-24 23:28:23 +00:00
Matthew Hoops
5788598f10 allow Winnie Apple II to start up, however room images are slightly distorted and the intro is not shown; other cleanup
svn-id: r29090
2007-09-24 19:37:57 +00:00
Matthew Hoops
e1213945d6 fix regression in the inventory from r28995
svn-id: r29084
2007-09-24 01:46:42 +00:00
Matthew Hoops
e37049cd2f ok, really get rid of "object 41" now -- didn't realize that the rnd function in preagi already adds 1... (DrMcCoy: I guess there was an object 42 before as well)
svn-id: r29083
2007-09-24 01:27:22 +00:00
Eugene Sandulenko
7da28f6129 Rename class variables to conform our coding guidelines.
svn-id: r29059
2007-09-23 17:00:35 +00:00
Filippos Karapetis
4a8dc7aa68 Cleanup. Also, changed isBigEndian to be a boolean
svn-id: r29054
2007-09-23 16:32:03 +00:00
Eugene Sandulenko
c4ad96b91e Add Tigger and Mist events implementation
svn-id: r29052
2007-09-23 15:09:48 +00:00
Matthew Hoops
35a3f9c9ac objects now work in Winnie Amiga
svn-id: r29051
2007-09-23 13:47:50 +00:00
Eugene Sandulenko
9d26f30929 Fix regression
svn-id: r29050
2007-09-23 13:40:28 +00:00
Matthew Hoops
4e0913b19f changes for Winnie Amiga (now playable) and C64
svn-id: r29049
2007-09-23 12:31:21 +00:00
Eugene Sandulenko
fe2f83efce More endianness and alignment fixes
svn-id: r29048
2007-09-23 12:25:44 +00:00
Eugene Sandulenko
67d728a258 Make readRoom() truly alignment- and endian-safe
svn-id: r29046
2007-09-23 12:02:34 +00:00
Filippos Karapetis
d82fa2a65b Fixed some platform checks
svn-id: r29044
2007-09-23 11:20:44 +00:00
Matthew Hoops
352566ee64 allow Winnie C64 to start, although there are problems with the images (probably wrong offset) and logo.pic/intro.pic are not working, so the intro is skipped
svn-id: r29037
2007-09-23 02:15:48 +00:00
Matthew Hoops
f45cf700d8 randomize() can no longer create "object 41" -- there is no object 41, and when we attempt to draw it, it can cause crashes
svn-id: r29036
2007-09-23 00:27:36 +00:00
Matthew Hoops
110da1b1cf readRoom is now Endian-safe
svn-id: r29035
2007-09-23 00:12:07 +00:00
Matthew Hoops
62f69cff8a fix possible Endian issue
svn-id: r29033
2007-09-22 23:39:47 +00:00
Matthew Hoops
998d43df30 allow Winnie Amiga to show room images, still not playable
svn-id: r29032
2007-09-22 23:36:00 +00:00
Matthew Hoops
b4ed831666 some cleanup involving Winnie Amiga, however it still only shows the intro
svn-id: r29027
2007-09-22 20:16:24 +00:00
Matthew Hoops
f371e98f98 allow Winnie Amiga to show the intro
svn-id: r29023
2007-09-22 17:56:23 +00:00
Matthew Hoops
3d4f10a302 cleanup with updating the screen; mostly moved to gameLoop
svn-id: r28995
2007-09-20 22:15:09 +00:00
Matthew Hoops
b07d3419d7 add stub for playSound in Winnie
svn-id: r28994
2007-09-20 22:05:37 +00:00
Matthew Hoops
9ae47673e0 cleanup to readObj and readRoom
svn-id: r28993
2007-09-20 21:55:37 +00:00
Matthew Hoops
f5511b3102 some cleanup using malloc and with readObj
svn-id: r28975
2007-09-19 22:29:14 +00:00
Eugene Sandulenko
2254028365 Merge several choice-related functions
svn-id: r28967
2007-09-19 09:54:42 +00:00
Filippos Karapetis
a89694c0d6 Moved some keyboard code from Winnie together with the other keyboard functions
svn-id: r28965
2007-09-19 08:27:32 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Eugene Sandulenko
13a73a70b6 WIP for Troll's Tale
svn-id: r28939
2007-09-18 16:20:44 +00:00
Matthew Hoops
8158f3f353 cleanup the intro of Winnie
svn-id: r28896
2007-09-12 22:17:08 +00:00
Matthew Hoops
c1c7b5f563 PreAGI does not need an AGI resource loader, as it only needs to load pictures and doesn't use directories. So, this allows Winnie to decode pictures without using the loader
svn-id: r28893
2007-09-11 20:09:39 +00:00
Filippos Karapetis
a86ad9688a It's now possible to move around in Winnie using the mouse, by clicking on the appropriate direction (north, south, east or west)
svn-id: r28883
2007-09-09 23:13:35 +00:00
Filippos Karapetis
c5989f098d Mouse is working now in Winnie. Click to move functionality still not completed, though
svn-id: r28882
2007-09-09 15:33:00 +00:00
Filippos Karapetis
25cea17c0b Silence some MSVC8 warnings
svn-id: r28881
2007-09-09 15:28:26 +00:00
Matthew Hoops
89bbbe53ac wind and owl's help works in Winnie
svn-id: r28876
2007-09-07 20:47:31 +00:00