Commit Graph
1310 Commits
Author SHA1 Message Date
Eugene Sandulenko 677947ed39 Make blinking lights work
svn-id: r28856
2007-09-05 19:36:13 +00:00
Eugene Sandulenko c5d18bf020 Move static variables to class.
svn-id: r28855
2007-09-05 19:35:30 +00:00
Filippos Karapetis 5a97b3d9be Some updates for Mickey:
- Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west)
- waitAnyKey has been moved into Mickey's code (because of the animation part)
- Implemented the circle flag for AGI picture decoding

svn-id: r28853
2007-09-05 15:43:56 +00:00
Eugene Sandulenko 0d279e8de0 - Replace plotPattern() function with one based on specs.
- Add PreAGI differences to plotPattern function.
- This effectively fixes Mickey title.

svn-id: r28850
2007-09-04 11:20:42 +00:00
Filippos Karapetis 7389396a7f The mouse cursor is now visible in Mickey. Also, the enter key on the keypad works now. Some cleanup
svn-id: r28849
2007-09-04 06:54:40 +00:00
Filippos Karapetis b555a15697 Some updates for Mickey: objects are shown now (though still incorrectly), implemented some incomplete code for the ship's blinking lights, implemented the scene animation function
svn-id: r28848
2007-09-03 15:03:50 +00:00
Max Horn 750ad32030 Fix warning about unused static function
svn-id: r28847
2007-09-03 12:23:50 +00:00
Max Horn 3c2994f72b Make static data tables const (helps the optimizer a bit)
svn-id: r28846
2007-09-03 12:23:19 +00:00
Filippos Karapetis 5e1a10c070 Some more updates to Mickey's sound system
svn-id: r28845
2007-09-03 10:25:48 +00:00
Filippos Karapetis 51554b6f20 Some updates to preagi's sound system and code cleanup
svn-id: r28844
2007-09-03 09:39:15 +00:00
Matthew Hoops 5a5e994e4f make Mickey use the SaveFileManager for saving/loading
svn-id: r28843
2007-09-03 01:55:56 +00:00
Filippos Karapetis 30c479a7e4 Cleanup
svn-id: r28842
2007-09-03 01:49:24 +00:00
Matthew Hoops d2d8ab7d18 fix warning
svn-id: r28841
2007-09-03 01:36:55 +00:00
Filippos Karapetis 7faa389525 Some updates to Mickey's sound system and code cleanup
svn-id: r28840
2007-09-03 01:33:17 +00:00
Matthew Hoops 339e9cf173 fix flashScreen
svn-id: r28839
2007-09-03 01:29:10 +00:00
Filippos Karapetis 39de6091e2 Implemented clearRow for preagi games. Mickey save games should work now. Some code cleanup
svn-id: r28838
2007-09-03 00:47:51 +00:00
Filippos Karapetis 314d7c1736 Implemented clearScreen() for preagi games
svn-id: r28837
2007-09-02 23:25:39 +00:00
Filippos Karapetis 2dd4f61b5e Text in Mickey is shown correctly now. Also, removed an obsolete function declaration of PutPixel()
svn-id: r28835
2007-09-02 22:47:53 +00:00
Filippos Karapetis f075661221 Image placement in Mickey is correct now
svn-id: r28834
2007-09-02 22:45:02 +00:00
Filippos Karapetis cb2ce51236 Renamed preagi_input.cpp to preagi_common.cpp, as it now contains the code that all preagi games share (commit 2 of 2)
svn-id: r28832
2007-09-02 21:36:43 +00:00
Filippos Karapetis f50bdd1aa8 Moved preagi common code to a more appropriate place (commit 1 of 2)
svn-id: r28831
2007-09-02 21:31:51 +00:00
Filippos Karapetis 7909ce3986 Removed rand() and substituted it with Common::RandomSource
svn-id: r28825
2007-09-02 15:19:20 +00:00
Matthew Hoops 957e421bfa fix more warnings
svn-id: r28822
2007-09-02 13:50:26 +00:00
Filippos Karapetis 7c92d3b02b Slight update on Mickey's drawPic
svn-id: r28821
2007-09-02 13:44:37 +00:00
Matthew Hoops f3ae0182e0 fix a warning and some code formatting
svn-id: r28820
2007-09-02 13:44:23 +00:00
Filippos Karapetis b4d77e60cf The dimensions of the picture resources in preagi games is different for each game. Mickey's pictures are shown correctly now
svn-id: r28819
2007-09-02 13:23:07 +00:00
Filippos Karapetis 762aaca73b The picture files in Mickey have a different width
svn-id: r28818
2007-09-02 12:56:55 +00:00
Travis Howell ae007b49e0 Fix compile.
svn-id: r28814
2007-09-02 02:37:18 +00:00
Filippos Karapetis afac94340a Some more updates to preagi string drawing function
svn-id: r28813
2007-09-02 02:25:13 +00:00
Filippos Karapetis 2182d758d0 Initial implementation of preagi string drawing functions. They still need work, though
svn-id: r28812
2007-09-02 01:45:59 +00:00
Filippos Karapetis 38c21d6539 Merged all the different picture decoding functions
svn-id: r28811
2007-09-02 00:49:03 +00:00
Filippos Karapetis 1a85c98598 Implemented the rnd() function. Some cleanup to remove unneeded functionality
svn-id: r28810
2007-09-01 23:30:37 +00:00
Eugene Sandulenko fae7dcadbd Fix regression
svn-id: r28809
2007-09-01 23:02:36 +00:00
Eugene Sandulenko 41e72bfaaf Fix fallback detector
svn-id: r28808
2007-09-01 21:22:26 +00:00
Eugene Sandulenko 19fde8da20 Fix compilation and warnings.
svn-id: r28801
2007-09-01 19:03:22 +00:00
Filippos Karapetis 9db1525e50 Added WIP logic code for Mickey's Space Adventure
svn-id: r28800
2007-09-01 18:46:55 +00:00
Eugene Sandulenko 554cff0384 GIve some files more logical names
svn-id: r28791
2007-09-01 17:28:15 +00:00
Eugene Sandulenko 7f08865ec5 An early WIP of PreAGI (TrollVM) support
svn-id: r28787
2007-09-01 14:58:46 +00:00
Eugene Sandulenko ce71254b9f Add older picture formats parsers
svn-id: r28784
2007-09-01 11:39:51 +00:00
Kari Salminen a4780a8f82 Fix relative pitch handling (It's signed, was interpreted as unsigned before).
svn-id: r28759
2007-08-28 10:41:25 +00:00
Kari Salminen c2c9ab9a22 An encountered zero in an Apple IIGS sample stream turns off looping for that stream. Implemented this.
svn-id: r28688
2007-08-21 15:51:28 +00:00
Kari Salminen 55896e7584 Added note of clarification on enum AgiSoundType's different values.
svn-id: r28684
2007-08-21 09:12:00 +00:00
Kari Salminen ef0bd468a2 Made Apple IIGS MIDI file parsing work (They aren't completely standard MIDI files). Enables playing the MIDI files (No sound! Only stepping through). Speed's probably not correct.
svn-id: r28674
2007-08-19 23:57:12 +00:00
Kari Salminen 42e257b08d Removed superfluous variable checkings. Made it so that Apple IIGS mixing code doesn't try to mix MIDI sounds yet as mixing them isn't yet supported.
svn-id: r28673
2007-08-19 23:33:22 +00:00
Kari Salminen 72fd923cf5 Fixes previously crashing sound. Crash happened because of PCjr 4-channel mixing code trying to use uninitialized values (phase, ins etc) when mixSound was called before anything was playing.
svn-id: r28672
2007-08-19 23:28:38 +00:00
Max Horn 5b711795d0 Some cleanup / const correctness / OOfication
svn-id: r28671
2007-08-19 20:48:11 +00:00
Max Horn df9414c9a1 Fixed warning about global symbol 'chn' being shadowed by local declaration 'chn' (note: naming a global var 'chn' is probably a bad idea. And using a class would be far better anyway ;)
svn-id: r28669
2007-08-19 20:31:15 +00:00
Kari Salminen a777b3e64f Changed Apple IIGS sample playing frequency multiplier from 1076.0 to C6 (i.e. about 1046.5). Commented out a warning that comes too often.
svn-id: r28657
2007-08-18 15:54:29 +00:00
Kari Salminen d862dc430d Added support for playing Apple IIGS samples. The code's not very pretty at the moment (Work in progress). Apple IIGS MIDI sound probably broken somehow at the moment.
svn-id: r28656
2007-08-18 12:41:24 +00:00
Kari Salminen aa8db3f74f Added a definition for Apple IIGS sound emulation mode, made sound initialization set it when appropriate and instruments loading use it.
svn-id: r28647
2007-08-17 13:10:57 +00:00