Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn b3a07754e2 whitespace
svn-id: r45794
2009-11-09 23:50:19 +00:00
Max Horn be0e94f4cd Indention
svn-id: r45793
2009-11-09 23:33:05 +00:00
Max Horn fc1758f33b SDL: Factor code from OSystem_SDL::pollEvent into various new virtual methods, to make it easier to customize these (no code indention changes for easier diffing)
svn-id: r45792
2009-11-09 23:31:46 +00:00
Max Horn 9d816caf56 SDL: Make first param of OSystem_SDL::remapKey const
svn-id: r45791
2009-11-09 23:29:33 +00:00
Vladimir Menshakov a1496515ce more fixes for chapter 3.
svn-id: r45790
2009-11-09 23:22:35 +00:00
Vladimir Menshakov 1c5d8849ab fixed rendering order again
svn-id: r45789
2009-11-09 23:22:10 +00:00
Max Horn 49c443149f WINCE: Formatting fixes; added a FIXME to OSystem_WINCE3::checkOggHighSampleRate
svn-id: r45788
2009-11-09 23:11:00 +00:00
Max Horn b3c3222c23 TINSEL: cleanup
svn-id: r45787
2009-11-09 22:21:23 +00:00
Max Horn 53d0bcd594 SCI: Remove remarks about in-place loading, at least for now.
Not loading in-place has the advantage that it allows to cleanly
cancel loading a savesate, e.g. if we detect a defect during
loading. This is much harder (if not impossible) to achieve if
loading in-place. So I'd prefer if we took advantage of this.
Right now, though, we don't.

svn-id: r45786
2009-11-09 22:20:59 +00:00
Max Horn 1497c4120e TINSEL: Mark all functions in dialogs.cpp explicitly as public (=extern) or private (=static)
svn-id: r45785
2009-11-09 22:20:25 +00:00
Max Horn 80b8d0af65 TINSEL: Make some const tables static; move static int priorVolMusic into SetMidiVolume to reduce its scope
svn-id: r45784
2009-11-09 22:19:54 +00:00
Max Horn 10b8741c8b TINSEL: Simplifying PolyTinselProcess
svn-id: r45783
2009-11-09 22:19:21 +00:00
Max Horn 2bb7476a20 TINSEL: Add EnablePointing() & DisablePointing() to pdisplay.h; turn DisablePointing from a coroutine into a plain function
svn-id: r45782
2009-11-09 22:18:25 +00:00
Vladimir Menshakov 69b4d020fe chapter 2 completed
svn-id: r45781
2009-11-09 21:34:01 +00:00
Vladimir Menshakov 6e0a8895a2 added special case of loadScene
svn-id: r45780
2009-11-09 21:26:07 +00:00
Paweł Kołodziejski 46ef23a7b9 disable hardware surface, for some unknown for me reason it broke drawing engine cursor
svn-id: r45779
2009-11-09 17:51:20 +00:00
Willem Jan Palenstijn ecaa7a3fe7 Fix compilation on unix
svn-id: r45778
2009-11-09 15:13:59 +00:00
Paweł Kołodziejski 4c2491df3b added support for samsung tv
svn-id: r45777
2009-11-09 14:43:05 +00:00
Paweł Kołodziejski 9290966e27 added samsung tv backend
svn-id: r45775
2009-11-09 14:29:53 +00:00
Vladimir Menshakov 005624a2a6 more fixes
svn-id: r45774
2009-11-09 08:23:56 +00:00
Vladimir Menshakov e9f2f2b291 do not trigger examine object while inventory is inactive
svn-id: r45773
2009-11-09 08:23:19 +00:00
Vladimir Menshakov dfc4dc6d85 added 'ignore' flag, ported guard and anchor challenges to it. minor fixes
svn-id: r45772
2009-11-09 07:58:27 +00:00
Robert Špalek ed348133d1 GPL2 callbacks accept const Array& instead of Queue&
svn-id: r45771
2009-11-09 04:27:08 +00:00
Vladimir Menshakov 99b68b3a13 fixed boat bug
svn-id: r45770
2009-11-08 23:56:06 +00:00
Vladimir Menshakov 83713e92fa implemented drinking guard time challenge
svn-id: r45769
2009-11-08 23:32:01 +00:00
Robert Špalek 8edfd6b56c Updated the list of TODOs
svn-id: r45768
2009-11-08 22:48:27 +00:00
Vladimir Menshakov ea0b2a8cb8 implemented mouse-rock-glue time challenge
svn-id: r45767
2009-11-08 22:37:03 +00:00
Vladimir Menshakov 79409d8ef1 more improvements, added setTimerCallback()
svn-id: r45766
2009-11-08 21:59:26 +00:00
Robert Špalek b257892387 Removed almost all TODOs from the header files
svn-id: r45765
2009-11-08 21:49:40 +00:00
Robert Špalek e9c6fd5e39 Fixed aligning items in the inventory
svn-id: r45764
2009-11-08 21:44:30 +00:00
Robert Špalek 99037380ee Removed old hack for cyclic animations.
This makes the hero's walk even smoother.

svn-id: r45763
2009-11-08 21:35:19 +00:00
Robert Špalek abbb3dccd7 Items put into inventory are placed correctly.
Also, named correctly GPL2 parameter types.

This fixes all FIXMEs

svn-id: r45762
2009-11-08 21:26:04 +00:00
Vladimir Menshakov d5bff15b22 added set_ons command to console
svn-id: r45761
2009-11-08 21:22:32 +00:00
Vladimir Menshakov 276ee4a4f8 fixed more village glitches
svn-id: r45760
2009-11-08 20:53:55 +00:00
Vladimir Menshakov fac5aeafbd fixed wrong debug output
svn-id: r45759
2009-11-08 20:38:04 +00:00
Vladimir Menshakov 63c6918a8c clear current_event only on async messages
svn-id: r45758
2009-11-08 20:37:33 +00:00
Vladimir Menshakov 1477c85697 fixed typo
svn-id: r45757
2009-11-08 20:01:07 +00:00
Vladimir Menshakov 54d163c966 implemented async messages (some animation requires it), added custom positioning.
svn-id: r45756
2009-11-08 20:00:31 +00:00
Vladimir Menshakov c1b1d42b87 removed font::color, added debugger console with enable_object/disable_object commands.
svn-id: r45755
2009-11-08 19:11:57 +00:00
Vladimir Menshakov 778e1830bb adding proper dialog colors, various fixes.
svn-id: r45754
2009-11-08 19:10:24 +00:00
Robert Špalek 121baa2660 Fix running clearing IsReloaded().
Currently, if gate programs used loop(), they exitted immediately due to not
having cleared this flag.

svn-id: r45753
2009-11-08 18:55:41 +00:00
Johannes Schickel f8ab3f866e Silence gcc warning by putting parentheses around an && expression nested in an || expression.
svn-id: r45752
2009-11-08 18:55:18 +00:00
Vladimir Menshakov 99bd90cfac removed noisy debug message
svn-id: r45751
2009-11-08 11:04:48 +00:00
Vladimir Menshakov 4e662b22ca restart default animation in the slot after custom animation has ended.
svn-id: r45750
2009-11-08 11:04:22 +00:00
Robert Špalek 75bbe04280 Fix enabling mouse cursor when entering a room.
It used to have a wrong palette.

svn-id: r45749
2009-11-08 06:56:30 +00:00
Robert Špalek 4341a36641 Implement QuickHero walking.
Pressing Q during the game enables/disables faster walking; all animation
phases are flipped after one refresh instead of after given delay.

svn-id: r45748
2009-11-08 06:46:24 +00:00
Robert Špalek a4393d46b2 Do not immediately clear the path when it has just 1 vertex.
This fixes the previous bugfix, which causes that I could not re-run the same
program (e.g., by repeatedly clicking on the hollow tree) if the hero did not
move at least one pixel.

svn-id: r45747
2009-11-08 06:30:10 +00:00
Robert Špalek 5c8aa6ee91 Fixed mistake with two inner loop caused by not clearing the path.
Also, optimize play() and stop()

svn-id: r45746
2009-11-08 06:16:25 +00:00
Robert Špalek bea00d86cb Tuned Z-coordinate of the dragon.
Adding +1 made the dragon sometimes flip before an object when it should
have been behind.

svn-id: r45745
2009-11-08 05:47:39 +00:00
Robert Špalek 0640b5e402 Renumbered path segments.
Increasing _segment by 1 makes the code much simpler.

svn-id: r45744
2009-11-08 05:44:50 +00:00