Commit Graph

34114 Commits

Author SHA1 Message Date
Florian Kagerer
ae737ca2c2 LOL/PC-98: fixed save menu
svn-id: r44608
2009-10-04 15:12:05 +00:00
Martin Kiewitz
49a78bfb3e SCI/newgui: accidentally changed Draw_Horiz and Draw_Vert, reverted
svn-id: r44607
2009-10-04 15:06:50 +00:00
Martin Kiewitz
4957ec3505 SCI: kAddToPic, kAnimate and kSetNowSeen transferred to SciGUI32, not yet implemented in newgui
svn-id: r44606
2009-10-04 14:59:51 +00:00
Filippos Karapetis
3aadeaa018 Removed unused enum
svn-id: r44605
2009-10-04 13:29:35 +00:00
Max Horn
a1e2ba1ba5 SCI: Fixing a bunch of warnings; change 'intencity' -> 'intensity';
properly init a sciPalette via memset

svn-id: r44604
2009-10-04 11:59:29 +00:00
Max Horn
696fd7af20 Reduce usage of Common::String::emptyString
svn-id: r44603
2009-10-04 11:58:52 +00:00
Florian Kagerer
f8e8e764ce LOL/PC-98: some more work on sjis font support for the text displayer
svn-id: r44602
2009-10-04 11:42:26 +00:00
Martin Kiewitz
14c322ceb7 SCI/newgui: font constructor change (again... what happened here?)
svn-id: r44601
2009-10-04 11:32:29 +00:00
Martin Kiewitz
594527fe4b SCI/newgui: restoration of constructor
svn-id: r44600
2009-10-04 11:26:09 +00:00
Martin Kiewitz
306c9d1db6 SCI/newgui: SciGUIfont workaround for lsl1sci
svn-id: r44599
2009-10-04 11:23:28 +00:00
Filippos Karapetis
837cde96f3 Removed unused references to OSystem
svn-id: r44598
2009-10-04 11:14:38 +00:00
Martin Kiewitz
a139ddd840 SCI: kReadNumber crash fix for lsl1
svn-id: r44597
2009-10-04 11:05:38 +00:00
Martin Kiewitz
e2cc953a9f SCI: removing unused variables from onControl
svn-id: r44596
2009-10-04 10:48:49 +00:00
Martin Kiewitz
3dbf54267b SCI: onControl now uses gui classes
svn-id: r44595
2009-10-04 10:47:10 +00:00
Martin Kiewitz
a015e5f967 SCI/newgui: onControl implemented
svn-id: r44594
2009-10-04 10:46:25 +00:00
Martin Kiewitz
772cb33651 SCI/oldgui: onControl code moved
svn-id: r44593
2009-10-04 10:42:18 +00:00
Martin Kiewitz
bb7a728a99 SCI/newgui: TextColors and TextFonts implemented (for sq5)
svn-id: r44592
2009-10-04 09:38:57 +00:00
Robert Špalek
42ee5350c3 Hack Game::_shouldExitLoop.
Immediate exit needed when loading a savegame hurts waiting in an inner
(strange) loop inside a GPL program, because animations don't progress at
all.  Reverted to the previous behavior and kept the immediate exit as a
hack for loading the game.

svn-id: r44590
2009-10-04 09:33:07 +00:00
Filippos Karapetis
decdc5771a Applied patch #2872409 "MADE engine fixes" by agent-q, with one small modification (initialized _soundStarted in the ScriptFunctions constructor)
svn-id: r44589
2009-10-04 09:31:37 +00:00
Robert Špalek
1ed6a2668b Load inventory items properly after loading the game.
This solution is quite hacky, but so is the rest of the code, before a
future refactoring done one day.

svn-id: r44588
2009-10-04 09:13:15 +00:00
Martin Kiewitz
06f5393ed4 SCI: fixed crash in sq5/german (umlauts)
svn-id: r44587
2009-10-04 06:39:07 +00:00
Robert Špalek
df14027c41 Implemented rudimentary game loading/saving.
Fixed many bugs in the boilerplate.  Saving (only) things that really need to
be saved.  Loading seems to work modulo dialogs and (possibly) inventory.

svn-id: r44586
2009-10-04 05:44:23 +00:00
Martin Kiewitz
bf408b0dbe SCI/newgui: unfinished TextColors/TextFonts support/setting default palette mapping for kq5
svn-id: r44585
2009-10-04 05:22:49 +00:00
Martin Kiewitz
10d70ec742 SCI/newgui: cleanup
svn-id: r44584
2009-10-04 05:20:56 +00:00
Robert Špalek
b6d7da6927 Implement all boilerplate concerning Global Main Menu.
All currently defined featues will be supported.  I have implemented 
everything boilerplatish, except for the actual game saving/loading (which
will come in the next commit), getting volumes from the configuration
(because we don't play sounds yet), and changing subtitles.

svn-id: r44583
2009-10-04 03:50:10 +00:00
Florian Kagerer
b8e02a03c1 LOL: fixed minor bugs in text displayer
svn-id: r44582
2009-10-04 01:05:27 +00:00
Willem Jan Palenstijn
0ed87062ed SCI: Add hack to gui to fix loading
svn-id: r44581
2009-10-03 23:56:49 +00:00
Filippos Karapetis
ea66b75916 Slight change in the SCI MSVC project files (put the files from the gui32 directory in the proper filter)
svn-id: r44580
2009-10-03 23:16:32 +00:00
Willem Jan Palenstijn
a8c4d70d3e SCI: attempt to fix wii/dc build error
svn-id: r44579
2009-10-03 23:01:22 +00:00
Willem Jan Palenstijn
f61bf4f97a SCI: Fix parse error in parse_reg_t
svn-id: r44578
2009-10-03 22:44:16 +00:00
Florian Kagerer
0e5836bb34 LOL/PC-98: add keyboard support for menus
svn-id: r44577
2009-10-03 22:39:46 +00:00
Willem Jan Palenstijn
bce248cab6 SCI: Redraw edit controls when they change.
svn-id: r44576
2009-10-03 22:10:45 +00:00
Robert Špalek
3035ca2fd3 Let Ctrl-Left click behave like Right lick in Dragon History.
Also, started implementing Advanced Engine Features:
- pause support
- RTL support

svn-id: r44575
2009-10-03 22:07:18 +00:00
Martin Kiewitz
c0773975f5 SCI/newgui: removed duplicate unused code
svn-id: r44574
2009-10-03 21:49:09 +00:00
Martin Kiewitz
93c3d07e2b SCI/newgui: constant 0xFFFF -> -1
svn-id: r44573
2009-10-03 21:30:36 +00:00
Willem Jan Palenstijn
75de46e9ab SCI: Fix sign issue in stringfrags
svn-id: r44572
2009-10-03 21:27:01 +00:00
Martin Kiewitz
cfb7632a77 SCI/newgui: Removed SciGUIpicture::drawPalette11
svn-id: r44571
2009-10-03 21:27:00 +00:00
Martin Kiewitz
204b975e7f SCI/newgui: initializer fixup
svn-id: r44570
2009-10-03 21:23:21 +00:00
Martin Kiewitz
4cb0359670 SCI/newgui: cellCount changed to uint16
svn-id: r44569
2009-10-03 21:16:11 +00:00
Martin Kiewitz
742d70204e SCI/newgui: virtual warnings fixed
svn-id: r44568
2009-10-03 21:14:52 +00:00
Martin Kiewitz
79b12939a8 SCI/newgui: set title on newWindow
svn-id: r44567
2009-10-03 21:06:45 +00:00
Willem Jan Palenstijn
b9cdb1abb7 SCI: Merge new GUI code written by m_kiewitz.
This is a major rewrite of the graphics code. A slightly adapted
version of the old code is still available and currently the default.
The new code is selectable in sci.cpp, but is not yet finished.

svn-id: r44565
2009-10-03 20:49:18 +00:00
Florian Kagerer
f6de0b4ec9 LOL/PC-98: add keyboard support
svn-id: r44564
2009-10-03 20:42:26 +00:00
Martin Kiewitz
a3fc7230eb fixed addMenu isspace() issue on umlauts
svn-id: r44563
2009-10-03 20:35:13 +00:00
Willem Jan Palenstijn
90eebcd245 Use buffer in Common::String::printf slightly more efficiently
svn-id: r44562
2009-10-03 20:26:30 +00:00
Willem Jan Palenstijn
95959a88ef SCI: Fix typo
svn-id: r44561
2009-10-03 20:25:27 +00:00
Yotam Barnoy
1336b5464b Fixed bug in archive.cpp that caused at least one engine (SAGA) not to work
svn-id: r44560
2009-10-03 20:12:44 +00:00
Andre Heider
bbb3cc8086 If make*Stream failed, the file needs to be closed to prevent an assert on a consecutive open().
svn-id: r44557
2009-10-03 19:29:14 +00:00
Andre Heider
29bb8a59ee If an error occured on constructing a VorbisInputStream, return 0 from makeVorbisStream, just like makeFlacStream does.
svn-id: r44556
2009-10-03 19:27:10 +00:00
Florian Kagerer
e515b57b67 LOL/PC-98: fixed automap
svn-id: r44554
2009-10-03 13:42:24 +00:00