Commit Graph
5470 Commits
Author SHA1 Message Date
athrxx 868f17c85d SCUMM: (Amiga) - remove unwanted render modes in launcher 2024-05-30 22:03:55 +02:00
athrxx 315641e880 SCUMM: fix launcher options for Steam Mac versions 2024-05-30 21:32:04 +02:00
athrxx 2a18e903cb SCUMM: (Amiga/Mac/C64) - improve launcher sound options 2024-05-30 20:10:56 +02:00
athrxx d7e8a54756 AUDIO/GUI: add Mac sound option 2024-05-30 20:10:51 +02:00
athrxx 685f6f8399 SCUMM: experimental fix for bug no. 15143 2024-05-29 21:16:52 +02:00
Eugene Sandulenko b9a7f9fa5f JANITORIAL: Indentation fixes 2024-05-24 22:30:43 +02:00
Eugene Sandulenko 076074ec88 SCUMM: Fix compilation 2024-05-24 22:21:39 +02:00
Eugene Sandulenko ee55870422 JANITORIAL: Fix indentation and remove trailing spaces 2024-05-24 21:54:28 +02:00
Vissery a788ab1775 SCUMM: HE: Update Backyard Baseball 2001 competitive mode
* Update script_v6.cpp

* Update script_v6.cpp

* Update script_v6.cpp

* Update script_v6.cpp
2024-05-24 13:53:47 -05:00
athrxx 99a478f510 SCUMM: (INDY3) - fix iq points regression
There are some differences between the Mac version
iq points handling and how the other versions do that.
2024-05-23 18:23:34 +02:00
athrxx 09566f861b SCUMM: (INDY3) - finish iq points fixes
There was another occasion where the episode iq point would
be written into the series iq file. Also, the loading routine wasn't
always working correctly.
2024-05-21 22:17:00 +02:00
athrxx 72a4186417 SCUMM: (INDY3) - iq points fix
(the engine would write the episode iq data into the series iq file)
2024-05-20 17:47:43 +02:00
athrxx 84a0bff281 SCUMM: fix Coverity warnings 2024-05-20 15:32:19 +02:00
AndywinXp e18e0a4da1 SCUMM: DIG: Fix CTRL-B easter egg not working
This fixes #15064. The CTRL-B combination was used in COMI to
regulate the buffer count for iMUSE, so I originally decided to extend
it to SCUMM v7 games. Unfortunately DIG uses this combination for
an easter egg, so the iMUSE buffer function is now available through
SHIFT-B for this game.
2024-05-19 20:26:50 +02:00
athrxx 094865344e SCUMM: (HE) - fix wiz mem leaks update 2
(see PR discussion)
2024-05-19 17:13:05 +02:00
athrxx 421a1281fc SCUMM: (HE) - fix wiz mem leaks update
Some fine tuning to the buffer objects. This seems to
take care of the issues observed in Pajama Sam 3.
2024-05-19 17:13:05 +02:00
athrxx 462daa5415 SCUMM: (HE) - fix wiz drawing mem leaks
Currently, buffers get allocated that do not get freed. Apparently,
the reason is that it is not well known when it is actually safe to
do that. This here should hopefully fix the situation. Or at least
give some inspiration on how to fix it...
2024-05-19 17:13:05 +02:00
Torbjörn Andersson ada0a4c0b9 SCUMM: Optionally ask before clearing series IQ score in Indy 3 Mac
According to the manual, "You will be given a chance to change your
mind" when clicking on the "Reset Series IQ button". I've never seen the
original do that, but I like the idea so let's add it as an enhancement.

(NB: Resetting the IQ score currently does not work properly.)
2024-05-19 00:14:44 +02:00
shkupfer f9765abc2d SCUMM: HE: BYB01 hit power change
This slightly changes the velocity of hits when the player is using a power swing.

The previous iteration of this mod reduced the velocity of hits with power swings, making them less effective relative to line drive and grounder swings. After 6+ months of competitive play, the consensus among the community is that this has made power swings not viable - using a line drive swing is almost always optimal, which makes gameplay less interesting.

This change is intended to make the decisions on what swing type to use more interesting.
2024-05-19 00:17:51 +03:00
Eugene Sandulenko 4d07d1b2ad SCUMM: MOONBASE: Remove unused variable 2024-05-18 13:57:18 +02:00
Torbjörn Andersson af6806e030 SCUMM: Close IQ points file before trying to read it again
When clearing the series IQ points (only in the Mac version of Indiana
Jones and the Last Crusade?), make sure to close the file immediately
after zeroing it. Otherwise, it may not have been created when
updateIQPoints() tries to read it.

Note that clearing the series IQ point seems to be broken at the time,
and this does not fix that. But one thing at a time.
2024-05-18 09:20:21 +02:00
Little Cat 3334871e3a SCUMM HE: Renamed constants to prevent clashing. 2024-05-12 15:08:27 +02:00
Little Cat 9aacce282a SCUMM HE: Write a char variable as byte. 2024-05-12 15:08:27 +02:00
Little Cat 95d12c7730 SCUMM HE: Drop typedefs in map_mif.h 2024-05-12 15:08:27 +02:00
Little Cat 2d5eb18c57 SCUMM HE: Add an underscroll to all class variables. 2024-05-12 15:08:27 +02:00
Little Cat ebebbb2b74 SCUMM HE: Rename "cornerSum" 2024-05-12 15:08:27 +02:00
Little Cat 58f6e5ebe4 SCUMM HE: Fix header defines. 2024-05-12 15:08:27 +02:00
Michael Barlow 814dc28d35 SCUMM HE: Fix crash with no-water Katton maps
When generating a Katton map with no water, the code tries to modulo
a number by 0, which causes a crash. This fixes this.

Crash also occurs in original Moonbase Console.
2024-05-12 15:08:27 +02:00
Little Cat 5d462c5b9c SCUMM HE: Set debug level for printing Base64 output to 2. 2024-05-12 15:08:27 +02:00
Little Cat 4d3f6b7064 SCUMM HE: Fix compiling with HE v71+ disabled. 2024-05-12 15:08:27 +02:00
Little Cat c5c09eece8 SCUMM HE: Use Base64 to transfer map data
Hopefully this is more stable in keeping maps in sync between players
instead of relaying in an MD5 hash.
2024-05-12 15:08:27 +02:00
Michael Barlow fcaa53b253 SCUMM HE: Fixed MD5 mismatch issue on Katton maps
The random number generation will generate the same numbers from
a given seed in a particular order. However, when passing
function calls as parameters to another function, the order
in which those parameter calls are made is undefined. If the code is compiled
on different platforms using different compilers (e.g. macOS/clang
vs linux/G++), this order can be different, which results in
different random numbers being assigned to different variables.

The fix is to pull out the parameter function calls as variables
so that the order in which the generated random numbers are assigned
is the same, regardless of compiler/platform.
2024-05-12 15:08:27 +02:00
Michael Barlow 6d1d9e8b68 SCUMM HE: Fixed MD5 mismatch bug
The MD5 comparison code was checking the locally generated MD5 of the
Mapfile with the MD5 in the first session (_sessions[0]) instead of
the one passed into the parameter.
2024-05-12 15:08:27 +02:00
Little Cat 80d8e3efb4 SCUMM HE: Fix network map verification 2024-05-12 15:08:27 +02:00
Little Cat 6e86d298d5 SCUMM HE: Use own network version number. 2024-05-12 15:08:27 +02:00
Little Cat 8f5e44f89c SCUMM HE: Compute MD5s for maps and verify over network. 2024-05-12 15:08:27 +02:00
Little Cat a3eb710f7a SCUMM HE: Fix map not generating when relaying data. 2024-05-12 15:08:27 +02:00
Little Cat 2727e3eaf7 SCUMM HE: Only save map config on clicking "Generate". 2024-05-12 15:08:27 +02:00
Little Cat f4c94c7b3a SCUMM HE: Hook up map generator to multiplayer. 2024-05-12 15:08:27 +02:00
Little Cat 71d2c5ff61 SCUMM HE: Add map generator dialog to POTFILES. 2024-05-12 15:08:27 +02:00
Little Cat 289e181de0 SCUMM HE: Use new map generator dialog. 2024-05-12 15:08:27 +02:00
Little Cat 2e2e2c41be SCUMM HE: GUI: Add map generator dialog and bump theme version. 2024-05-12 15:08:27 +02:00
Little Cat 8a6dacc607 SCUMM HE: Add toggle setting for generated maps. 2024-05-12 15:08:27 +02:00
Little Cat b60f4d4069 SCUMM HE: Save generated map alongside replays. 2024-05-12 15:08:27 +02:00
Little Cat 9a6a4efa82 SCUMM HE: Fix compile errors on Windows. 2024-05-12 15:08:27 +02:00
Little Cat 79a5e12ed1 SCUMM HE: Fix generated map names. 2024-05-12 15:08:27 +02:00
Little Cat b60bb0ec64 SCUMM HE: Added Katton generator. 2024-05-12 15:08:27 +02:00
Little Cat 77270646ed SCUMM HE: Remove no-longer used include. 2024-05-12 15:08:27 +02:00
Michael Barlow f5f703a159 SCUMM HE: Fixed crash when generating map
There was a formatting error in the errorCorrection() method
ran after generating the map. One of the iterating for loops was meant to be nested in the other,
but instead it ran afterwards, causing some error conditions to get missed
and causing a crash later in the program.
2024-05-12 15:08:27 +02:00
Little Cat 73e87c52c6 SCUMM HE: Fix the chance of invalid tileset. 2024-05-12 15:08:27 +02:00