Andrew Kurushin
0970cdf5e5
SAGA: reduce memory usage
...
svn-id: r53782
2010-10-24 22:52:57 +00:00
Andrew Kurushin
599094d3a0
SAGA: fix SAGA_DEBUG; fix IHNM cutaway typo
...
svn-id: r53781
2010-10-24 22:40:37 +00:00
Andrew Kurushin
0f1ae79ac4
SAGA: fix const cast warns
...
svn-id: r53780
2010-10-24 22:25:16 +00:00
Andrew Kurushin
67cc1b8a84
SAGA: replace Resource:loadResource malloc with ByteArray class
...
svn-id: r53779
2010-10-24 22:17:44 +00:00
Julien Templier
859c1c2c08
LASTEXPRESS: Fix issues when copying debugger commands
...
- Properly free allocated memory in resetCommand()
- Make sure _commandParams strings are null-terminated
svn-id: r53778
2010-10-24 22:15:36 +00:00
Julien Templier
e4dc5336db
LASTEXPRESS: Fix crash in subtitle handling
...
svn-id: r53777
2010-10-24 22:15:25 +00:00
Filippos Karapetis
77d20f6962
SCI: Fixed bug #3094235 - "SQ4CD: Crashes at Roger jr. in beam"
...
svn-id: r53776
2010-10-24 21:53:27 +00:00
Martin Kiewitz
b581a866a9
SCI: fixing obvious kAddToPic regression
...
caused by r53068, triggered bug #3092840 (SQ5 genetix lab scaled incorrectly when laying course) - thx to digitall for bisect
svn-id: r53775
2010-10-24 21:49:22 +00:00
Arnaud Boutonné
cb6efae5af
GOB: Replace strncmp by scumm_stricmp when possible
...
svn-id: r53774
2010-10-24 20:36:47 +00:00
Andrew Kurushin
e3ea3b5b7e
SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with Common::Array
...
svn-id: r53773
2010-10-24 20:22:21 +00:00
Arnaud Boutonné
25e1af837a
GOB: un-ban and fix a somehow corrupted version of Fascination
...
(This version has been found on original floppies)
svn-id: r53772
2010-10-24 20:20:48 +00:00
Florian Kagerer
0db700a3dc
GUI/LAUNCHER: improved MIDI device selection (also #3088438 )
...
This fixes an issue with the <default> setting in the GM and MT-32 device tabs that has caused some complaints and discussions on -devel. It might also be what bug #3088438 is about.
With a <default> setting ScummVM would just use the first available MIDI device (even if this is the not really well working MT-32 emulator). This <default> setting was also indeed set by default - making it even more annoying.
Now there is a new setting for both the GM and MT-32 device tabs ("Don't use GM/MT-32 music").
This will cause MIDI device detection to be skipped and the best of the other devices (Adlib etc.) to be used. This new setting is used as default. So users who haven't specified anything will get Adlib, PC Speaker etc. (if supported by the engine) even if the engine prefers Midi.
There is a new "Use first available device" setting which will have the same effect as the "<default>" setting we had before.
svn-id: r53771
2010-10-24 19:15:17 +00:00
Julien Templier
f37252e6cf
LASTEXPRESS: Change detection entries platform to kPlatformUnknown
...
All full versions of the game are multiplatform Dos/Win/Mac
and the demo is Dos/Win
svn-id: r53770
2010-10-24 19:10:13 +00:00
Johannes Schickel
2e0b1c6213
SDL/WIN32: Disable currently unused config entries, added with r53767.
...
This code should be enabled, when we decide to enable m_kiewitz' code to
disable the console window. Also we should add the command to the --help
output etc.
svn-id: r53769
2010-10-24 19:07:46 +00:00
Martin Kiewitz
27ee12e6a5
SDL/win32: fix lf, thx msvc
...
svn-id: r53768
2010-10-24 19:04:35 +00:00
Martin Kiewitz
c9c9eafbbb
SDL/w32: add ability to hide console
...
feature is currently commented out - waiting till discussion has ended
svn-id: r53767
2010-10-24 18:34:08 +00:00
Andrew Kurushin
fa7e8a8eb3
SAGA: replace Actor::_actors and _objs malloc base arrays with Common::Array
...
svn-id: r53766
2010-10-24 17:42:45 +00:00
Willem Jan Palenstijn
225fd20bee
Revert r53747: "GUI: added close() call to Dialog::runModal()"
...
It broke the launcher after adding new games.
svn-id: r53765
2010-10-24 13:26:58 +00:00
Max Horn
b446a7dcc2
ALL: code formatting fixes
...
svn-id: r53764
2010-10-24 13:09:56 +00:00
Max Horn
5fbca853aa
SCUMM: Turn global g_cmsEmu into a member var of Player_V2CMS
...
svn-id: r53763
2010-10-24 13:05:03 +00:00
Max Horn
c975ed11a1
ALL: Fix various typos (patch #3093266 )
...
svn-id: r53762
2010-10-24 13:04:33 +00:00
Florian Kagerer
bf5ae45490
KYRA/PC98: workaround for missing delay opcodes
...
The sequence data for the forest sequence in the Kyra PC-98 intro has no delay opcodes making it play way too fast on modern systems. This workaround adds the same delay opcodes to the sequence data that the other Kyra versions have.
svn-id: r53761
2010-10-24 13:00:47 +00:00
Max Horn
518526ba2f
SWORD25: Remove some dead code; cleanup
...
svn-id: r53760
2010-10-24 01:53:32 +00:00
Max Horn
fa0151683c
SWORD25: Replace ResourceManager's hash table by a Common::HashMap
...
svn-id: r53759
2010-10-24 01:53:01 +00:00
Max Horn
48d15398e5
SWORD25: Get rid of kernel/string.h
...
svn-id: r53758
2010-10-24 01:52:27 +00:00
Max Horn
2a987c4a31
SWORD25: Simplify & optimize PNG reading code
...
The interlaced part is untested since I do not know any place
in the game where interlaced data is used.
svn-id: r53757
2010-10-24 01:33:24 +00:00
Max Horn
4d6fb4e768
SWORD25: Get rid of colorFormat parameter in PNGLoader API
...
Only CF_ARGB32 was supported anyway.
svn-id: r53756
2010-10-24 01:32:52 +00:00
Max Horn
7cc8811a5c
SWORD25: Merge classes PNGLoader, ImageLoader and ImageLoaderManager
...
This looses some flexibility when it comes to supporting other image
formats. But since the game does not use other image formats, this seems
rather irrelevant, compared to how much simpler the code now is.
svn-id: r53755
2010-10-24 01:32:15 +00:00
Max Horn
1e16d576ca
SWORD25: Merge B25SLoader into PNGLoader
...
svn-id: r53754
2010-10-24 01:31:30 +00:00
Max Horn
85e3ddc309
SWORD25: Add ImageLoaderManager, get rid of last globally constructed object
...
This also gets rid of an evil use of atexit.
svn-id: r53753
2010-10-24 01:30:53 +00:00
Max Horn
2da4469686
SWORD25: Remove outdated comments
...
svn-id: r53752
2010-10-24 01:29:59 +00:00
Andrew Kurushin
b10cd22d51
SAGA: replace Events malloc base linked list with Common::List
...
svn-id: r53751
2010-10-23 23:07:10 +00:00
Andrew Kurushin
5b7c5e4298
SAGA: fix typo
...
svn-id: r53750
2010-10-23 22:04:51 +00:00
Julien Templier
f812f88c10
LASTEXPRESS: Add new dump command to dump the list of files in the archives (with size & md5)
...
svn-id: r53749
2010-10-23 22:02:52 +00:00
Andrew Kurushin
405c523bbb
SAGA: replace decodeBGImage malloc with ByteArray
...
svn-id: r53748
2010-10-23 21:56:16 +00:00
Yotam Barnoy
deb461d200
GUI: added close() call to Dialog::runModal()
...
This should prevent a small leak in the GuiManager when adding the dialog to the stack. Check for any regressions.
svn-id: r53747
2010-10-23 21:30:39 +00:00
Martin Kiewitz
ae6aa8a6b3
SCI: always allocate +1 byte in kMemory now
...
fixes multilingual lsl5 room 280 - names of airport ladies not shown correctly (bug #3093818 )
svn-id: r53746
2010-10-23 20:22:24 +00:00
Julien Templier
4e9cae8ca8
LASTEXPRESS: Output human readable time in the show game state debug command
...
svn-id: r53745
2010-10-23 20:07:06 +00:00
Filippos Karapetis
6c47ca8253
SCI2/SCI2.1: Some changes to the screen drawing code.
...
- Implemented kernelUpdateScreenITem
- Changed the list of screen items to be a list of FrameoutEntry entries,
so that it doesn't get recreated on every frame
svn-id: r53744
2010-10-23 19:23:07 +00:00
Filippos Karapetis
bd14661fdf
SCI: Silence runtime warnings when editing kernel_tables.h with VS2010
...
svn-id: r53743
2010-10-23 19:19:06 +00:00
Filippos Karapetis
ebf4e736ba
SCI: Added the Spanish version of SQ5 from bug report #3090664
...
svn-id: r53742
2010-10-23 19:17:26 +00:00
Yotam Barnoy
4af9057eaa
PSP: Fix up imageViewer to pause game
...
The only real way to pause the game is to take over the event loop, which is a little sad... Also fixed a possible crash when loading an image that was to big, by only rendering when we have _init set.
svn-id: r53741
2010-10-23 19:01:34 +00:00
Florian Kagerer
09f77eb464
LOL: - fix invalid mem access
...
- also extend LordHoto's recent item code changes to LOL
svn-id: r53740
2010-10-23 16:01:40 +00:00
Max Horn
0d54400806
SCUMM: Skip endian conversion on little endian systems (instead of assigning values back to themselves)
...
svn-id: r53739
2010-10-23 15:47:23 +00:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +00:00
Max Horn
efcfb40da9
SAGA: Add some const qualifiers to SagaEngine methods
...
svn-id: r53737
2010-10-23 15:45:22 +00:00
Max Horn
da31121507
SAGA: Improve comment for ByteArray::getBuffer()
...
svn-id: r53736
2010-10-23 15:44:55 +00:00
Max Horn
360f67636b
SWORD25: Register LUA callbacks insider registerScriptBindings() methods
...
Previously, the constructor of an anonymous global object was used to do
this, for no apparent reason.
However, maybe there was a hidden reason which I missed, so this change
might cause regressions. I.e., please test.
svn-id: r53735
2010-10-23 15:44:33 +00:00
Max Horn
c483a22f2a
SWORD25: Get rid of global SharedPtr instances
...
svn-id: r53734
2010-10-23 15:44:04 +00:00
David Turner
3e657c1bf9
LASTEXPRESS: Add md5sums of UK Broderbund TLE.
...
svn-id: r53733
2010-10-23 14:37:26 +00:00