Commit Graph
96121 Commits
Author SHA1 Message Date
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
sluicebox 4ce7ae7bf5 AUDIO: Fix seeking past end of AIFF streams
Fixes audio in Mac versions of GK2 and PHANTASMAGORIA1
2020-04-11 03:06:41 -07:00
Matthew Duggan cecedb4f37 ULTIMA8: Refactor DataSources to inherit from Common::Streams 2020-04-11 17:05:40 +09:00
Matthew Duggan 8d50e49e32 ULTIMA8: Remove usage of readX and readXS when X is const 2020-04-11 16:35:53 +09:00
Matthew Duggan a241f33dec CREATE_PROJECT: Add libSDL_net to OSX config when needed 2020-04-11 16:06:32 +09:00
Bastien Bouclet f7efd3cd7f GUI: Fix error when renaming a target in the edit game dialog
The OptionsContainerWidget keeps a copy of the name of the game domain
that needs to be updated when the target is renamed.

Ideally, OptionsContainerWidget would simply keep a pointer to the
ConfigurationManager::Domain object, however that's not currently
possible as the ConfigurationManager defaults are global instead of
being per domain. As a result they are not accessible from the Domain
object.

Fixes #11416.
2020-04-11 08:16:21 +02:00
Paul Gilbert c9f90b23ce ULTIMA4: Faster exit quitting during intro sequence 2020-04-10 20:30:03 -07:00
Paul Gilbert 4d71cf2635 ULTIMA4: Fix key entry with modifier keys 2020-04-10 20:25:46 -07:00
Paul Gilbert cc4f30790f ULTIMA4: Fleshing out music class 2020-04-10 19:48:14 -07:00
Paul Gilbert aae8b17768 ULTIMA4: Fixing gcc warnings 2020-04-10 18:37:02 -07:00
Eugene Sandulenko d019e48f4c ULTIMA4: Fix couple of override warnings 2020-04-11 01:49:57 +02:00
stevenhoefel 40501547f4 DIRECTOR: Extend Reverse Sprite drawing for shapes and controls.
Translate 32-bit images into palette-based sprites.
2020-04-10 22:38:12 +10:00