Littleboy
b694a78f62
ANALYSIS: Add static casts to is* functions
...
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
Max Horn
d74e2d3224
KYRA: Replace vsprintf by Common::String::vformat
2011-06-18 01:36:16 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Johannes Schickel
7d03da14cb
KYRA: Clean up of header includes.
2011-04-28 15:39:57 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
2d1c8a3533
ALL: Fix whitespaces / indention
...
svn-id: r55818
2011-02-07 23:01:06 +00:00
Johannes Schickel
feff6fecdf
KYRA: Cleanup.
...
svn-id: r52340
2010-08-24 13:41:24 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
c8470e1d89
Use Common::KEYCODE_* instead of ASCII values for keycode comparison.
...
svn-id: r48079
2010-02-17 16:18:23 +00:00
Johannes Schickel
f4288516e8
Revert commits r44912 and r44905, seems like the original FM-Towns/PC98 games did only allow ASCII input, thus they didn't use the SJIS font in the save/load menus.
...
svn-id: r44916
2009-10-11 12:51:13 +00:00
Johannes Schickel
6e93add43f
Cleanup.
...
svn-id: r44906
2009-10-11 11:30:24 +00:00
Johannes Schickel
8f6e9f0bf2
Fix FM-Towns/PC98 menu code.
...
svn-id: r44905
2009-10-11 11:29:34 +00:00
Florian Kagerer
45fda46cf3
KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
...
- fixed some minor bugs
svn-id: r44709
2009-10-06 17:22:40 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Johannes Schickel
b8c7237d12
Cleanup: got rid of Screen::ShadeType.
...
svn-id: r44487
2009-09-30 14:53:34 +00:00
Florian Kagerer
25429b6605
LOL: fixed bug in delete menu code
...
svn-id: r43991
2009-09-06 17:04:58 +00:00
Johannes Schickel
4673e94c6f
- Fix sluggish mouse movement in Kyra2/Kyra3/LoL main menu.
...
- Fix sluggish mouse movement in the text input dialog of the GUI.
svn-id: r43541
2009-08-19 16:48:55 +00:00
Johannes Schickel
19d5aa25dc
Fix GUI button outline colors in Kyra1 Amiga.
...
svn-id: r43213
2009-08-10 18:03:37 +00:00
Johannes Schickel
7c6ffa78e0
Fix GUI font colors and text drawing in Kyrandia 1 Amiga.
...
svn-id: r43212
2009-08-10 18:01:28 +00:00
Willem Jan Palenstijn
ed763cccfe
Fix format string issues (and compiler warnings).
...
Patch by salty-horse.
svn-id: r42842
2009-07-27 16:04:35 +00:00
Florian Kagerer
5b0b0051c1
LOL: - implemented audio menu
...
- menu settings now get saved
- remove white spaces
svn-id: r41729
2009-06-21 16:59:51 +00:00
Florian Kagerer
0b4725d142
LOL: implemented options menu (settings aren't saved yet)
...
svn-id: r41596
2009-06-16 21:23:26 +00:00
Florian Kagerer
583a89be62
LOL: - started on the ingame menu code (death menu, load menu and main menu)
...
- fixed regression in kyra gui code (broken menu highlighting)
- fixed minor bug in animation code
svn-id: r41557
2009-06-15 20:52:09 +00:00
Johannes Schickel
7c5d739ba7
Cleanup.
...
svn-id: r41519
2009-06-14 14:24:28 +00:00
Johannes Schickel
ac46c98fb8
- Moved Screen_v2::copyWsaRect to Screen::copyWsaRect
...
- Made WSAMovie_v1::displayFrame code match the original
- Changed WSAMovieAmiga::displayFrame to use Screen::copyWsaRect too
- Got rid of '...' parameter usage in all WSA player classes
svn-id: r41398
2009-06-09 11:26:15 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
7561bd9dfb
Remov lots of superfluous debug output.
...
svn-id: r40715
2009-05-19 01:13:29 +00:00
Florian Kagerer
dd84aaf648
LOL: - added some spell casting (spark, heal, swarm)
...
- fixed several bugs (not the one in the fighting system though)
- added several opcodes. there shouldn't be any real show stoppers in the draracle cave now.
- simplified wsa code (which required 4 lines of code for displaying a frame)
- added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file)
svn-id: r40420
2009-05-10 13:40:28 +00:00
Florian Kagerer
16a57f299c
LOL: - implemented proper button processing (works exactly as in Kyra 2 and 3, so we do have some code duplication atm, I just fixed right mouse button support for LOL)
...
- keyboard control now works
svn-id: r38190
2009-02-15 03:36:30 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
8ea422f415
- Cleanup
...
- Implemented Screen_LoL::fprintString
svn-id: r35608
2008-12-29 14:37:51 +00:00
Johannes Schickel
e4d2f58417
Cleanup.
...
svn-id: r35604
2008-12-29 13:59:35 +00:00
Florian Kagerer
d81782977e
LOL: - fixed some bugs in the main menu code (premature pak file unloading etc.) and added floppy support
...
svn-id: r35595
2008-12-28 22:09:31 +00:00
Johannes Schickel
91de740d44
Implemented (some) main menu code for LoL.
...
svn-id: r35553
2008-12-26 11:04:45 +00:00
Johannes Schickel
696ed52959
Switched kyra1 to use the same input functionality as kyra2 and kyra3.
...
svn-id: r35393
2008-12-16 17:40:34 +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
Johannes Schickel
48adf18e21
Added autosave support in Kyra.
...
svn-id: r34535
2008-09-14 19:48:40 +00:00
Christopher Page
b97f39019c
KYRA works with the new GMM implementation
...
svn-id: r32957
2008-07-08 05:02:45 +00:00
Johannes Schickel
bb03596744
- Renamed KyraEngine to KyraEngine_v1
...
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp
svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel
35cc3a3d19
Committed slightly modified patch #1961830 "KYRA: Scroll wheel support for Kyra 2 and 3".
...
svn-id: r32016
2008-05-11 11:35:12 +00:00
Johannes Schickel
d21d9858fd
- Cleaned up main menu quit handling
...
- Moved KyraEngine_HoF delay implementation to KyraEngine_v2
svn-id: r31987
2008-05-10 19:41:26 +00:00
Johannes Schickel
f930fff0d1
Set _quitFlag when receiving quit event in kyra2/kyra3 main menu.
...
svn-id: r31984
2008-05-10 18:56:00 +00:00
Johannes Schickel
2afff04468
- Added support for Kyra3 GUI (audio and game options not working yet)
...
- Added support for loading directly from command line for Kyra3
svn-id: r31876
2008-05-05 16:05:56 +00:00
Florian Kagerer
c0db9c0d25
fix broken save file list
...
svn-id: r31796
2008-05-01 11:36:00 +00:00
Johannes Schickel
ca7f7e2a3b
Various cleanup.
...
svn-id: r31772
2008-04-29 14:33:29 +00:00
Johannes Schickel
853b6e28e9
Implemented some kyra3 code.
...
svn-id: r31503
2008-04-14 20:20:51 +00:00
Johannes Schickel
1f91dc0384
- some refactoring for Kyra3
...
- removed unneeded map code in KyraEngine_v3
svn-id: r31488
2008-04-12 23:17:21 +00:00
Johannes Schickel
c676cf560f
Fixed crash when supplying illegal savefile names.
...
svn-id: r31402
2008-04-05 05:23:46 +00:00
Johannes Schickel
b99d5603cf
- Changed quicksaves to use slots 990-998.
...
- Made slots 990-999 not writeable for savegames via menu.
- Temporary save in HoF now uses slot 999.
svn-id: r31400
2008-04-05 03:03:10 +00:00