Commit Graph

96132 Commits

Author SHA1 Message Date
Paul Gilbert
77c038f181 ULTIMA4: Search to keybinder 2020-04-13 20:56:34 -07:00
Paul Gilbert
22bc8e5438 ULTIMA4: Ready weapon to keybinder 2020-04-13 20:56:33 -07:00
Paul Gilbert
f2bd9f0f92 ULTIMA4: Cast spell to keybinder 2020-04-13 20:56:33 -07:00
Paul Gilbert
7bb3369c2c ULTIMA4: Open door to keybinder 2020-04-13 20:56:33 -07:00
Paul Gilbert
aa0e1be887 ULTIMA4: Adding some asserts before dereferences 2020-04-13 20:56:33 -07:00
Paul Gilbert
c1f584751c ULTIMA4: New Order to keybinder 2020-04-13 20:56:33 -07:00
Paul Gilbert
405db293c5 ULTIMA4: Mix Reagents to keybinder 2020-04-13 20:56:33 -07:00
Paul Gilbert
6bc1ef85b7 ULTIMA4: Locate Position to keybinder 2020-04-13 20:56:33 -07:00
Eugene Sandulenko
2920a76611 DIRECTOR: Further work on editable text rendering 2020-04-14 00:43:13 +02:00
Eugene Sandulenko
2fb21ba90a GRAPHICS: MACGUI: Split drawing and blitting operations for widgets 2020-04-14 00:42:39 +02:00
Eugene Sandulenko
fb11113d00 GRAPHICS: MACGUI: Properly initialize font in MacEditableText 2020-04-14 00:40:35 +02:00
Eugene Sandulenko
06fc491663 GRAPHOCS: MACGUI: Renamed MacWindow::getSurface() to getWindowSurface() 2020-04-14 00:27:49 +02:00
Eugene Sandulenko
e7b2b87acf GRAPHICS: MACGUI: Cleanup MacEditableText of border logic 2020-04-13 15:48:01 +02:00
Eugene Sandulenko
1308feadb9 DIRECTOR: Moved MacWidget from Sprite to Cast to avoid duplication 2020-04-13 14:50:42 +02:00
Eugene Sandulenko
f7f9c02ac7 DIRECTOR: LINGO: Initialize script context on Lingo object creation 2020-04-13 14:45:34 +02:00
Eugene Sandulenko
c99c107728 DIRECTOR: Initialize class variable 2020-04-13 14:45:34 +02:00
Paul Gilbert
b8c3775644 ULTIMA4: Shifting more actions to keybindings 2020-04-12 18:54:30 -07:00
Paul Gilbert
dba370697f ULTIMA4: Changed enter to a keybinder action 2020-04-12 18:54:30 -07:00
Paul Gilbert
e5894a132e ULTIMA4: Better handling for keybind actions ending turns 2020-04-12 18:54:30 -07:00
Paul Gilbert
6b637be1bd ULTIMA4: Making attack & board keybinder actions 2020-04-12 18:54:30 -07:00
Paul Gilbert
6f4f4e828f ULTIMA4: Hooking up movement as keybinding actions 2020-04-12 18:54:30 -07:00
sluicebox
6c7d39618f SCI32: Fix loading Mac Sync36 resources 2020-04-12 17:44:01 -07:00
Eugene Sandulenko
f0fb9652a8 DIRECTOR: Refactored Frame::renderBitmap() for consistency 2020-04-12 23:21:44 +02:00
Nathanael Gentry
1ce36183bd DIRECTOR: JANITORIAL: Change spaces to tabs 2020-04-12 17:49:01 +02:00
Nathanael Gentry
9909097285 DIRECTOR: LINGO: Implement kTheLastRoll function 2020-04-12 17:49:01 +02:00
Nathanael Gentry
070b4266ed DIRECTOR: LINGO: Implement kTheLastEvent function 2020-04-12 17:49:01 +02:00
Nathanael Gentry
0e15e2f080 DIRECTOR: LINGO: Implement kTheLastClick function 2020-04-12 17:49:01 +02:00
Nathanael Gentry
c5651d67a6 DIRECTOR: LINGO: Implement kTheLastKey function 2020-04-12 17:49:01 +02:00
Nathanael Gentry
de24b461b9 DIRECTOR: Implement getMacTicks utility 2020-04-12 17:49:01 +02:00
Nathanael Gentry
8532628f97 DIRECTOR: LINGO: Implement kTheLastFrame property 2020-04-12 17:49:01 +02:00
Bastien Bouclet
85e3fb38fb SDL: Change keyboard repeat to apply on unmapped events
The keyboard repeat event generator is used when building against SDL1.
Previously the repeat events would generate based on the event stream
produced by the keymapper which is not guaranteed to have matching up
and down events in the case the keymaps are changed while a key is
pressed.

Fixes #11417.
2020-04-12 11:11:00 +02:00
sluicebox
23fc7f52e0 SCI: Fix SoundResource error handling, ctor, dtor
Fixes several problems with the SoundResource class:

- Constructor doesn't fully initialize object if resource doesn't exist
- Destructor crashes if object not fully initialized
- Constructor has no mechanism to report failure
- Callers believe failure is reported by constructor returning null
- SoundCommandParser::initSoundResource attempts to pre-detect failure
  insufficiently in the absence of a formal mechanism.

SoundResource now always fully initializes, the destructor no longer
accesses uninitialized memory, and an exists() method has been added
which callers now test.

SQ6 Mac can now progress past the main menu.
2020-04-12 01:47:15 -07:00
Paul Gilbert
17611ac289 ULTIMA4: Move destroy debug key to debugger 2020-04-11 19:54:37 -07:00
Paul Gilbert
188d1163b9 ULTIMA4: Moving more debug keys to debugger 2020-04-11 19:39:35 -07:00
Paul Gilbert
93c18c09f6 ULTIMA4: Move dungeon jumps to a debugger command 2020-04-11 19:22:51 -07:00
Paul Gilbert
3a29bc3e18 ULTIMA4: Fixes to transport debugger action 2020-04-11 17:54:13 -07:00
Paul Gilbert
1ac6450cdd ULTIMA4: Remove old cheat controller 2020-04-11 17:54:13 -07:00
Paul Gilbert
effaae3c16 ULTIMA4: Remainder of cheat debugger commands 2020-04-11 17:54:13 -07:00
Paul Gilbert
9783bccf12 ULTIMA4: More debugger commands 2020-04-11 17:54:13 -07:00
Eugene Sandulenko
d526f340fb DIRECTOR: Initial plug in for MacEditableText 2020-04-12 01:46:02 +02:00
Eugene Sandulenko
a3967ca048 GRAPHICS: MACGUI: Implemented abstract method stubs for MacEditableText 2020-04-12 01:46:02 +02:00
Eugene Sandulenko
d6c839dc8c DIRECTOR: Removed redundant Sprite copy constructor 2020-04-12 01:46:02 +02:00
Eugene Sandulenko
a2d7f975a1 DIRECTOR: Introduced editable flag to sprites 2020-04-12 01:46:02 +02:00
Paul Gilbert
fee1e8a30c ULTIMA4: Added moon debugger command 2020-04-11 11:42:58 -07:00
Paul Gilbert
5ab8f7d059 ULTIMA4: Added gate dbugger command 2020-04-11 11:20:47 -07:00
Paul Gilbert
7eca8b6c8c ULTIMA4: Skeleton beginnings of debugger & keymapper 2020-04-11 11:20:47 -07:00
Eugene Sandulenko
8ea7c381d0 DIRECTOR: Fix regression brought by new implementation of toString()
If we leak memory, that's a different problem
2020-04-11 13:29:30 +02:00
Eugene Sandulenko
278c6c809e DIRECTOR: Fix crash on optimized out 32-bpp pictures
They still are not rendered correctly
2020-04-11 13:04:30 +02:00
Eugene Sandulenko
a456938dab DIRECTOR: Fix code formatting 2020-04-11 13:00:55 +02:00
sluicebox
92b28e00ad AUDIO: Fix compiler warning 2020-04-11 03:30:35 -07:00