Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel 15662b3cfb Print warning, when client code does try to draw an unsupported SJIS char.
svn-id: r42817
2009-07-26 14:18:06 +00:00
Johannes Schickel ebc74a7c9b Add a factory method, which tries to open different SJIS fonts/ROMs and returns a font for the first present data.
svn-id: r42816
2009-07-26 14:17:54 +00:00
Johannes Schickel cb960ad976 Change the way the font data for SJIS fonts is load.
svn-id: r42815
2009-07-26 14:17:40 +00:00
Johannes Schickel 0a03ae8265 Change KYRA to use our SJIS font, when it's available.
svn-id: r42814
2009-07-26 14:17:21 +00:00
Johannes Schickel 0a612f40eb Add support for our custom SJIS font.
svn-id: r42813
2009-07-26 14:17:06 +00:00
Johannes Schickel 712e0c80ea Create base class FontSJIS16x16 for our own SJIS font.
svn-id: r42812
2009-07-26 14:16:51 +00:00
Sven Hesse 997f7b9a3b Reverting my fix for bug #2037158 ("In-Game animation shifted(?)"), because it breaks Woodruff's intro
svn-id: r42809
2009-07-26 13:50:18 +00:00
John Willis 3fb1b79018 Virtual Keyboard: Update default keyboard pack using slightly tweaked versions of the graphics very kindly provided by Carl Mitchell. Also update xml file to make best use of the keyboard graphics and add the 'delete' event in addition the passing backspace back to the calling textarea.
svn-id: r42807
2009-07-26 12:58:22 +00:00
Torbjörn Andersson f11435bb6d 78 bytes isn't enough for some of the longer conversation options. 128 might
not be enough either, but at least it fixes bug #2827170 ("DRASCULA:
Conversation error").

svn-id: r42801
2009-07-26 10:10:08 +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
Nicola Mettifogo 83c8679127 Moved parser functions arrays to file scope, as they were tripping up the obsolete gcc used for the BeOS/Haiku port. If anybody can work out a better solution please apply it, because this makes me sick.
svn-id: r42793
2009-07-26 08:37:03 +00:00
Johannes Schickel 5870635ba6 Formatting.
svn-id: r42792
2009-07-26 07:07:35 +00:00
Paul Gilbert dc3d0549ff Fixed compilation from file changes to common and gob engine
svn-id: r42791
2009-07-26 00:31:28 +00:00
Paul Gilbert 8e60e31db3 Changed the events.cpp file to EventDispatcher.cpp, to avoid MSVC name clashes with sdl/events.cpp
svn-id: r42790
2009-07-26 00:27:32 +00:00
Denis Kasak 2525ec46de * Removed friend declarations in Drawable for Sprite and Text, and made Drawable's private members protected so they can access them
* Added Text::drawScaled() and altered Text::getRect() so Text instances can be accessed through a Drawable pointer. Scaling text is planned for later because it's not essential.

svn-id: r42789
2009-07-26 00:04:12 +00:00
Denis Kasak 3f571c7eae Handled the '|' char correctly when drawing text (it serves as both a newline and end-of-string marker).
svn-id: r42788
2009-07-25 23:43:21 +00:00
Willem Jan Palenstijn 45cde5f642 Add optional readline support to the text debugger console.
Make text/graphical console selectable with an option to configure.

svn-id: r42787
2009-07-25 23:36:24 +00:00
John Willis 037c02a1f7 GP2X Backend: Volume control code cleanup.
svn-id: r42785
2009-07-25 19:07:28 +00:00
Sven Hesse 32d74a2247 Adding more sanity checks to Vmd::renderFrame()
svn-id: r42783
2009-07-25 18:44:24 +00:00
Sven Hesse 8d9e3de37c Adding support for (new-style) stereo in DPCM audio
svn-id: r42782
2009-07-25 18:44:06 +00:00
Joost Peters 81b508e98a use READ_UINT16 macro
svn-id: r42780
2009-07-25 18:35:27 +00:00
Denis Kasak 20a744bdd2 Simplified rectangle height and width calculation in Sprite::drawScaled() (use methods of Common::Rect instead of doing it manually).
svn-id: r42779
2009-07-25 18:33:20 +00:00
Denis Kasak 6970e178dc Replaced magic constant with enum kWalkingMapOverlay.
svn-id: r42778
2009-07-25 18:29:43 +00:00
Torbjörn Andersson 7d238d8779 Make sure that "buf" is properly terminated. Actually, we could probably get
rid of "buf" completely, and replace it with face = syncChar[p] - '0', assuming
that syncChar only contains digits. But for now, let's make a minimal change.
This might fix bug #2826611 ("DRASCULA: Crash when smashing church window").

svn-id: r42776
2009-07-25 17:48:51 +00:00
Johannes Schickel 1ebcec73bf Implement missing bits in KyraEngine_HoF::setCauldronState.
svn-id: r42773
2009-07-25 16:37:25 +00:00
Johannes Schickel 495d93de1e Fix palette regression in Kyra2.
svn-id: r42771
2009-07-25 16:34:01 +00:00
Sven Hesse 6de1975b65 Fixing Woodruff videos again after enabling block type 2 transparency
svn-id: r42768
2009-07-25 16:09:19 +00:00
Sven Hesse b956c707f4 Moved the decision whether subtitles should be displayed, so that the broken subtitles in The Last Dynasty aren't shown
svn-id: r42767
2009-07-25 16:08:31 +00:00
Sven Hesse edab6f2d7f Added a workaround to fix the Last Dynasty video greenness for now
svn-id: r42766
2009-07-25 16:07:29 +00:00
Johannes Schickel 581ed45590 Adept savegame name creation code to use Common::String::printf.
svn-id: r42765
2009-07-25 15:31:11 +00:00
Johannes Schickel f8e050fbc2 Yet another fix for the GP2x backend.
svn-id: r42761
2009-07-25 14:09:58 +00:00
Johannes Schickel 0927bec015 Fix gp2x port building.
svn-id: r42759
2009-07-25 13:23:51 +00:00
Torbjörn Andersson 0e2c8b9be5 Don't hog the CPU while waiting for the player to pick a conversation option.
svn-id: r42757
2009-07-25 13:17:31 +00:00
Torbjörn Andersson 2e13d89233 Added word-wrapping to Drascula's conversation options. Fixes bug #2826607.
svn-id: r42755
2009-07-25 13:07:50 +00:00
Joost Peters ddd2b29bee fix another aligned write
svn-id: r42753
2009-07-25 13:07:17 +00:00
Johannes Schickel fa4903f19c Strip trailing whitespaces.
svn-id: r42752
2009-07-25 13:00:09 +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 6d1a386471 remove implicit SoundDigital::Sound ctor call, which is redundant because the required initialisation is done below -- this fixes a linker error with mipspro
svn-id: r42748
2009-07-25 12:41:46 +00:00
Joost Peters 24ca40eea5 fix unaligned writes
svn-id: r42747
2009-07-25 12:28:45 +00:00
Eugene Sandulenko a69b4d60fc Formatting
svn-id: r42746
2009-07-25 10:37:20 +00:00
Willem Jan Palenstijn e408870260 Use new Common::String::printf
svn-id: r42744
2009-07-25 10:26:17 +00:00
Willem Jan Palenstijn 744112ceb0 Add Common::String::printf to format a string
svn-id: r42743
2009-07-25 10:25:57 +00:00
Max Horn 4463e1c084 Whitespace fixes
svn-id: r42742
2009-07-25 09:36:16 +00:00
Travis Howell 27efb99ae8 Whitespace changes.
svn-id: r42740
2009-07-25 07:17:37 +00:00
Torbjörn Andersson b92477f6ab Fixed GCC warnings.
svn-id: r42739
2009-07-25 06:55:28 +00:00
Travis Howell 93806dae8b Update credits.
svn-id: r42738
2009-07-25 06:36:41 +00:00
Travis Howell c02ad3b7bf Add patch #2821100 - MM C64 Objects / Verb fixes, with minor clean up applied.
svn-id: r42737
2009-07-25 06:27:41 +00:00
Travis Howell 41ef4938ac Add patch #2816140 - MM C64 Costume Animation.
svn-id: r42736
2009-07-25 05:39:57 +00:00