Robert Špalek
6aaf99ec67
Disambiguated _anims.
...
It's both a pointer to an AnimationManager and list of animation ID's fo
each object. The latter renamed to _anim so that I can easily search for
them.
Also, fixed the bug promised in the previous commit.
svn-id: r44960
2009-10-12 00:01:39 +00:00
Robert Špalek
6768065f14
Reduced code duplication and fixed one deletion bug.
...
svn-id: r44959
2009-10-11 23:54:44 +00:00
Robert Špalek
62cebbb51e
Implemented a few more harmless GPL2 commands
...
svn-id: r44958
2009-10-11 23:28:40 +00:00
Robert Špalek
f71b32dd96
Loading and caching sound samples in memory.
...
The sounds are not played yet, but the infrastructure is getting ready.
svn-id: r44957
2009-10-11 23:01:59 +00:00
Fabio Battaglia
e2db155b1a
sword1: fix one gcc warning about comparison between signed and unsigned
...
svn-id: r44955
2009-10-11 22:34:01 +00:00
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
Jordi Vilalta Prat
b6baadff53
Updated the modern theme logo with a darker shadow
...
svn-id: r44952
2009-10-11 22:26:03 +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
bd6de4f642
Hopefully avoiding an assert in the MSVC debug CRT library when entering an umlaut in the launcher.
...
It's a bad idea to cast a parameter to the "is*" functions from ctype.h to "char",
since "char" might be signed and the "is*" functions are defined to only accept
input which fits "unsigned char" or equals EOF. In this concrete example the value
of "state.ascii" is > 0x7F, thus becomes negative after the cast to "char", which
violates the parameter rules of "isprint".
Sadly it seems this is not the only place in our code, which does pass a possibly
signed parameter to an "is*" function. We might either want to change all code to
only pass an unsigned char value, change the code to do parameter validation or
fix it in another way.
svn-id: r44920
2009-10-11 13:44:19 +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
Johannes Schickel
67c6e92efb
Add support for 8x16 chars in the FM-Towns font ROM code.
...
svn-id: r44910
2009-10-11 12:00:56 +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