Commit Graph

14087 Commits

Author SHA1 Message Date
Eugene Sandulenko
7fb2eda235 Patch from Quietust for MM NES:
o Fix all actor mask bugs
  o Simplify masking considerably
  o Moved the decodesNESObject call from object.cpp into gfx.cpp

svn-id: r18177
2005-05-18 23:17:04 +00:00
Eugene Sandulenko
d92c3c7c72 MM NES masking fixes from Quietust.
svn-id: r18176
2005-05-18 20:40:50 +00:00
Andrew Kurushin
94ddf3f288 fixed Sist room
svn-id: r18175
2005-05-18 19:07:07 +00:00
Andrew Kurushin
284ef431e1 fixed loadsave item resource id
partialy fixed protect rat

svn-id: r18174
2005-05-18 18:28:10 +00:00
Eugene Sandulenko
f7df4797a8 Implement proper quitting. Added quitting to sfScriptGotoScene.
svn-id: r18173
2005-05-18 16:18:00 +00:00
Torbjörn Andersson
d927a41638 Make sure the labels for the volume sliders aren't truncated. (This is my
last scaling change today. Feel free to continue. :-)

svn-id: r18172
2005-05-18 16:17:25 +00:00
Travis Howell
c986a12a81 Correct input script in C64 maniac.
svn-id: r18171
2005-05-18 16:15:56 +00:00
Torbjörn Andersson
35dda2b636 Added big slider widget. There is nothing in the widget itself that's
dependent on size, so the two different sizes are handled through a new
addSlider() function.

Figuring out why the big widget won't let you set volume to 0 is left as an
exercise for the reader.

svn-id: r18170
2005-05-18 15:58:39 +00:00
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
b575dba642 Remove newline from debug.
svn-id: r18168
2005-05-18 15:50:03 +00:00
Travis Howell
6eb84f82fa Another difference in C64 maniac.
svn-id: r18167
2005-05-18 15:42:35 +00:00
Travis Howell
b6da09d4fe Add some differences in C64 maniac.
svn-id: r18166
2005-05-18 15:30:31 +00:00
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
Max Horn
81287495e9 Remove duplicate _ws member
svn-id: r18164
2005-05-18 10:30:52 +00:00
Max Horn
4c9761592a Remove the label code from SliderWidget (simplifies it a lot); instead use a StaticTextWidget for the label
svn-id: r18163
2005-05-18 10:24:02 +00:00
Max Horn
77a237c86e Revised scrollbar look again
svn-id: r18162
2005-05-18 10:17:00 +00:00
Torbjörn Andersson
ef8e42473a Made use of addCheckbox(). I had to add an alternative form of the function
because most checkboxes are on tabs. (We'll probably need a similar form of
addButton() as well.)

svn-id: r18161
2005-05-18 10:12:20 +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
Torbjörn Andersson
f0e43fb2a6 New function: addCheckbox()
svn-id: r18159
2005-05-18 09:21:03 +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
Max Horn
e72b33e56f Oops, was the wrong MD5, forgot to only compute it for the first MB. Now verified by letting ScummVM compute the checksum (note: ScummVM runs into a deep freeze running the gob1 target for the woordruff game data, very bad)
svn-id: r18157
2005-05-18 08:40:46 +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
Torbjörn Andersson
16a1f8814b Big version of the checkbox widget.
svn-id: r18154
2005-05-18 07:23:21 +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
Max Horn
e05da91674 Added automatic word wrapping to the about scroller
svn-id: r18145
2005-05-17 23:41:35 +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
Max Horn
b985f34049 Fix word wrapping: do not generate spaces at the start/end of the wrapped lines
svn-id: r18142
2005-05-17 23:14:13 +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
Max Horn
653c9fc74d Added missing comma symbol, based on semicolon
svn-id: r18140
2005-05-17 22:43:50 +00:00
Max Horn
42db49b15a Center about dialog, and make it just wide enough to display the credits, but not wider
svn-id: r18139
2005-05-17 21:40:29 +00:00
Torbjörn Andersson
bfbbf48585 Added clipping to drawLine(). This fixes a regression that caused the
debug console to crash ScummVM. (I'm not sure, but I think it was trying to
draw the scrollbar arrows outside the screen when the console was sliding
into view.)

svn-id: r18138
2005-05-17 12:17:30 +00:00
Max Horn
8d782007c1 Added my Woodruff version to the MD5 list
svn-id: r18137
2005-05-17 11:46:07 +00:00
Torbjörn Andersson
e4f3e2a7bf Updated GUI issues.
svn-id: r18136
2005-05-17 07:18:44 +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
Torbjörn Andersson
4ecb6d650f Added "big" version of the Tab widget, and made use of it.
svn-id: r18134
2005-05-17 06:19:42 +00:00
Torbjörn Andersson
99ef35bdd4 Fixed caret regression in editable text fields.
svn-id: r18133
2005-05-17 06:19:11 +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
c64467af1a Fixed drawing of the caret. (It was drawn using the GUI font, rather than
the widget's font.)

svn-id: r18130
2005-05-16 13:43:31 +00:00
Torbjörn Andersson
9a17302f57 Use the same offset - string width for the item number - for every line in
the list. There's a slight hack here: I've assumed that all digits have the
same width.

svn-id: r18129
2005-05-16 13:28:34 +00:00
Torbjörn Andersson
8eee14934b Made InfoDialog scale itself.
svn-id: r18128
2005-05-16 12:26:44 +00:00