Paul Gilbert
a1bc9612da
AGS: Don't pass palettes to ScummVM in non-paletted games
2021-06-20 19:58:56 -07:00
Paul Gilbert
259accebac
AGS: Properly update palette in 8-bit paletted mode
2021-06-20 19:15:56 -07:00
Paul Gilbert
aec0a06700
AGS: Enable setting paletted graphics mode
2021-06-20 19:15:56 -07:00
Paul Gilbert
827efed918
AGS: Added detection entries
2021-06-20 19:15:55 -07:00
lb_ii
6f8764b14c
COMMON: Rewrite BASESTRING::contains() with algorithm from BASESTRING::find()
2021-06-21 02:29:05 +03:00
lb_ii
b886c238fe
COMMON: Fix BASESTRING::contains()
2021-06-21 02:29:05 +03:00
Cameron Cawley
4160d0ea06
CI: Remove Travis CI builds
2021-06-20 21:28:29 +01:00
Cameron Cawley
577a0397bc
CI: Add Linux builds to GitHub Actions
2021-06-20 21:28:29 +01:00
antoniou79
ae5277f942
GUI: Update domain name for backendOptions upon renaming Game id
...
Without this, the ports using backendOptions Widget could error trying to access the domain with the old name
For example, the Android port, upon editing and renaming the Game Id, would error with a message like "E/ScummVM: ConfigManager::removeKey(onscreen_control, bladerunner-final-win) called on non-existent domain". This is because in its AndroidOptionsWidget::save() method (called within OptionsDialog::apply()), there were calls to removeKey() which internally was using the stale/old _domain (domain name before the renaming)
2021-06-20 22:50:12 +03:00
Paul Gilbert
3bd95cbeb5
AGS: Fix crash in MMM 23 ending
...
This fixes bug #12605 by changing the error to a warning
2021-06-20 11:33:37 -07:00
Paul Gilbert
a179d984b4
AGS: Fix upper limit for random number generation
2021-06-20 10:55:55 -07:00
Filippos Karapetis
95cec50195
TRECISION: Don't refresh objs outside of the current room - bug #12625
2021-06-20 17:04:01 +03:00
Filippos Karapetis
7ebd9c9558
TRECISION: Janitorial - use unified naming for loop variables
2021-06-20 17:04:01 +03:00
ysj1173886760
111bd187bc
GRAPHICS: MACGUI: use _active to replace _invertOuter in macbutton
2021-06-20 14:33:53 +02:00
ysj1173886760
7902d910db
DIRECTOR: amend the version check in events and hilite check. add warning for readability
2021-06-20 14:33:53 +02:00
ysj1173886760
93421af649
GRAPHICS: MACGUI: clean the code and write comments for readability
2021-06-20 14:33:53 +02:00
ysj1173886760
b3ef5de251
DIRECTOR: use 0 for not-skip drawing when dealing with mask sprites.
2021-06-20 14:33:53 +02:00
ysj1173886760
fd8483f7cc
GRAPHICS: MACGUI: fix drawing the mactext,
...
currently we have some problems when dealing with the alignments, so i changed to this one.
It's may get a little bit slow, but we may optimize it later
2021-06-20 14:33:53 +02:00
ysj1173886760
ab9aef85b7
DIRECTOR: add a link with widget for text castmember. Set widget directly if we have widget to control.
...
Set text to mactext directly and add dirty rect when we are doing set the text. By doing this, we can reach the real-time modifying effect for text castmember.
2021-06-20 14:33:53 +02:00
ysj1173886760
343597bd43
GRAPHICS: MACGUI: add setText for mactext
2021-06-20 14:33:53 +02:00
ysj1173886760
8c08bfa2a8
DIRECTOR: amend comments
2021-06-20 14:33:53 +02:00
ysj1173886760
33d0c9d6f8
DIRECTOR: return channel bbox when using constrainH/V, instead of initialRect of castmember.
2021-06-20 14:33:53 +02:00
ysj1173886760
6ddf8426bd
DIRECTOR: implement b_constrainH and b_constrainV
2021-06-20 14:33:53 +02:00
ysj1173886760
35892297d2
DIRECTOR: introduce isFunction to TheEntity. we use theEntity as fallback only when the entity is function, not property.
2021-06-20 14:33:53 +02:00
ysj1173886760
751aba6f3e
DIRECTOR: use lingo-the as the fallback when we can't find the correspond function
2021-06-20 14:33:53 +02:00
ysj1173886760
cae7c025e5
GRAPHICS: MACGUI: use ascent to determine the vertical offset when rendering mactext
2021-06-20 14:33:53 +02:00
ysj1173886760
01b8afddf5
DIRECTOR: deal with the size of TextCastMember specially.
2021-06-20 14:33:53 +02:00
ysj1173886760
19d4004786
DIRECTOR: use kMacCentralEurope to encode text for mactext and macbutton
2021-06-20 14:33:53 +02:00
ysj1173886760
36be209490
GRAPHICS: MACGUI: modify macbutton to fit new logic of mactext
2021-06-20 14:33:53 +02:00
ysj1173886760
3817c90148
GRAPHICS: MACGUI: deal with plain bytes specially when we calculating the string width.
2021-06-20 14:33:53 +02:00
ysj1173886760
72162c41b4
GRAPHICS: MACGUI: introduce _plainByteMode to mactext for working with plain bytes. introduce _encodeType to mactext for recording encoding type
2021-06-20 14:33:53 +02:00
ysj1173886760
3098ff11b4
GRAPHICS: MACGUI: parse slant directly from name when we didn't get any slants.
2021-06-20 14:33:53 +02:00
ysj1173886760
931817d907
GRAPHICS: MACGUI: restore the cursorType when we pop the cursor, currently we use kMacCursorArrow for the default one
2021-06-20 14:33:53 +02:00
ysj1173886760
112765eb6c
GRAPHICS: MACGUI: add _inEditableArea to WM, to distinguish whether the cursor type is set by director or ourself
2021-06-20 14:33:53 +02:00
ysj1173886760
b0b7cdedf0
DIRECTOR: modify cursor behaviour, it will depends on the top-most channel now.
2021-06-20 14:33:53 +02:00
ysj1173886760
c8f603262b
GRAPHICS: MACGUI: fix incorrect memory accessing
2021-06-20 14:33:53 +02:00
ysj1173886760
d31331eb9a
DIRECTOR: modify the behaviour of resizeScreen to avoid memory leaks. Introduce _surface to director which will provide consistency for those engines which uses macgui.
2021-06-20 14:33:53 +02:00
ysj1173886760
cd40e09ed5
DIRECTOR: drawing macwidgets on _screen instead of drawing directly on screen. This may fix the zoombox issue
2021-06-20 14:33:53 +02:00
ysj1173886760
4928f35aac
GRAPHICS: MACGUI: create function "resizeScreen" to creating and resizing screen for WM
2021-06-20 14:33:53 +02:00
ysj1173886760
7b99bc7404
DIRECTOR: use inkTypeMatte to check whether hilite or not in D4, which is the same as D3
2021-06-20 14:33:53 +02:00
ysj1173886760
4b28dacaab
DIRECTOR: add special check for irregualr button in apartment for drawing hilite
2021-06-20 14:33:53 +02:00
ysj1173886760
31098bbb16
DIRECTOR: modify event handling, introduce _currentHiliteChannelId and _currentHandlingChannelId to movie.
...
those two are aimed for the situation that when we hold the button and move out of the bounds, then we should de-activated the sprite
_currentHilite are for Bitmap castmember inverting. _currentHandling is for other castmembers, such as macbutton which has it's own check. And also for those sprites which don't need to hilited
2021-06-20 14:33:53 +02:00
ysj1173886760
071b093995
DIRECTOR: use getActiveSpriteIDFromPos to get sprite ID when we are at D3
2021-06-20 14:33:53 +02:00
ysj1173886760
9cc29dac61
DIRECTOR: wrap updating global attributes to function updateGlobalAttr, handle button cast member attributes.
...
updateGlobalAttr will handle selEnd and selStart for text, and checkBoxType for button
2021-06-20 14:33:53 +02:00
ysj1173886760
efe872b8c0
DIRECTOR: implement the CheckBoxType to Lingo
2021-06-20 14:33:53 +02:00
ysj1173886760
3517801f05
GRAPHICS: MACGUI: introduce different checkBoxType to macbutton
2021-06-20 14:33:53 +02:00
ysj1173886760
c9c3428ed6
DIRECTOR: use getDrawPixel instead of getDrawInvertPixel to invert button
2021-06-20 14:33:53 +02:00
ysj1173886760
3644f25946
DIRECTOR: fix button hilite
2021-06-20 14:33:53 +02:00
ysj1173886760
29cf9f1454
GRAPHICS: MACGUI: fix macbutton to suit for new mactext code.
2021-06-20 14:33:53 +02:00
ysj1173886760
c9091e8a46
GRAPHICS: MACGUI: add the check when we are disabling the screen copy
2021-06-20 14:33:53 +02:00