96586 Commits

Author SHA1 Message Date
Matthew Duggan
8424ea0b1b ULTIMA8: Add cast to supress warning 2020-05-03 11:34:25 +09:00
Matthew Duggan
f910fbe1b2 ULTIMA: Add PC98 Ultima 1 detection 2020-05-03 11:29:36 +09:00
Paul Gilbert
fccc6e4cc6 ULTIMA4: Remainder of combat keypress code refactored 2020-05-02 16:53:00 -07:00
Paul Gilbert
f6646f26cc ULTIMA4: Move combat triggers key to debugger 2020-05-02 16:53:00 -07:00
Paul Gilbert
2f8feda600 ULTIMA4: Combat ready weapon 2020-05-02 16:52:59 -07:00
Paul Gilbert
0d8cafe477 ULTIMA4: Combat locate action 2020-05-02 16:52:59 -07:00
Paul Gilbert
1a2e3884ce ULTIMA4: Properly get combat focused character for actions 2020-05-02 16:52:59 -07:00
Eugene Sandulenko
4272eaabc3 GRAPHICS: MACGUI: Corrected mouse cursor positioning in editable text 2020-05-03 01:33:54 +02:00
Eugene Sandulenko
19233ca5b1 GRAPHICS: MACGUI: Implemented cursor positioning with mouse in MacEditableText 2020-05-03 01:31:53 +02:00
Eugene Sandulenko
f883d195d0 GRAPHICS: MACGUI: Added comments and removed redundant methods in MacText 2020-05-03 01:31:53 +02:00
Thierry Crozat
75f8cfac56 DREAMWEB: Use more accurate vsync timing
The vsync delay is 14 ms (1000 / 70), and using a loop with
a sleep of 10ms until we had passed that delay meant we were
actually waiting anytime between 14 and 23 milliseconds, which
made the game slower than it should be. This was partially
corrected by using a delay of 11 ms (800 / 70), but this was
still inacurate and too slow in average.

In addition, since the change in commit 87c8b60, it was ignoring
the time spent in the game loop, which on slow devices is not
negligeable, and this has been fixed as well.

Finally also change the fast speed from 20 to 4. In commit
87c8b60 the delay was changed from macroseconds to milliseconds,
and any speed above 14 would then result in a delay of 0 due to
the integer division. We have the turbo mode for that, so it
seems to make sense to make the fast mode a bit slower rather
than having two modes that do the same thing.
2020-05-03 00:13:33 +01:00
Eugene Sandulenko
8038305660 NEWS: Mention improved MM NES palette support 2020-05-03 01:13:13 +02:00
mataniko
e85e6cf846 SCUMM: Fix MM NES palette and colors
Also adds an optional more natural palette as a game option
2020-05-03 01:11:13 +02:00
Eugene Sandulenko
217884d873 GRAPHICS: MACGUI: Collapse text formatting in getTextChunk() 2020-05-03 00:44:54 +02:00
Eugene Sandulenko
8615f27a87 GRAPHICS: MACGUI: Implemented reshuffleParagraph() in editable text 2020-05-03 00:23:34 +02:00
Eugene Sandulenko
302cfb5459 GRAPHICS: MACGUI: Fixed edge cases for cursor navigation 2020-05-02 23:43:05 +02:00
Eugene Sandulenko
2b1297c2f9 GRAPHICS: MACGUI: Fix text insertion 2020-05-02 22:02:12 +02:00
Eugene Sandulenko
b8d2cdff02 GRAPHICS: MACGUI: Fix deleting characters at edge of chunks 2020-05-02 22:01:11 +02:00
Eugene Sandulenko
d57b724999 GRAPHICS: MACGUI: Code cleanup 2020-05-02 21:58:27 +02:00
Eugene Sandulenko
e7045ee28b GRAPHICS: MACGUI: Implemented addNewLine() in editable text 2020-05-02 21:53:56 +02:00
Eugene Sandulenko
520e2b107b GRAPHICS: MACGUI: Fixed vertical cursor movement in editable text 2020-05-02 21:27:58 +02:00
Eugene Sandulenko
0c0ea1c778 DIRECTOR: Field text is always black in Director 2020-05-02 21:11:06 +02:00
Matthew Duggan
a64462a60f AUDIO: Add support for loading Crusader AMF files 2020-05-02 20:09:23 +02:00
Matthew Duggan
3717718148 ULTIMA6: Fix 2 crash bugs 2020-05-02 22:53:58 +09:00
Matthew Duggan
da2ac4eabc ULTIMA: Add PC98 Ultima 6 detection 2020-05-02 22:53:21 +09:00
Matthew Duggan
f6a5e00245 ULTIMA: Add Japanese Ultima8 to detection tables 2020-05-02 21:57:15 +09:00
Eugene Sandulenko
9b4458efe2 GRAPHICS: MACGUI: Use proper colors in editable text 2020-05-02 13:04:41 +02:00
Matthew Duggan
79f151c6aa AUDIO: Import small fix from latest micromod/ibxm
Specifically, 9ff030a (Fix set panning command.)
2020-05-02 17:07:54 +09:00
Matthew Duggan
4a3b483aeb ULTIMA8: Engine support for loading crusader music 2020-05-02 17:02:27 +09:00
Paul Gilbert
62adf445b1 ULTIMA4: Fix screen shaking 2020-05-01 21:54:54 -07:00
Paul Gilbert
916e4390c6 ULTIMA4: Janitorial 2020-05-01 21:40:43 -07:00
Paul Gilbert
ed4cb527e4 ULTIMA4: Destroy creatures cheat action 2020-05-01 21:35:49 -07:00
Paul Gilbert
319e0afda4 ULTIMA4: Fix get chest crash 2020-05-01 21:03:58 -07:00
Paul Gilbert
c2414c7dc7 ULTIMA4: Combat cast action 2020-05-01 21:00:18 -07:00
Paul Gilbert
fc3dbbe426 ULTIMA4: Attack for combat controller 2020-05-01 20:36:39 -07:00
Paul Gilbert
e403c7c6f5 ULTIMA4: Switch combat to use the normal keybindings action
I'll want to still accept keys that are disallowed during combat,
so they'll funneled through to action execution and give a proper
'Not Here' response, rather than being completely ignored
2020-05-01 18:47:18 -07:00
Paul Gilbert
d352578887 ULTIMA4: Cleanup of CombatController moveCreatures 2020-05-01 17:23:58 -07:00
Paul Gilbert
f86a31cfdb ULTIMA4: Fixing Coverity warnings 2020-05-01 17:10:53 -07:00
Paul Gilbert
23ddfc7c20 ULTIMA4: Cleanup of dungeon room party/creature positions 2020-05-01 12:59:42 -07:00
Paul Gilbert
3fd696e81f ULTIMA4: New keybinding group for configuration keys 2020-05-01 12:59:42 -07:00
Eugene Sandulenko
bd96b30161 DIRECTOR: LINGO: Remove unnecessary object instantiation 2020-05-01 15:08:35 +02:00
Eugene Sandulenko
619ead749b DIRECTOR: Plug editable text 2020-05-01 15:07:22 +02:00
Eugene Sandulenko
abe45f2895 GRAPHICS: MACGUI: Implemented method for obtaining edited string 2020-05-01 15:07:22 +02:00
Eugene Sandulenko
b1a8835adc GRAPHICS: MACGUI: Implemented trivial case for backspace in editable text 2020-05-01 15:07:22 +02:00
sluicebox
dc10e95dad SCI: Fix LB1 Review Notes dialog 2020-05-01 01:07:55 -07:00
Matthew Duggan
a2b3790063 ULTIMA8: CRUSADER: Support game menu and quit gump. 2020-05-01 15:18:43 +09:00
Matthew Duggan
e5501c7be4
BASE: Move CoreMIDI to end of list to speed up finding the right device (#2193)
CoreMIDI provides hardware midi device support.

On my MacBook, the first call to MIDIGetNumberOfDestinations() takes around 2
seconds.  Using one of the midi devices lower on the plugin list (mt32,
fluidsynth, etc) takes 2 extra seconds on every game start as
MidiDriver::getDeviceHandle() enumerates all the plugins to find the right one.

This change simply moves CoreMIDI to the bottom of the list.  It will still
take 2 extra seconds when opening the options box, but that's a rare operation
relative to starting games.
2020-05-01 13:27:43 +09:00
Paul Gilbert
6cb8460d44 ULTIMA4: Direction keys and Pass actions for combat controller 2020-04-30 21:23:03 -07:00
Paul Gilbert
b2544ee9ae ULTIMA4: Beginnings of keymapping for combat controller 2020-04-30 21:23:03 -07:00
Paul Gilbert
9069ae3f8f ULTIMA4: Fix loading combat maps 2020-04-30 21:23:03 -07:00