12845 Commits

Author SHA1 Message Date
Max Horn
43a9f9c2ef SCI: Add include guards for gui headers; don't include gui/gui.h from engine/state.h
svn-id: r44632
2009-10-04 20:01:21 +00:00
Martin Kiewitz
69af4ce9f4 SCI/newgui: implemented kPalette / set intensity
svn-id: r44631
2009-10-04 19:49:47 +00:00
Filippos Karapetis
7c7e0445ee Replaced DblList with Common::List
svn-id: r44630
2009-10-04 18:51:01 +00:00
Max Horn
6ad5840181 SCI: Rename EngineState::segMan to _segMan
svn-id: r44629
2009-10-04 18:38:18 +00:00
Max Horn
0da9ad5ff5 SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to console.cpp, and switch other code using it to use findObjectByName() instead.
svn-id: r44628
2009-10-04 18:36:58 +00:00
Martin Kiewitz
07353be65a SCI/newgui: invokeselector implemented into kAnimate
svn-id: r44627
2009-10-04 18:34:53 +00:00
Johannes Schickel
9d80759a71 Use spaces instead of tabs for formatting. (Tabs should be used for indentation only!)
svn-id: r44626
2009-10-04 18:01:38 +00:00
Johannes Schickel
d0bc425da6 Remove obsolete comment.
svn-id: r44625
2009-10-04 18:00:11 +00:00
Johannes Schickel
eaca55ee50 Some fixes to comply with our coding guidelines.
svn-id: r44624
2009-10-04 17:54:08 +00:00
Johannes Schickel
41e4a1ddb6 LoL PC98: Fix thumbnail creation for quick saves and autosave.
svn-id: r44623
2009-10-04 17:38:15 +00:00
Johannes Schickel
fc4d7b7d1d LoL PC98: Fix thumbnail generation via ingame menu.
svn-id: r44622
2009-10-04 17:37:46 +00:00
Martin Kiewitz
975f1b75ea SCI/gui: final rename commit
svn-id: r44621
2009-10-04 16:41:53 +00:00
Martin Kiewitz
01fca745fd SCI/gui: more renaming...
svn-id: r44620
2009-10-04 16:39:46 +00:00
Martin Kiewitz
4a9804a044 SCI/gui: renaming...
svn-id: r44619
2009-10-04 16:37:02 +00:00
Martin Kiewitz
ec526ca461 SCI/gui: renaming...
svn-id: r44618
2009-10-04 16:35:02 +00:00
Johannes Schickel
da70060943 Make "_picRect" local to gui_windowmgr.cpp and mark it as const.
svn-id: r44617
2009-10-04 16:26:43 +00:00
Johannes Schickel
b8e740c167 Attempt to fix wince compilation.
svn-id: r44616
2009-10-04 16:22:49 +00:00
Johannes Schickel
d134eb73ce Add missing PACKED_STRUCT attribute to FrameHeader.
svn-id: r44614
2009-10-04 15:49:40 +00:00
Willem Jan Palenstijn
62c951c031 SCI/newgui: turn sciWnd into subclass of sciPort
svn-id: r44613
2009-10-04 15:44:32 +00:00
Willem Jan Palenstijn
76854f0b86 SCI/newgui: more descriptive names.
svn-id: r44612
2009-10-04 15:44:10 +00:00
Martin Kiewitz
3deae94473 SCI/newgui: getCellRect() getLoopInfo() implemented, cleanup
svn-id: r44611
2009-10-04 15:34:43 +00:00
Martin Kiewitz
1572e622a3 SCI/newgui: UpdateWindow() -> rect1 instead of rect0 typo
svn-id: r44610
2009-10-04 15:20:43 +00:00
Martin Kiewitz
b05493af04 SCI/newgui: windowMgr cleanup, UpdateWindow() ported over
svn-id: r44609
2009-10-04 15:14:28 +00:00
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