Files
sfall/artifacts/scripting
NovaRain 3ebc4326c5 New metarule to read art size + DrawImage refactoring
- Fix inconsistent and duplicate FRM-related struct definitions
- Clean up code, especially around using PCX files
- When FID is used, read FRM directly from ArtCache instead of from disk
- When path is used, cache loaded FRM/PCX files
- Add art_frame_data to read FRM/PCX size by FID/filename

Updated docs and sfall.h for art_frame_data script function
2024-05-08 09:02:31 +08:00
..
2024-03-11 10:10:03 +08:00
2023-03-27 20:35:24 +08:00
2023-03-27 20:35:24 +08:00

This folder contains documentation about sfall scripting extensions.

headers\ - folder contains sfall headers that you should #include in your scripts
    sfall.h - main sfall header, always include it
    define_extra.h - some additional preprocessor constants for vanilla engine stuff (proto offsets, etc.)
    define_lite.h - a lite version of official define.h
    command_lite.h - a lite version of official command.h
    dik.h - DX scancodes constants for use with key_pressed function and HOOK_KEYPRESS
    lib.arrays.h - procedures that will help you use arrays in their full:
        - use them as stacks, sets
        - easily compare, copy, slice, cut, add arrays
        - display array contents (for debugging)
        - save/load two-dimensional arrays to savegame in one command (e.g. arrays of objects)
    lib.inven.h - fallout items manipulation functions
    lib.math.h - a few simple functions for calculations
    lib.strings.h - search in strings, join, repeat, etc.
    lib.misc.h - misc stuff

sfall function notes.md - incomplete reference for new opcodes
sfall opcode list.md - list of all sfall opcodes (w/o descriptions)
hookscripts.md - detailed manual for using hook scripts to modify engine behavior
arrays.md - manual for sfall arrays

If you are/will be using sfall Script Editor, don't forget to check out new compiler documentation in .\compiler\sslc_readme.md. There are numerous new syntax features and extensions to SSL (Star-Trek Scripting Language).