* Remove most direct accesses to g_Level.Anims
* Make all anim and frame data access read-only
* Simplify
* Simplify
* Use GetAnimData()
* g_Level.Anims to GetAnimData() conversions
* Use SetAnimation() in wraith trap init
* Minor formatting fixes
Refactor the -level option handling again to early out if the file doesn't exist and to determine ahead of time if the path is absolute or relative, thus potentially skipping string comparisons.
* Log() function in LUA.
Log() function in LUA.
Allows you to enter logs directly from LUA.
It's possible to send Error, Warning and Info messages
* Update LogLevel.h
* Update ReservedScriptNames.h
* Update Miscellanous.cpp
* added example of use
* added log level values in the function description
* Update Miscellanous.cpp
* Update Miscellanous.cpp
* Update Miscellanous.cpp
* Update LogLevel.h
* Update Miscellanous.cpp
* Update ReservedScriptNames.h
* Changed function name and added allowSpam parameter
* Update Miscellanous.cpp
* Constants in ReservedScriptNames
* native error handling
added native error handling in description
* Misc.LogLevel constants
* spammed message
* Update LogLevel.h
* Update LogLevel.h
* Update LogLevel.h
* Corrected optional parameter
---------
Co-authored-by: Kubsy <kubadd475@gmail.com>
* Initial Commit
* Correct tabulation
* Update Changes.txt
* Identify xinput devices in a more generic way
* Avoid passing copy of input bindings; make function static; comments
* More correct way to apply default bindings, also set rumble and analog camera options for XInput
---------
Co-authored-by: Sezz <sezzary@outlook.com>
* Implement PRESTART, POSTSTART, PREEND, POSTEND, PRESAVE, POSTSAVE, PRELOAD and POSTLOAD callbacks.
* Cleanup pass
* Update Changes.txt and improve doc comment.
* Fix Changes.txt.
* Formatting
* Give OnEnd and associated callback points get an arg stating why the level ended, so the scripter can differentiate between exit to menu, load, level complete, and player death.
* Update doc comments.
---------
Co-authored-by: Sezz <sezzary@outlook.com>
* start reorganize
* progress
* address some of @Lwmte suggestions
* Move setup.cpp to Game folder and capitalize it
* Include corrections
* include the new Setup.cpp in vcxproj
---------
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>