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
Travis Howell
3f4655c03f
SCUMM: Disable multiplayer option in Backyard Baseball 2001.
...
svn-id: r53731
2010-10-23 13:39:04 +00:00
Travis Howell
402fac9ed4
SCUMM: Add workaround to allow saved games to be shared between Macintosh and Windows versions of Backyard Baseball 2001.
...
svn-id: r53729
2010-10-23 06:27:16 +00:00
Joost Peters
d602e4a785
PSP: make vkbd's function keys match their visual representation
...
svn-id: r53728
2010-10-23 03:09:39 +00:00
Travis Howell
afd677c2c7
SCUMM: Fix buffer overflow, that was causing crashes when saving in Backyard Baseball 2001/2003.
...
svn-id: r53726
2010-10-23 02:18:08 +00:00
Florian Kagerer
a82b0435a2
SCUMM/FM-TOWNS JAPANESE: fix font drawing in MI1 intro
...
svn-id: r53725
2010-10-23 00:30:21 +00:00
Paul Gilbert
fe06b7d151
TINSEL: Fix for #3091314 - Added extra detection entries for Multi-lingual DW1
...
This adds in German, Italian, and Spanish as detection entries, so a user can immediately select what language to run the game in.
svn-id: r53724
2010-10-22 23:39:29 +00:00
Sylvain Dupont
3fb739f90a
TOON: Fix conversation freeze in the beginning of chapter 2
...
A missing talk animation was started
svn-id: r53723
2010-10-22 23:35:56 +00:00
Andrew Kurushin
9f2e7d5ff5
SAGA: fix gcc size_t warns
...
svn-id: r53722
2010-10-22 23:33:56 +00:00
Sylvain Dupont
4b98404d7b
TOON: Close correctly sound packs
...
svn-id: r53720
2010-10-22 23:29:52 +00:00
Andrew Kurushin
f24394b85f
SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation
...
add ByteArray type
fix debug Tile Hittest frame drawing
debug 0x%x => 0x%X
svn-id: r53719
2010-10-22 23:13:17 +00:00
Paul Gilbert
b8ff3eb491
TINSEL: Ignore SV_SPEECHDELAY in DW2 Demo
...
This stops the long delays at the start of playing each sample
svn-id: r53717
2010-10-22 22:09:59 +00:00
Julien Templier
3a90af96f5
LASTEXPRESS: Update namespace comment with latest engine status
...
svn-id: r53716
2010-10-22 22:06:59 +00:00
Julien Templier
90974937a3
LASTEXPRESS: Reorganize and enhance some debug commands
...
Add "time" command to convert between in-game and human-readable forms
Rename "dump" command to "show" and use named parameters instead of index
Add progress and flags options to show command
svn-id: r53715
2010-10-22 22:00:27 +00:00
Paul Gilbert
610c5eb336
TINSEL: Load samples file for DW2 Demo
...
svn-id: r53714
2010-10-22 21:49:21 +00:00
Sylvain Dupont
9cbb0d5579
TOON: More talk animation fixes
...
There was a conflict between the idle animation and the talk animation
in some cases (showing the chain anim & idle anim in the arcade)
svn-id: r53713
2010-10-22 21:42:48 +00:00
Paul Gilbert
d771d98a92
TINSEL: Fix incorrectly mapped opcode in DW2 Demo
...
svn-id: r53712
2010-10-22 21:33:31 +00:00
Paul Gilbert
a88d7b2905
TINSEL: Remove unused function
...
svn-id: r53711
2010-10-22 21:23:44 +00:00
Sylvain Dupont
63862026bc
TOON: Fix for a small typo in talking state
...
svn-id: r53710
2010-10-22 21:21:57 +00:00
Paul Gilbert
ffa8b9d61a
TINSEL: Compilation fix
...
svn-id: r53709
2010-10-22 21:17:54 +00:00
Paul Gilbert
96723838c6
TINSEL: Added new opcode set for the DW2 Demo
...
svn-id: r53708
2010-10-22 21:08:27 +00:00
Paul Gilbert
9e9739c074
TINSEL: Added detection entry for DW2 Demo
...
svn-id: r53707
2010-10-22 21:07:28 +00:00
Sylvain Dupont
66e3815963
TOON: Fixed Bug #3089974 and #3086015
...
Bug #3089974 : "TOON: Two Drews when exiting King's bedroom"
Bug #3086015 : "TOON: Woof doesn't idle correctly"
Most talking animation bugs are fixed with this.
The mouse is now hidden when entering a room.
svn-id: r53706
2010-10-22 20:53:25 +00:00
Arnaud Boutonné
4a0ba817e5
HUGO: Move findObjectSpace() to ObjectHandler class
...
svn-id: r53705
2010-10-22 20:45:00 +00:00