As with fluidsynth, it'll be easier on developers if we keep
the new library disabled until such time as someone can
build the library and include in the VS libraries zip file.
- Allow for floats as indexes
Note: D3 does a round, D4 a floor
- Bugfix charToOf: correctly format substr parameters.
substr 2nd parameter the length of the requested substring
not a posTo.
c_itemOf returns the specified item in a chunk expression.
A chunk expression is any sequence of characters delimited by
commas. It's 1 indexed in director.
Edge cases where index is:
< 1: return the whole chunkExpression and
> number of chunks: return ""
Future Wars PC disassembly does not save disableSysteMenu variable.
After adding versioning to Future Wars saves this value was also
saved and loaded but using it on load seems to have caused the
action menu (EXAMINE, TAKE, INVENTORY, ...) to be disabled sometimes
when it is not supposed to be disabled. Thus, now skipping the loading
of disableSystemMenu variable for versioned Future Wars saves.
Make sure that alignTableMem() always aligns to an 8 byte boundary
on 64-bit architectures where this is the usual size of pointers.
Also make sure that loadTextIntoMem() always calls alignTableMem().
This has been tested on OpenBSD/loongson (a mips64el architecture which requires
strict alignment), with clang++ 8.0.1 and simon2-cd-fr.
Fixes bug #6220.
The itemDelimiter is used to split the string in the
function itemOf and itemToOf.
It can be empty, i.e. no splitting is required,
or it can be one char.
Fix bug #11547 ("CINE: FW: Game crashes during intro with MT-32 music").
Future Wars PC disassembly passes 256 to writeInstrument and
writeInstrument overwrites it with value 246 here. So the value
becomes 246 in the end.
The following cast options were found to change the flag (12th byte):
Center: 0x01
Scale: 0x02
Sound: 0x08
Loop: 0x10
Direct To Stage 0x20
Use Controller 0x40
Include comment that bytes 4-7 look like rect information.
However it's bytes and the height would be 0.