Little Cat
68826ce2f7
SCUMM HE: Send last update flag on game results.
2023-10-24 22:16:45 -03:00
Little Cat
9cad1778b8
HE SCUMM: Initialize all members of Session struct. PVS-Studio V730
2023-10-18 00:08:47 -03:00
Little Cat
c2249aacfa
HE SCUMM: Fix identical sub-expressions. PVS-Studio V501
2023-10-17 21:54:06 -03:00
Little Cat
3e41622f4d
HE SCUMM: Fix uninitialized members. PVS-Studio V730
2023-10-17 21:33:37 -03:00
D G Turner
24e1e77b8d
SCUMM: Fix Mismatched Declaration GCC Compiler Warnings
2023-10-17 11:33:43 +01:00
Little Cat
bde3a46cf4
HE SCUMM: Initalize _inGame.
...
This fixes a bug in an optimized build where the players list won't
update.
2023-10-16 18:43:17 -03:00
Torbjörn Andersson
2867f9715b
SCUMM: Minor Indy 3 Mac GUI cleanups from bluegr's review
...
I take it as a good sign that this is the only feedback so far. :-)
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
12738d8856
SCUMM: Create _macIndy3Gui earlier, not in resetScumm()
...
Since this is before the Mac font manager is created, load fonts when
requested rather than pre-loading them all.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
a11092859c
SCUMM: Fix Mac Loom regression
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
38852234ec
SCUMM: Fix printing of '...' character in Indy 3 Mac GUI
...
The SCUMM engine uses "^" to represent "..." so it has to be remapped to
the appropriate Macintosh character code.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
508ade605c
SCUMM: Indy 3 Mac GUI cleanup
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
b84fb46c49
SCUMM: Fix Indy 3 Mac scrollbar clicking behavior to be like the original
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
ee120bbd52
SCUMM: Fix double-clicking on Indy 3 Mac inventory items
...
If the timer is already running, time it out before starting a new one.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
9902d8e133
SCUMM: Indy 3 Mac GUI cleanup
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
175d53905c
SCUMM: Increased savegame version
...
The new Mac GUI doesn't change the savegame format, but it removes a
couple of verbs. It can read old savegames just fine, but new ones will
not be usable by older versions.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
afcdabe18f
SCUMM: Indy 3 Mac GUI dleanup
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
274ebe2db4
SCUMM: Moved Indy 3 Mac GUI "hiding" debug message
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
0e3eac4c34
SCUMM: Add comment to Indy 3 Mac GUI
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
c186a025a3
SCUMM: Redraw the Indy 3 Mac inventory scrollbar when necessary
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
2223c96395
SCUMM: More Indy 3 Mac GUI cleanups
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
e54128eba9
SCUMM: Fix clicking on Indy 3 Mac inventory objects
...
I accidentally called the verb script twice.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
131b5b8238
SCUMM: Remove another Indy 3 Mac hack
...
This shouldn't be needed any longer, since we're now passing objects,
not inventory verbs, to the script.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
8402d2999c
SCUMM: Remove low-resolution fallback for Indy 3 Mac credit undrawing
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
260b64db73
SCUMM: The Mac executables for Indy 3 and Loom are now required.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
6d501281ff
SCUMM: Redraw Indy 3 Mac GUI widget immediately if it responds to an event
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
a052cd4eea
SCUMM: Slight drawing optimization in Indy 3 Mac GUI
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
811347569f
SCUMM: More Indy 3 Mac GUI cleanup
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
ae3dbd74f3
SCUMM: Cleanup Indy 3 Mac GUI scrollbar logic
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
a67b1e9758
SCUMM: Remove Indy 3 Mac GUI verb script check
...
It seems it's no longer needed. Also, cleaned up naming a bit so that
instead of "active" and "visible", the GUI is now "allowed" and
"active".
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
264295b029
SCUMM: Rework Indy 3 Mac GUI verb script check
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
e0f856f82c
SCUMM: Indy 3 Mac GUI scroll bar fixes
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
2bc18cf971
SCUMM: Mac Indy 3 GUI: Add "const"
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
16d610f69d
SCUMM: On second thought, don't adjust the Indy 3 Mac GUI scroll offset
...
While it's true that we used to increase/decrease the scroll offset by
two in the old GUI, that was becaues the inventory was presented in two
columns. The scroll offset was correct, and does not have to be adjusted
when loading pre-new GUI savegames.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
30367e1dd2
SCUMM: Fix Indy 3 Mac GUI inventory string drawing
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
436872ffbb
SCUMM: This should fix some transitions with the Indy 3 Mac GUI
...
If the GUI says it's invisible, it's invisible. But if it says it's
visible, that may not be true because things may have changed so that
the GUI is no longer allowed to be on screen.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
44b7558756
SCUMM: Remove Indy 3 Mac hacks that are no longer needed
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
e40c3a2fbb
SCUMM: More Indy 3 Mac GUI cleanup + inventory scrolling
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
7186851de6
SCUMM: Fix Indy 3 Mac GUI inventory widget being undrawn over and over
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
cc8a1ce53d
SCUMM: The Indy 3 Mac scrollbar is now a widget
...
Arguably, the buttons should be part of this widget, not part of the
inventory. Maybe.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
3068bcff72
SCUMM: Removed last bit of pre-restructuring Indy 3 Mac GUI
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
6bc9ccadef
SCUMM: Fix clicking on Indy 3 Mac GUI sentence line
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
fd63cf734d
SCUMM: Hopefully fix Indy 3 Mac verb shortcut keys
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
6f8f3b4b13
SCUMM: Update Indy 3 Mac GUI less frequently
...
It's enough to do it after thigns have had a chance to change. Not every
iteration of waitForTimer(). This means we no longer have as precise
resolution for our animation timers, but I don't think that's any reason
not to cut down on the (admittedly small) amount of extra work the GUI
has to do.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
ef6e3bf432
SCUMM: Indy 3 Mac GUI restructuring done. Cleanup next.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
62af893348
SCUMM: Major (incomplete) refactoring of Indy 3 Mac GUI
...
Widgets are now proper objects. I'm back to the point where verbs work
again, but not the inventory. Still, this is too scary not to commit now
that it's beginning to work again.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
a14de55dda
SCUMM: More Indy 3 Mac GUI fixes
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
3bf0b424cd
SCUMM: Some more Indy 3 Mac GUI cleanup
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
98229e5155
SCUMM: Hopefully fix Indy 3 Mac glitch on travel map
...
The GUI should now know better when to back off and not try to clear
what's no longer the Verb screen.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
127c585362
SCUMM: More work on Indy 3 Mac GUI
...
It's now possible to travel all the way to Venice, though there is a
glitch on the travel map there.
2023-10-16 17:40:29 +02:00
Torbjörn Andersson
b8d5096d7c
SCUMM: Some more Indy 3 Mac inventory work
2023-10-16 17:40:29 +02:00