Commit Graph

13115 Commits

Author SHA1 Message Date
Robert Špalek
c4563616ae Added support for sound archives.
We initialize them in the DraciEngine constructor, but don't play any sounds
yet.  Checked that it works for all existing sound files (required several
work-arounds against unspoken specification).

When copying the interface from barchive.h, I decided to remove some const's
from there, because getFile() wasn't really behaving like const.

Removed some static Common::String instances.

svn-id: r44953
2009-10-11 22:30:40 +00:00
Fabio Battaglia
e1dc8452bd sword1: fix psx demo startup
svn-id: r44951
2009-10-11 22:20:58 +00:00
Filippos Karapetis
bb7cac5b87 Show a warning when a selector vocabulary can't be found and a static vocabulary is used
svn-id: r44950
2009-10-11 21:28:52 +00:00
Torbjörn Andersson
409a1bd0a6 Removed unused variable.
svn-id: r44949
2009-10-11 21:18:43 +00:00
Martin Kiewitz
8fe74a1a7e SCI/newgui: support for textedit control (mouse support not yet implemented)
svn-id: r44948
2009-10-11 20:46:04 +00:00
Florian Kagerer
c693401dce LOL/PC-98: fix decoration shape drawing
svn-id: r44947
2009-10-11 20:41:02 +00:00
Florian Kagerer
2109a0ff9d LOL/PC-98: cleanup
svn-id: r44946
2009-10-11 20:29:38 +00:00
Joost Peters
29a6fdf367 fix compilation
svn-id: r44945
2009-10-11 20:23:15 +00:00
Filippos Karapetis
cfc7b741f9 Use BitsShow() for partial screen updates
svn-id: r44944
2009-10-11 20:20:28 +00:00
Florian Kagerer
7449091202 KYRA: fix sjis dialgue text display
svn-id: r44943
2009-10-11 20:09:35 +00:00
Florian Kagerer
22ffa71c0a LOL/PC-98: fix outro music
svn-id: r44941
2009-10-11 19:33:38 +00:00
Filippos Karapetis
1f00be5c15 The _variables array is sized from syncArray, so there's no need to store its size in the savegame
svn-id: r44940
2009-10-11 19:23:00 +00:00
Filippos Karapetis
07736ede19 Added kSetPort case with 4 parameters (used in the ending of LSL6)
svn-id: r44938
2009-10-11 18:42:52 +00:00
Filippos Karapetis
222b0d3887 Fill box routines do not translate the fill box coordinates
svn-id: r44937
2009-10-11 18:41:13 +00:00
Florian Kagerer
16e852159a LOL/PC-98: fix king richard healing sequence
svn-id: r44936
2009-10-11 18:40:21 +00:00
Filippos Karapetis
6fda9a5067 Optimized some screen updates in the new GUI to only update the changed rectangle, instead of the whole screen
svn-id: r44935
2009-10-11 17:59:23 +00:00
Filippos Karapetis
9b97f21486 Reset the EngineState pointer in the SciGuiGfx class when loading. Fixes loading with the new GUI
svn-id: r44934
2009-10-11 16:47:01 +00:00
Filippos Karapetis
1d2031defd Stop passing the engine state to SciGuiWindowMgr
svn-id: r44933
2009-10-11 16:15:42 +00:00
Filippos Karapetis
0da0d5b6a4 Stop passing all of the engine state to SciGuiPicture
svn-id: r44932
2009-10-11 16:12:24 +00:00
Torbjörn Andersson
57ae40e52c Fixed a warning, ironically inside a warning().
svn-id: r44931
2009-10-11 16:00:16 +00:00
Filippos Karapetis
1d3118cf42 Implemented some advanced savegame functionality - loading and deleting savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now
svn-id: r44930
2009-10-11 15:51:43 +00:00
Martin Kiewitz
ba9a9422b4 SCI/newgui: list control implemented
svn-id: r44929
2009-10-11 15:41:52 +00:00
Walter van Niftrik
6f553a630a SCI: Relax GetAngle() signature for KQ6.
svn-id: r44928
2009-10-11 15:32:22 +00:00
Walter van Niftrik
4a157d43b3 SCI: Implement CoordPri() with two args.
svn-id: r44927
2009-10-11 14:58:58 +00:00
Joost Peters
117dfd08ec rename shadow var
svn-id: r44926
2009-10-11 14:30:55 +00:00
Martin Kiewitz
efcfae742b SCI: kDrawControl for list and textedit controls also using gui class
svn-id: r44925
2009-10-11 14:28:20 +00:00
Joost Peters
7b493e9a60 fix new[]/delete mismatch
svn-id: r44924
2009-10-11 14:15:37 +00:00
Johannes Schickel
097d6d298d Print warning, when the number of colors in a palette file exceed the number of colors in the target palette on load.
svn-id: r44922
2009-10-11 13:54:35 +00:00
Filippos Karapetis
6d030126d7 More work on the Object class
svn-id: r44921
2009-10-11 13:46:58 +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
Filippos Karapetis
7755404f52 Fixed compilation with the current GUI
svn-id: r44914
2009-10-11 12:45:40 +00:00
Martin Kiewitz
0d98fa3fe4 SCI: made kEditControl use SciGui class, not currently implemented in newgui
svn-id: r44913
2009-10-11 12:15:17 +00:00
Johannes Schickel
47988039ea Fix text input font for LoL PC98.
svn-id: r44912
2009-10-11 12:05:55 +00:00
Johannes Schickel
e90f337bd2 Fix regression introduced with r44907.
svn-id: r44911
2009-10-11 12:01:20 +00:00
Torbjörn Andersson
65865de473 Removed unused variable.
svn-id: r44909
2009-10-11 11:59:30 +00:00
Martin Kiewitz
0353b9923d SCI/newgui: SciGuiPicture now also supports mirroring of cel-data
svn-id: r44908
2009-10-11 11:42:50 +00:00
Johannes Schickel
ea28351862 Cleanup.
svn-id: r44907
2009-10-11 11:34:30 +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
Johannes Schickel
6492c00a3a Revert changes to graphics/sjis.h in r44709.
svn-id: r44904
2009-10-11 11:28:43 +00:00
Martin Kiewitz
353fe8ae56 SCI/newgui: SciGuiGfx::BitsFree() implemented, currently used in kAnimate, Bits-methods renamed
svn-id: r44903
2009-10-11 09:47:12 +00:00
Martin Kiewitz
236e801366 SCI/newgui: comment change on SciGui::moveCursor()
svn-id: r44902
2009-10-11 09:39:53 +00:00
Martin Kiewitz
91eee2e99a SCI: change remove script FIXME warning into comment
svn-id: r44901
2009-10-11 09:34:35 +00:00
Martin Kiewitz
e780a973d2 SCI/newgui: kDisplay restoreUnder/saveUnder implemented, fixes previously sticky text in sq1, kq5, etc.
svn-id: r44900
2009-10-11 09:31:48 +00:00
Gregory Montoir
fc77520429 TUCKER: fix original game glitch (tracker item #2872385 - Fish swims out of aquarium)
svn-id: r44899
2009-10-11 09:26:36 +00:00
Gregory Montoir
d971b0737a TUCKER: ignore selected verb when displaying options (tracker item #2872383 - Look at options)
svn-id: r44898
2009-10-11 09:25:31 +00:00
Martin Kiewitz
0b1a8dea2d SCI/newgui: kShakeScreen partially implemented
svn-id: r44897
2009-10-11 08:52:23 +00:00
Martin Kiewitz
67c7d49729 SCI/newgui: offTop changed, fixes window corruption (qfg3 and more)
svn-id: r44896
2009-10-11 08:15:25 +00:00
Willem Jan Palenstijn
76ea099d23 SCI: Remove superfluous casts; fix warning.
svn-id: r44895
2009-10-11 08:07:59 +00:00
Martin Kiewitz
4ca178e203 SCI/newgui: correction for GuiAnimateEntry struct
svn-id: r44894
2009-10-11 08:03:09 +00:00