96541 Commits

Author SHA1 Message Date
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
Matthew Duggan
9d962d92b7 ULTIMA8: Add engine support for crusader movies 2020-05-01 13:00:40 +09:00
Paul Gilbert
5ae8523b0e GLK: SCOTT: Add detection for Buckaroo Bonzai 2020-04-30 17:40:40 -07:00
Thierry Crozat
f6ce06fa4f MACOSX: Support using FriBiDi when building bundle 2020-05-01 00:58:21 +01:00
Eugene Sandulenko
c879bba4b4 GRAPHICS: MACGUI: Implemented trivial case of character insertion in MacText 2020-05-01 01:30:20 +02:00
Eugene Sandulenko
a5f2284421 COMMON: Added U32String::insertChar() 2020-05-01 01:30:20 +02:00
Matthew Duggan
352eeb5795 CREATE_PROJECT: Add c++11 warnings to xcode project 2020-05-01 00:01:02 +01:00
Zvika Haramaty
7e168256c2 DEVTOOLS: add fribidi library support to create_project 2020-04-30 23:59:10 +01:00
Eugene Sandulenko
877320d509 GRAPHICS: MACGUI: Implemented vertical cursor navigation in editable text 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
cd1ef8e879 GRAPHICS: MACGUI: Implemented horizontal cursor navigation in editable text 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
5ff383d042 GRAPHICS: MACGUI: Pass keyboard event to active widget in editable window 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
cc58bbb05a DIRECTOR: The created window should receive keyboard events 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
e88a9016ea GRAPHICS: MACGUI: Added notion of paragraphs to MacText 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
5a6ff99821 GRAPHICS: MACGUI: Simplified editable text code 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
d6ab653e57 GRAPHICS: MACGUI: Initial code for cursor management in editable text 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
5aa4fbd20a GRAPHICS: MACGUI: Fix selection and cursor drawing in editable text 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
8b7abdb15d GRAPHICS: MACGUI: Fix crash in editable text selection 2020-05-01 00:49:58 +02:00
Eugene Sandulenko
bfdc650d95 GRAPHICS: MACGUI: Unset previous active widget when setting the new one 2020-05-01 00:49:58 +02:00
jepael
7aeba38621 JANITORIAL: Fix compiler warning 2020-04-30 13:51:41 -07:00
Eugene Sandulenko
93e0702562 JANITORIAL: Fix code formatting 2020-04-30 15:44:13 +02:00
Eugene Sandulenko
f257ef5af9 GLK: AGT: Added missing comma between string literals 2020-04-30 15:39:42 +02:00
Eugene Sandulenko
e6b73fb53d TITANIC: Added missed commas between string constants 2020-04-30 15:36:02 +02:00
Eugene Sandulenko
9af58fee9f GLK: JACL: Fix copy/paste errors 2020-04-30 15:31:37 +02:00
Eugene Sandulenko
26eb6fe809 STARTREK: Fix copy/paste error which led to broken saves 2020-04-30 15:28:04 +02:00
Eugene Sandulenko
1196f86b4b SCUMM: Initialize memory on allocation 2020-04-30 14:53:12 +02:00
Eugene Sandulenko
cd9512d4b2 GLK: HUGO: Use memmove for overlapping buffers 2020-04-30 14:42:43 +02:00
Eugene Sandulenko
cd42932bb2 GLK: ALAN2: Fixed more printf format strings 2020-04-30 14:36:37 +02:00
Eugene Sandulenko
1e20ac5713 GLK: QUEST: Fix va_args usage 2020-04-30 14:34:04 +02:00
Eugene Sandulenko
50aace7179 PARALLACTION: Fix potential undefined behaviour 2020-04-30 14:26:53 +02:00
Eugene Sandulenko
34ed51e33e PARALLACTION: Fix buffer overrun 2020-04-30 14:24:34 +02:00
Eugene Sandulenko
6fdd705659 WAGE: Better event handling in sound 2020-04-30 14:22:21 +02:00
Eugene Sandulenko
267c78a40c WAGE: Plug memory leaks 2020-04-30 14:21:14 +02:00
Eugene Sandulenko
b5f0be3d72 AVALANCHE: Use memmove for overlapping buffers 2020-04-30 13:51:23 +02:00
Eugene Sandulenko
002e603c49 HDB: Initialize more class variables 2020-04-30 13:49:33 +02:00
Eugene Sandulenko
2f4fa27943 HDB: Use strlcpy 2020-04-30 13:46:00 +02:00
Eugene Sandulenko
8583efc1d6 DIRECTOR: LINGO: Fix warning 2020-04-30 12:11:45 +02:00
Eugene Sandulenko
c9f2746df7 NEWS: Mention FriBiDi support 2020-04-30 11:53:49 +02:00
Eugene Sandulenko
bd788ad801 BASE: Mention FriBiDi in the about dialog when compiled in 2020-04-30 11:52:42 +02:00
Eugene Sandulenko
ef8b5a4a0a PRINCE: Print translation file version and build date. Made format extensible 2020-04-30 10:33:48 +02:00
Eugene Sandulenko
afa3470343 PRINCE: Update translation file with version info 2020-04-30 10:33:48 +02:00
Zvika Haramaty
1b8f471c69 GUI: Added (partial) BiDI support
Added GNU FriBidi, thus allowing Hebrew (or other future RTL languages)
to be displayed correctly.
It's been implemented for all ScummVM GUI (as far as I have noticed),
and can be further used by the engines as needed.

This work is only partial, because for complete BiDI support we'll need
to mirror the widgets, and support input text areas (which currently
don't even support Hebrew text input at all).

Some changes are required in order to use this:
- Visual Studio:
  -- add FriBidi lib from https://github.com/ShiftMediaProject/fribidi
     (and place the files in the other libs location)
  -- add fribidi.dll to the current directory
  -- add fribidi.lib to VS library list
     (in GUI it's: Project -> scummvm Properties -> Linker ->
                   input -> Additional Dependencies)
  -- Add USE_FRIBIDI define
     either to:
         dists/msvc/ScummVM_Global.props   <PreprocessorDefinitions>
     or in GUI:
         Project -> scummvm Properties ->
         C/C++ -> Preprocessor -> Preprocessor Definitions
- GCC:
  -- install FriBidi
     e.g.,
        Ubuntu: `apt-get install libfribidi-dev`
        CentOS: `yum install fribidi-devel`
  -- rerun `configure`
2020-04-30 10:32:18 +02:00
Matthew Duggan
37db3eff26 ULTIMA8: Fix lots more coverity issues 2020-04-30 16:16:36 +09:00
Paul Gilbert
e9b4d18ad2 ULTIMA4: Stop keypresses being drawn during intro 2020-04-29 22:00:44 -07:00
Paul Gilbert
d9a9e0f91d ULTIMA4: Extract data tables from exes into ultima.dat 2020-04-29 22:00:44 -07:00
Paul Gilbert
74aef2ae03 GLK: Adding game detections 2020-04-29 22:00:44 -07:00
Eugene Sandulenko
8996711055 GRAPHICS: MACGUI: Display cursor in MacEditableText 2020-04-29 20:55:38 +02:00