Cameron Cawley
ff1474591f
GRAPHICS: Allow using scaleBlitBilinear using different pixel formats and pitches
2020-07-18 12:16:52 +02:00
Cameron Cawley
b2f2069fb0
GRAPHICS: Move code for bilinear scaling out of TransparentSurface
2020-07-18 12:16:52 +02:00
Cameron Cawley
42019d4252
GRAPHICS: Move code for nearest neighbour scaling out of TransparentSurface
2020-07-18 12:16:52 +02:00
Michał Janiszewski
b82df5b714
CI: Add GitHub Actions-based CI to excercise vcpkg and MSVC AArch64
2020-07-18 12:11:31 +02:00
Nathanael Gentry
5fb984e99f
DIRECTOR: Mostly implement cursor of sprite
2020-07-18 00:37:57 -04:00
Nathanael Gentry
4f15cb4af4
DIRECTOR: Introduce Cursor class
2020-07-18 00:37:57 -04:00
Nathanael Gentry
79acd63dc0
GRAPHICS: MACGUI: Generalize WM cursor handling
2020-07-18 00:37:57 -04:00
Nathanael Gentry
0b6e441241
GRAPHICS: MacCursor: Change private to protected
2020-07-18 00:37:57 -04:00
Eugene Sandulenko
fe3ddd12a2
GRAPHICS: MACGUI: Initial code for marking whole text
2020-07-18 00:46:16 +02:00
Eugene Sandulenko
a6ae56b6dd
GUI: RTL: Fix rtl-ness when theme does not support rtl language
2020-07-17 21:21:27 +02:00
Eugene Sandulenko
0654be0322
GRAPHICS: MACGUI: Implement hashing to findBestColor()
2020-07-17 14:19:22 +02:00
Eugene Sandulenko
942360f419
DIRECTOR: LINGO: More debug output during compilation
2020-07-17 13:31:42 +02:00
Nathanael Gentry
91409d2cc1
GRAPHICS: MACGUI: MacWidget: Handle priorities properly
2020-07-16 18:36:33 -04:00
Nathanael Gentry
93d9bf4671
DIRECTOR: Add partial set-clean rendering mode
...
This is a mode for when the script or other internal parameters of a sprite have
changed, but nothing on screen should change. This also ensures that cast
widgets are properly updated with new priorities on each frame.
2020-07-16 18:36:33 -04:00
Nathanael Gentry
0e6750d90c
DIRECTOR: Load palettes from shared casts
2020-07-16 18:36:33 -04:00
Nathanael Gentry
a292aab351
GRAPHICS: MACGUI: Add missing window manager assignment
2020-07-16 18:36:24 -04:00
Nathanael Gentry
19e6c4666e
DIRECTOR: Remove redundant palette search
...
This is done per-chunk in MacText.
2020-07-16 18:32:44 -04:00
Eugene Sandulenko
ed76a70d58
GRAPHICS: MACGUI: Fix warning
2020-07-17 00:30:56 +02:00
Eugene Sandulenko
18e2c5d4d2
DIRECTOR: LINGO: Removed remnant code of parens skipping
2020-07-17 00:28:53 +02:00
Eugene Sandulenko
00e095e224
DIRECTOR: LINGO: Remove hacky solution with trailing parens in D3
2020-07-17 00:24:43 +02:00
djsrv
9337e704bf
DIRECTOR: Improve movie load debugging
2020-07-16 18:15:20 -04:00
Eugene Sandulenko
00d592f6e4
DIRECTOR: LINGO: Patch malformed Lingo in jman-win
2020-07-17 00:13:33 +02:00
Eugene Sandulenko
ce15a1b6de
DIRECTOR: LINGO: Relax patch requirement to .contains
2020-07-17 00:13:03 +02:00
djsrv
990b3451d4
DIRECTOR: Disable outdated lingo in test movie
2020-07-16 17:21:08 -04:00
Eugene Sandulenko
d59292f9fd
DIRECTOR: More text cast loading
2020-07-16 17:55:34 +02:00
Nathanael Gentry
9b7c5bad48
DIRECTOR: Get proper zoomBox rectangles
2020-07-16 11:21:02 -04:00
Nathanael Gentry
dfd522bbe1
GRAPHICS: MACGUI: Reduce erroneous button activations
2020-07-16 10:31:51 -04:00
Nathanael Gentry
3cb709f135
DIRECTOR: Track dragged sprite by channel
2020-07-16 09:59:05 -04:00
Nathanael Gentry
e23c264873
GRAPHICS: MACGUI: Remove mouseDownWidget
...
The functionality I needed here can be implemented in the Director engine instead.
2020-07-16 09:59:05 -04:00
Eugene Sandulenko
5877eae6f4
DIRECTOR: Catch more stuff with buildbot, more debug output
2020-07-16 13:37:53 +02:00
Nathanael Gentry
296b42b2c0
GRAPHICS: MACGUI: Don't redundantly clear text surface
...
This fixes the issue in Director where text redrawing would overwrite the button
indication. Now, the changed-area clearance in MacText::render is the only
clearance of the text surface that occurs.
The contentIsDirty setting is removed from MacButton because this flag is
already reset in MacText::draw.
2020-07-16 00:27:37 -04:00
djsrv
829e4782c8
DIRECTOR: LINGO: Ignore garbage in D3 cast scripts
2020-07-15 23:31:47 -04:00
djsrv
f71670e8d9
DIRECTOR: LINGO: Implement allow outdated lingo
2020-07-15 23:30:12 -04:00
djsrv
a892bb58d1
DIRECTOR: LINGO: Fix D4 script loading
...
Script IDs are in cast info now.
2020-07-15 22:19:33 -04:00
djsrv
04c29cdf0c
DIRECTOR: Don't load info for unloaded cast member
2020-07-15 21:42:38 -04:00
djsrv
3d1a68a3ed
DIRECTOR: Improve file/cast info loading
2020-07-15 21:03:58 -04:00
Gunnar Birke
f3cf4b80e0
WINTERMUTE: Use const char ptrs for all light functions
2020-07-16 00:06:38 +02:00
Eugene Sandulenko
a24a934a97
GRAPHICS: MACGUI: Fix warning
2020-07-15 23:31:10 +02:00
Eugene Sandulenko
05634542c3
GUI: Code formatting
2020-07-15 23:30:10 +02:00
sluicebox
9551ea0969
SCI: Fix comment
2020-07-15 12:46:27 -07:00
sluicebox
c9ff9bfae3
SCI: Fix KQ6 stale catacombs message boxes
2020-07-15 12:42:42 -07:00
Nathanael Gentry
229c1a233f
DIRECTOR: Initialize channel with sprite dimensions
2020-07-15 11:50:57 -04:00
Nathanael Gentry
521dd64412
DIRECTOR: Only warn on large bitmap cast leftovers
2020-07-15 11:50:57 -04:00
Nathanael Gentry
d770b21094
GRAPHICS: MACGUI: Remove macInvertPixel callback
...
Instead, the addition to macDrawPixel is used instead.
2020-07-15 11:50:57 -04:00
Michał Janiszewski
bb9dddcd04
CREATE_PROJECT: JANITORIAL: Apply code formatting
2020-07-15 15:30:55 +02:00
Michał Janiszewski
fb2a740dc7
JANITORIAL: Use C++03 standard in clang-format rules
...
This mostly addresses the problem of ending double templates with `> >`
instead of `>>`, a feature only enabled in newer C++ standards.
2020-07-15 15:30:55 +02:00
SupSuper
95d191e19a
CREATE_PROJECT: Fix VS2008 property names
2020-07-15 15:30:55 +02:00
Michał Janiszewski
680da50b81
CREATE_PROJECT: Remove C++11
2020-07-15 15:30:55 +02:00
Michał Janiszewski
26591c1341
CREATE_PROJECT: Add missing is_open check
...
This is to satisfy DeepCode warning on PR
2020-07-15 15:30:55 +02:00
SupSuper
ef803ee080
CREATE_PROJECT: Old Visual Studio doesn't support ARM64
2020-07-15 15:30:55 +02:00