Commit Graph

6023 Commits

Author SHA1 Message Date
Torbjörn Andersson
4aac7819d1 Some more scaling work. Parts of the options dialogs scale themselves. Some
of them better than others.

svn-id: r18165
2005-05-18 14:11:53 +00:00
Torbjörn Andersson
6ef7dbf97c The SCUMM options dialog mostly scales itself. Mostly.
svn-id: r18160
2005-05-18 09:41:13 +00:00
Max Horn
9e0c72868b No need to declare a full method if all you need is a tiny local function
svn-id: r18158
2005-05-18 08:50:06 +00:00
Travis Howell
24275fbb32 Add missing else.
svn-id: r18156
2005-05-18 08:34:52 +00:00
Eugene Sandulenko
1a68fbe145 round() is not portable.
svn-id: r18155
2005-05-18 07:59:45 +00:00
Travis Howell
a684a741ec Limit to C64 maniac.
svn-id: r18153
2005-05-18 02:56:41 +00:00
Travis Howell
ee67335197 Update comment
svn-id: r18152
2005-05-18 02:37:23 +00:00
Travis Howell
a8106f8c16 Add scripts file for C64 verisons, ready for future changes.
svn-id: r18151
2005-05-18 02:32:25 +00:00
Travis Howell
50abcb6683 Add missing palette slot, used in verbs/inventory.
svn-id: r18150
2005-05-18 02:23:00 +00:00
Travis Howell
b224ad812e There is no music engine for C64 versions yet.
svn-id: r18149
2005-05-18 01:17:17 +00:00
Eugene Sandulenko
cba94db699 Add C64 palette.
Fix Zak C64. Now it is playable.

svn-id: r18148
2005-05-18 00:46:30 +00:00
Max Horn
0ef8642bb5 Some cleanup (note: for some (negative value) corner cases, round does not 100% match the original code. However, that should probably not matter...)
svn-id: r18147
2005-05-18 00:02:29 +00:00
Eugene Sandulenko
fc87c5821a Initial support of C64 MM & Zak
svn-id: r18146
2005-05-17 23:56:21 +00:00
Eugene Sandulenko
e0ddf7480a Remove debug output. Some more PI fixes
svn-id: r18144
2005-05-17 23:27:50 +00:00
Eugene Sandulenko
7797676b02 Update with our own PI and atan2().
svn-id: r18143
2005-05-17 23:21:21 +00:00
Eugene Sandulenko
5cc3c4b903 Another funshop opcode. Does anyone knows ehrer to get proper x87 FPU fpatan
implementation?

svn-id: r18141
2005-05-17 23:03:25 +00:00
Torbjörn Andersson
8feee31884 Made the help dialog scale itself. There's one place where it ought to use
word-wrapping, but it looks fairly good even with the current hard-coded
line breaks.

svn-id: r18135
2005-05-17 06:20:50 +00:00
Eugene Sandulenko
e4ac8cb870 Fix from Quiteust for boxes in MM NES.
svn-id: r18132
2005-05-16 19:52:46 +00:00
Torbjörn Andersson
7fa84d94ad Arrow keys no longer emulate mouse movement.
svn-id: r18131
2005-05-16 14:41:41 +00:00
Torbjörn Andersson
8eee14934b Made InfoDialog scale itself.
svn-id: r18128
2005-05-16 12:26:44 +00:00
Max Horn
2935434504 Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
svn-id: r18123
2005-05-16 00:38:30 +00:00
Eugene Sandulenko
f9ebe12310 Restore --disable-he functionality. :(
svn-id: r18121
2005-05-15 19:27:46 +00:00
Max Horn
ac215285d7 Use a 'big' ListWidget in SaveLoadChooserEx
svn-id: r18116
2005-05-15 18:02:28 +00:00
Max Horn
2d40452a11 Unified rules that determine when a dialog shall use its 'big' mode and when its 'normal' mode; MessageDialog uses Font::wordWrapText now; MessageDialog scales itself now
svn-id: r18111
2005-05-15 17:01:32 +00:00
Max Horn
fb11e79387 Replaced global revBitMask array with a macro
svn-id: r18104
2005-05-15 10:40:28 +00:00
Max Horn
e5bbfe8df9 Renamed costume scale tables; merged the old costume renderer's scale table with the small scale AKOS scale table (they were identical)
svn-id: r18103
2005-05-15 10:02:13 +00:00
Max Horn
75ffec581f Added AuxBlock::reset() method; moved aux related code to ScummEngine_v71he class
svn-id: r18102
2005-05-15 09:46:34 +00:00
Travis Howell
380f187eeb Disabling SCUMM7/8 games should disable HE61 games.
Split akos_processQueue() in HE61+ and SCUMM7+ versions.

svn-id: r18101
2005-05-15 01:03:31 +00:00
Eugene Sandulenko
80ee8188d3 Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.
svn-id: r18100
2005-05-14 23:28:22 +00:00
Eugene Sandulenko
3588b96d4f Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded.

svn-id: r18099
2005-05-14 22:56:41 +00:00
Max Horn
0bb3024467 Merge loop limits into one)
svn-id: r18098
2005-05-14 22:55:39 +00:00
Max Horn
ef8c36554c Made the SCUMM main dialog scale itself
svn-id: r18097
2005-05-14 22:47:00 +00:00
Travis Howell
e3362f0923 Applies to HE70 too.
svn-id: r18092
2005-05-14 14:18:40 +00:00
Travis Howell
93be3e16d8 Add configure option to disable HE 70+ games.
svn-id: r18091
2005-05-14 14:06:37 +00:00
Eugene Sandulenko
30d4f86341 Opcode number correction
svn-id: r18090
2005-05-14 01:49:12 +00:00
Eugene Sandulenko
e3dc54dd97 Yet another LogicHE opcode.
svn-id: r18089
2005-05-14 01:39:39 +00:00
Travis Howell
469b74c300 Ooops
svn-id: r18088
2005-05-14 01:30:00 +00:00
Eugene Sandulenko
7a2ab6fcd6 Implemented last football logic opcode.
svn-id: r18087
2005-05-14 01:28:02 +00:00
Travis Howell
86b7034066 Handle default case.
svn-id: r18086
2005-05-14 01:26:52 +00:00
Eugene Sandulenko
ca65bf09fb More football logic opcodes.
svn-id: r18085
2005-05-14 00:32:40 +00:00
Travis Howell
15a4e8a0e2 Check if charset is been used, before expiring the resource.
svn-id: r18081
2005-05-13 10:23:56 +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
Travis Howell
d987a58529 Didn't need to break HE70 saved games after all.
activity/freddi (he71) only use 13 actors.

svn-id: r18079
2005-05-13 08:37:12 +00:00
Torbjörn Andersson
e23b62cfdf Comment typo.
svn-id: r18078
2005-05-13 06:32:27 +00:00
Torbjörn Andersson
5e52350ebb Changed back _numActors to 30 for Sam & Max to avoid breaking savegame
compatibility.

svn-id: r18077
2005-05-13 06:32:01 +00:00
Travis Howell
0f412efc8d Cases apply to rtRoomImage in He70+ too.
svn-id: r18076
2005-05-13 01:55:07 +00:00
Eugene Sandulenko
8e91b99df8 Remove debug leftover comments.
svn-id: r18074
2005-05-12 18:42:59 +00:00
Torbjörn Andersson
b3ec472639 Removed unused variables to prevent warnings.
svn-id: r18070
2005-05-12 13:58:23 +00:00
Travis Howell
d6a20a231b Avoid HE regressions.
svn-id: r18068
2005-05-12 09:12:30 +00:00
Eugene Sandulenko
907dec571a Support for football/footdemo logic
svn-id: r18065
2005-05-12 01:21:04 +00:00
Eugene Sandulenko
9e13005654 Implement now spotted Logic opcode in funshops. Now need to find a place
where another one gets called.

svn-id: r18064
2005-05-11 21:35:19 +00:00
Eugene Sandulenko
3f2b92f3f2 Fix crash in puttsfunshop when trying to edit new shape.
svn-id: r18063
2005-05-11 21:32:58 +00:00
Max Horn
65ba4df9bc Simple and crude demo of the 'big' buttons -- the infrastructure for this isn't complete, but at least you can see where we are heading...
svn-id: r18062
2005-05-11 19:32:18 +00:00
Max Horn
2540447843 Merge loop index variables
svn-id: r18059
2005-05-11 19:26:38 +00:00
Max Horn
9642133cd8 Reduce header dependencies
svn-id: r18058
2005-05-11 18:14:23 +00:00
Max Horn
0a8286994e Unify check in initBGBuffers and in getZPlanes
svn-id: r18054
2005-05-11 14:42:59 +00:00
Travis Howell
2921938301 Corect _numActors in HE games.
svn-id: r18053
2005-05-11 14:39:04 +00:00
Travis Howell
a6b445b531 Broke HE70 saved games too, due to activity.
svn-id: r18052
2005-05-11 14:34:19 +00:00
Travis Howell
68ea884d50 Remove fixmes
Corect _numActors in HE games.

svn-id: r18051
2005-05-11 14:32:21 +00:00
Travis Howell
91917913a8 Set number of actors by version again.
svn-id: r18050
2005-05-11 14:21:07 +00:00
Max Horn
90b91f12b2 Made Gdi::_transparentColor protected
svn-id: r18049
2005-05-11 13:02:40 +00:00
Travis Howell
58562a0b70 Add additional logic hook in footdemo/funshops.
svn-id: r18048
2005-05-11 10:09:06 +00:00
Travis Howell
cb99df182c Extra debugs no longer required.
svn-id: r18047
2005-05-11 09:38:01 +00:00
Travis Howell
088346a51c Corect heversion in some Dutch demos.
svn-id: r18043
2005-05-11 02:38:40 +00:00
Travis Howell
8cf2a8abec Confirmed filenames
svn-id: r18041
2005-05-11 00:44:31 +00:00
Max Horn
2de46dc8eb Moved some more stuff to namespace Audio (enough for tonight)
svn-id: r18040
2005-05-11 00:01:44 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +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
ff20d8c4df Fix HE regressions.
svn-id: r18034
2005-05-10 15:43:40 +00:00
Max Horn
22f4b63df8 Another fix, more cleanup
svn-id: r18033
2005-05-10 14:07:21 +00:00
Max Horn
249deed3b2 Fix another mistake in the asm-to-C conversion
svn-id: r18032
2005-05-10 14:01:54 +00:00
Max Horn
74bc089702 Cleaned up code a bit
svn-id: r18031
2005-05-10 14:00:59 +00:00
Travis Howell
1e9a357bf3 drawLine() fixes from Fingolfin.
svn-id: r18029
2005-05-10 11:50:01 +00:00
Travis Howell
bb8ca7e8ab Check that speech file is open.
svn-id: r18028
2005-05-10 08:42:23 +00:00
Travis Howell
4c6bcd9f5a Add code for drawPixel
svn-id: r18027
2005-05-10 06:42:31 +00:00
Travis Howell
f1c3eb24ef Rename opcodes
svn-id: r18025
2005-05-10 05:42:48 +00:00
Travis Howell
19b0931450 Rename opcode
svn-id: r18024
2005-05-10 05:34:50 +00:00
Travis Howell
239e7ae062 Add heversions for dutch versions.
Add dutch freddi1

svn-id: r18023
2005-05-10 03:03:28 +00:00
Travis Howell
1c2a88154a Add Freddi's funshop
svn-id: r18021
2005-05-10 02:25:17 +00:00
Eugene Sandulenko
1a9683a8e8 Fixed PuttRace logic routines. Now they match thanks to ajax16384's great
tool.

svn-id: r18019
2005-05-10 01:01:45 +00:00
Travis Howell
6e07c772af Add more dutch versions.
svn-id: r18015
2005-05-09 23:45:46 +00:00
Gregory Montoir
1c6788797e sprite_he.cpp
svn-id: r18010
2005-05-09 18:47:39 +00:00
Gregory Montoir
302fdd3eee oops
svn-id: r18009
2005-05-09 18:34:55 +00:00
Gregory Montoir
c0ec310a43 fixed spritesMarkDirty
svn-id: r18008
2005-05-09 18:26:36 +00:00
Paweł Kołodziejski
e774f60ec6 fixed warnings
svn-id: r18004
2005-05-09 17:24:25 +00:00
Travis Howell
4c7eb3d854 Should be case 40.
svn-id: r17991
2005-05-09 06:10:17 +00:00
Travis Howell
cc5caba793 HE60/61 still VAR_NOSUBTITLES.
Typo.

svn-id: r17990
2005-05-09 02:59:45 +00:00
Travis Howell
69d000d2d0 All SCUMM6 games use VAR_SUBTITLES, not VAR_NOSUBTITLES.
Cleanup.

svn-id: r17989
2005-05-09 02:38:58 +00:00
Eugene Sandulenko
51b92411e2 Rest of PuttRace logic code. Still buggy.
svn-id: r17988
2005-05-09 02:30:31 +00:00
Travis Howell
4b60b2f343 Typo
svn-id: r17986
2005-05-09 00:48:21 +00:00
Travis Howell
c80f614981 Add a few more md5s
Set sfxMode mode for speech in HE games again.

svn-id: r17985
2005-05-09 00:42:11 +00:00
Max Horn
c33cc2ce85 Last part of patch #1163026 (Thumbnails for ScummEngine)
svn-id: r17982
2005-05-09 00:09:01 +00:00
Eugene Sandulenko
1cddaa828c o Fixed detection of Dutch Freddi1
o Added md5s for Mac Football2002 demo
o Added english FF5 demo

svn-id: r17976
2005-05-08 22:10:09 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Max Horn
cf936916db Comply with our coding conventions
svn-id: r17972
2005-05-08 21:18:37 +00:00
Travis Howell
e01014e971 The default platform should be PC (Windows for HE70+)
Avoids issues with older config files.

svn-id: r17967
2005-05-08 14:55:15 +00:00
Travis Howell
f52ef27fe8 Should be an error now.
svn-id: r17966
2005-05-08 14:38:56 +00:00
Travis Howell
01b2f38670 HE games queue speech as sound resource 1.
svn-id: r17965
2005-05-08 14:31:27 +00:00