Eugene Sandulenko
51f8aa50b1
Combine Win32 and Mac resource extractors (used for cursors in latter HE) as
...
only one of them can exist at the same time. Also it saves code and adds
caching to Mac resource extractor.
svn-id: r18169
2005-05-18 15:57:16 +00:00
Travis Howell
739e0640ad
HE demos sometimes call music tracks that don't exist.
...
svn-id: r18080
2005-05-13 08:45:42 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Eugene Sandulenko
55c37c18ce
Preparations to let LogicHE hold game-specific code. Introduced
...
GF_HE_985. Feel free to give it more proper name.
svn-id: r18036
2005-05-10 22:31:48 +00:00
Travis Howell
239e7ae062
Add heversions for dutch versions.
...
Add dutch freddi1
svn-id: r18023
2005-05-10 03:03:28 +00:00
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Travis Howell
c16cceafad
Get XMAP from correct resource.
...
Avoid regression.
svn-id: r17922
2005-05-05 15:19:30 +00:00
Travis Howell
30533838db
HE90+ games set heap size in index.
...
svn-id: r17920
2005-05-05 14:30:37 +00:00
Travis Howell
c3bc118dc8
Add RIFF sound type.
...
svn-id: r17688
2005-04-19 10:35:25 +00:00
Travis Howell
d391c2f837
Adjust again, for sound header differences.
...
svn-id: r17668
2005-04-18 11:44:01 +00:00
Travis Howell
d4ba67a497
Use correct music offsets for HE games, only a few demos use wrong tunes now.
...
Get all music details for HE games from one function only.
svn-id: r17662
2005-04-18 07:18:33 +00:00
Travis Howell
a3882f3af7
Add HE7.2 difference in o_getResourceSize().
...
Add support for checking size of music resource.
svn-id: r17595
2005-04-14 06:06:59 +00:00
Max Horn
871e278f8b
Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
...
svn-id: r17508
2005-04-10 12:59:17 +00:00
Max Horn
cfe85b8618
Don't call allocateArrays from readMAXS, rather call it explicitly after calling readMAXS; init _palManipCounter in the proper place (only needed when restarting); free palManip data on exit
...
svn-id: r17495
2005-04-10 00:51:47 +00:00
Max Horn
78f2f279c4
Got rid of _dynamicRoomOffsets
...
svn-id: r17494
2005-04-10 00:33:31 +00:00
Max Horn
81e34e9110
Overload getStringAddress in subclasses; moved V6-V8 specific res stuff to resource.cpp
...
svn-id: r17489
2005-04-09 20:22:31 +00:00
Max Horn
34098ae3c7
Simplify the substResFileName system a bit
...
svn-id: r17475
2005-04-09 11:59:43 +00:00
Travis Howell
3060343786
Original games ignored this index data.
...
svn-id: r17436
2005-04-07 11:59:13 +00:00
Travis Howell
c11827c219
Split readMAXS between HE versions
...
svn-id: r17435
2005-04-07 11:43:38 +00:00
Torbjörn Andersson
d08068dff1
Fixed warnings on little-endian systems.
...
svn-id: r17371
2005-04-04 07:25:21 +00:00
Max Horn
789cad236c
Splitting more methods into multiple overloaded versions
...
svn-id: r17366
2005-04-03 23:53:34 +00:00
Max Horn
3feadcac28
Turned readRoomsOffsets into a virtual method
...
svn-id: r17363
2005-04-03 22:56:02 +00:00
Max Horn
65551ca83e
clean up
...
svn-id: r17104
2005-03-12 18:02:19 +00:00
Eugene Sandulenko
78ee0bfdaf
Mouse part of big patch #1013937 (OSystem layer with bigger resolution)
...
svn-id: r16800
2005-02-17 23:01:00 +00:00
Eugene Sandulenko
a9ceee26d8
Turned HE Mac resource filename generator into generall, whole SCUMM-purpose
...
method. Right now it is used to eliminate those Windows HE titles which
have different target base names.
If you want to use it, then define another entry in substDataFileNameTable[].
If your version with different base name has other features then you need
to define GF_MULTIPLE_VERSIONS for main entry and add any additional
entries to multiple_versions_md5_settings based on MD5 of the entry.
svn-id: r16764
2005-02-11 03:45:10 +00:00
Torbjörn Andersson
d261e3c9d3
Removed unnecessary empty line.
...
svn-id: r16736
2005-02-05 15:43:33 +00:00
Eugene Sandulenko
b33963b452
Some HFS dumpinf programs write files with resource fork to .bin file.
...
Support that. Also support separately dumped resource forks. File name for
those has .rsrc extension.
svn-id: r16735
2005-02-04 16:34:08 +00:00
Eugene Sandulenko
99c022d6a3
Add suppoert for coloured Mac cursors. Though they're disabled at the moment.
...
The reason is that they use their own palette which could not match current
global one.
Now I have to turn back to that old OSystem patch and render cursor on a
separate surface and extend OSystem with yet another optional call
setCursorPalette.
svn-id: r16734
2005-02-03 14:43:30 +00:00
Eugene Sandulenko
b1886d1f9a
Remove debug output and improve error messages.
...
To clarify my last commit message. I _do_ work with unprocessed files.
Just I happened to have one demo with resource fork stripped from game binary.
It was told that sometimes Mac conversion programs on intel platform silently
strip it down. Now I fail with error message, but we may use some fallback.
At least we need to know a standard way of copying binary files with resources
unstripped and describe it in Mac HOWTO.
svn-id: r16714
2005-01-31 04:04:04 +00:00
Eugene Sandulenko
c32e936723
Support for Mac cursors.
...
TODO:
o Allow reading from non-processed game executable. Now you need to get
.bin file out of it
o Use color versions of cursors
o Combine MacResExtractor with Win32ResExtractor. Now I just stupidly
create 2 objects and do not use new cursor caching code.
svn-id: r16713
2005-01-31 03:53:35 +00:00
Gregory Montoir
b9646d35d3
added a basic cursor cache for win32 HE70+ games
...
svn-id: r16708
2005-01-30 20:38:54 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
2c0f36cddc
Should be HE60/70.
...
svn-id: r15211
2004-09-21 01:00:30 +00:00
Max Horn
58c574d7cc
Moved mouse cursor code into ScummEngine subclasses were possible -- this makes it much easier to see which cursor code is used in which SCUMM version; also changed cursor code to not overwrite default_cursor_* (which would cause problems when switching to another game)
...
svn-id: r15169
2004-09-18 20:29:13 +00:00
Torbjörn Andersson
dc461ca770
Fixed some other cases where the number of parameters to our message-
...
printing functions didn't agree with the format strings.
GCC will find a couple of other things to warn about if these functions
are labelled as printf()-style functions, but those were less important, I
think.
svn-id: r15081
2004-09-12 18:21:21 +00:00
Max Horn
b20187a0e9
Cursor code cleanup
...
svn-id: r14690
2004-08-22 23:38:00 +00:00
Eugene Sandulenko
6d36d28224
Plug memory leak
...
svn-id: r14205
2004-07-13 10:45:47 +00:00
Paweł Kołodziejski
a6068ff5ae
fixed compilation
...
svn-id: r14139
2004-07-01 05:46:39 +00:00
Max Horn
f8cc10321e
Fix memory leak
...
svn-id: r14080
2004-06-27 13:24:15 +00:00
Eugene Sandulenko
6affa9e75a
Phase #3 of HE v7.0+ cursors. Now they show up correctly. Remove TODO item.
...
svn-id: r14034
2004-06-24 20:20:35 +00:00
Eugene Sandulenko
d6cfe9a5e9
Phase #2 of HE v7.0+ cursors. Still no visual output, but all data is
...
parsed now.
svn-id: r14031
2004-06-24 14:12:20 +00:00
Eugene Sandulenko
9fae63756b
Phase #1 of HE v7.0+ cursors. Basically it's Win32 resource extractor
...
incorporated from icotools, no display, just searching it in resources
and display a warning. Graphics converter is on the way.
Code is NOT endian-safe. It will not work on BE system, as was tested by
joostp. Please, fix endianess.
svn-id: r14024
2004-06-24 02:36:17 +00:00