Commit Graph

120998 Commits

Author SHA1 Message Date
djsrv
0c053d20ba GRAPHICS: MACGUI: Replace kMacCentralEurope with kMacRoman 2021-07-12 15:41:21 -04:00
djsrv
74836ac8bb DIRECTOR: Replace kMacCentralEurope with kMacRoman 2021-07-12 15:41:21 -04:00
djsrv
0b7af4209f GRAPHICS: MACGUI: Remove MacButton ctor with encodeType
Encoding is handled in MacFontRun now, so this is no longer needed.
2021-07-12 15:41:21 -04:00
djsrv
671fdf8cd9 COMMON: Add MacRoman codepage 2021-07-12 15:41:21 -04:00
djsrv
354e344b4d GRAPHICS: MACGUI: Start IDs for new font registrations at 100
Makes it clearer that these are not system fonts.
2021-07-12 15:41:21 -04:00
djsrv
68426370f3 GRAPHICS: MACGUI: Don't register font name in loadFonts
We don't know a font's preferred ID at this point. We must get that from
the Director movie's font map.
2021-07-12 15:41:15 -04:00
Crane yang
d61a467247 I18N: Update translation (Chinese (zh))
Currently translated at 15.6% (258 of 1648 strings)
2021-07-12 15:25:34 +00:00
Eugene Sandulenko
9b8635ff80
SAGA2: Rename loadsave.* to saveload.*
In order to be consistent with other engines
2021-07-12 17:11:37 +02:00
Eugene Sandulenko
24fa43f2ce
SAGA2: Move SaveFileHeader to more appropriate place 2021-07-12 17:11:37 +02:00
Eugene Sandulenko
1d169ee4bf
SAGA2: Remove savefile.* 2021-07-12 17:11:37 +02:00
Eugene Sandulenko
eb7c7273db
SAGA2: Remove old save/load methods 2021-07-12 17:11:37 +02:00
Torbjörn Andersson
e0d1854c01 COMMON: Fix encoding of the string "Norwegian Bokmål" 2021-07-12 16:39:03 +02:00
a/
8b460556ac SAGA2: Move _bandList construction to Saga2Engine 2021-07-12 19:23:19 +09:00
a/
54cf566278 SAGA2: Make actorCount constant 2021-07-12 19:23:19 +09:00
Fiodar Stryzhniou
1783836a0f SYMBIAN: symbian_builder can apply single line patches. 2021-07-12 11:48:29 +02:00
Fiodar Stryzhniou
f992ae017b SYMBIAN: Fix exception in thread function for piper.py and build_apps.py
Allow build older version with current symbian_builder module in case regression.
Set verbose option in installer builder instead error-checking.
Fix ugly 'crcrlf' line endings.
2021-07-12 11:48:29 +02:00
Fiodar Stryzhniou
d48a14fd08 SYMBIAN: Add right source_patcher.py. 2021-07-12 11:48:29 +02:00
Fiodar Stryzhniou
4c8ea82bb7 SYMBIAN: Enhancement for app build.
Add missed library dependency.
Resolve linker errors compiling certain files with exe
Added generator for installer builder
Added source patcher. It make abld build system happy if these patches break other ports and therefore can't accepted. Currently fixes "..." in macros arguments.
Delete obsolete files.
2021-07-12 11:48:29 +02:00
a/
46f426ccdb SAGA2: Remove unneeded step in cleanupGameState 2021-07-12 17:19:01 +09:00
a/
97f90e5e2d SAGA2: Fix list removal on cleanupTimers 2021-07-12 17:19:01 +09:00
a/
5e6d32062c SAGA2: Fix list removal on gControl delete 2021-07-12 17:19:01 +09:00
a/
f0016b02df SAGA2: Fix debug messages 2021-07-12 17:19:01 +09:00
ysj1173886760
0565b342a3 DIRECTOR: support scaling matte ink bitmap castmember 2021-07-12 15:24:32 +08:00
ysj1173886760
a2b9aa11f8 DIRECTOR: amend b_fplay 2021-07-12 14:38:23 +08:00
ysj1173886760
a1ed269f1b DIRECTOR: support continuous argument for fplay 2021-07-12 14:15:25 +08:00
ysj1173886760
fb6bf94ddb DIRECTOR: implement fplay of fplayxobj 2021-07-12 14:15:25 +08:00
ysj1173886760
f719167515 DIRECTOR: add ignoreCast option for findResourceID 2021-07-12 14:15:25 +08:00
ysj1173886760
090302e636 DIRECTOR: add comments for pathMakeRelative 2021-07-12 14:15:25 +08:00
ysj1173886760
25c7822ec3 DIRECTOR: enhance pathMakeRelative to deal with directories at any level. 2021-07-12 14:15:25 +08:00
ysj1173886760
8d5f8cef1c DIRECTOR: passing events to both widget and director. 2021-07-12 14:15:24 +08:00
ysj1173886760
bd78996349 DIRECTOR: amend pushing character constants 2021-07-12 14:15:24 +08:00
ysj1173886760
e4105dc091 DIRECTOR: clear the widget pointers in castmember when we are switching the movie. 2021-07-12 14:15:24 +08:00
djsrv
ac5dfc64f6 DIRECTOR: Fix text formatting in The Apartment 2021-07-12 01:47:30 -04:00
djsrv
92ea5a7d76 DIRECTOR: Use String::format instead of U32String::format
U32String::format doesn't support all the formatting types
Common::String does. So just use String::format then cast to U32String.
2021-07-12 01:33:52 -04:00
djsrv
9fe78bc54d GRAPHICS: MACGUI: Fix unregistered font segfault 2021-07-12 01:33:16 -04:00
Paul Gilbert
116a2f8941 AGS: Further improve rendering with a screen dirty rect area
When the screen format doesn't match the virtual screen, rather than
blitting the entire surface each frame, keep track of the largest
bounds of pixels that have been changed when writing to the temporary
intermediate screen, and only blit the resulting area.

Long term, though, it would be interesting to review to see if the
batch system the graphics driver uses for rendering can be used to
determine a list of rects in the screen that are affected. If so,
hopefully those can be used instead.
2021-07-11 22:12:09 -07:00
djsrv
c4626eef97 GRAPHICS: MACGUI: Fix compilation
Forgot to eliminate new uses of _encodeType when rebasing. As formatting
strings only use ASCII characters the encoding shouldn't really matter,
and using the default of UTF-8 is easier than fetching the actual
encoding from the relevant MacTextRun.
2021-07-12 00:54:37 -04:00
djsrv
f1ddc4b346 DIRECTOR: Handle STXT encoding 2021-07-12 00:38:05 -04:00
djsrv
63b69aa91e DIRECTOR: Create function to detect encoding from font 2021-07-12 00:38:05 -04:00
djsrv
5bc3ad06c0 GRAPHICS: MACGUI: Move encoding tracking to MacFontRun
Font is basically the only way to determine a piece of text's encoding
in Director. Since MacFontRun tracks fonts, it's the nicest place to
handle encoding too.
2021-07-12 00:38:05 -04:00
djsrv
f4d2b75342 GRAPHICS: MACGUI: Set default encodings in registerFontName 2021-07-12 00:38:05 -04:00
djsrv
2e3b08017f GRAPHICS: MACGUI: Whitespace cleanup 2021-07-12 00:38:05 -04:00
djsrv
acb3ace45e GRAPHICS: MACGUI: Detect Japanese fonts from preferred ID 2021-07-12 00:38:05 -04:00
djsrv
71d4127b8a GRAPHICS: MACGUI: Store font lang and encoding 2021-07-12 00:38:05 -04:00
djsrv
ed406150c2 GRAPHICS: MACGUI: Add font name from Alan Kay demo 2021-07-12 00:38:05 -04:00
djsrv
50cec75fd5 GRAPHICS: MACGUI: Remove changing font ID 3 to 1
We register font ID 3 now.
2021-07-12 00:38:05 -04:00
djsrv
53f600846b GRAPHICS: MACGUI: Fix fallback of Japanese fonts to Osaka 2021-07-12 00:38:05 -04:00
djsrv
e1d375a6d1 DIRECTOR: Register fonts to original ID if possible 2021-07-12 00:38:05 -04:00
djsrv
b57f6d8b7f GRAPHICS: MACGUI: Allow fonts to be registered to a preferred ID 2021-07-12 00:38:05 -04:00
djsrv
fcb4649b14 DEVTOOLS: Add script to extract Japanese Mac fonts 2021-07-12 00:38:05 -04:00