* Add use item callbacks, add menu boilerplate code
* Set up scripting API for game mode
* Use word "break" instead of "menu" everywhere
* Rudimentary implementation of BreakPhase
* More progress
* Doc update
* Always active lensflare
* Update CHANGELOG.md
* Fix hair interpolation for spectator mode
* Update target highlighter and other HUD elements while in break mode
* Fix various problems
* Don't try to update camera in spectator mode
* Cleanup camera code
* Rename break to freeze
* Update FlowHandler.cpp
* Update Flow.html
* Update control.cpp
* Rename method
* Add displaystring owner to differentiate between freeze modes
* Disable triggers and volumes in freeze mode
* Update control.cpp
* Rename enum
* Update CHANGELOG.md
* Implement full freeze, correct callback behaviour
* Update RendererDrawMenu.cpp
* Allow DumpGameScene to do partial pass
* Remove hack
* Introduce render mode enum to render scene without any postprocess
* Tidying
* Fix problems with items or renderer not updating before entering freeze mode
* Fix rebase errors
* Use interpolation factor getter instead of raw value everywhere
* Update documentation
* Fixed setting freeze mode from OnStart
* Fixed freeze mode not working in OnStart event
* Revert "Fixed freeze mode not working in OnStart event"
This reverts commit 87f6fbdc6d.
* Bypass cinematic bars and fades for non-full render modes
---------
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
* Add "Lara's Home" menu entry
* Minor things
* Move home_level into Strings.lua
* Lara's Home -> Home Level
---------
Co-authored-by: Sezz <sezzary@outlook.com>
* Work in progress
* Work in progress 2
* Work
* Fix Lara meshswaps appearing
* Update control.cpp
* Work
* Update lara_initialise.cpp
* Solve some problems with default weapon and holsters
* Implement actual resetHub script command, add comments and safeguards
* Update Changes.txt
* Update Changes.txt
* Additional refactors
* Add logging for hub system
* Add savegame verification, correct size writing method
* Transfer vehicles between levels
* Log vehicle transfer
* Update lara_initialise.cpp
* Move all vehicle transfer code to InitializeLaraLevelJump
* Also move health initialization to appropriate function
* Put all static fields into SaveGame class
* Formatting
* Fix pelvis pistol
* Partially fix hub vehicle loading
* WIP
* Introduce a hack for reinitializing vehicles on a hub
* Fix holsters again
* Update lara_initialise.cpp
* Better way to preserve crawl state on leveljump
* Update lara_initialise.cpp
* Update savegame.cpp
* Add IsOnHub
* Fix disappearing Lara
* Update lara_initialise.cpp
* Move inventory objects init to subfunction
* Fix issues with LevelVars reset and default soundtrack on hub restore
* Update lara_initialise.cpp
* Formatting
---------
Co-authored-by: Sezz <sezzary@outlook.com>
* internal function made available as a lua function
* Update Changes.txt
* Update FlowHandler.cpp
* Update Changes.txt
---------
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
* Possibly make loading work
* fix compile error
* Move LevelComplete reset to more appropriate place
* Implement Delete save and move functions to FlowHandler
* Fixes and optimizations
* Rename global
* rename func names to more meaningful ones, correct grammar.
* add a check to see if file actually exists before loading
* correct.
* add LogLevel for Delete() func
* Revert "correct."
This reverts commit 5e332bba95.
* Revert "add a check to see if file actually exists before loading"
This reverts commit ef9fb63aa2.
* Fix attempts to load savegames from incorrect slots
* Simplify savegame delete function
* Update Changes.txt
* Minor changes
* Disable Save/Load quick actions when EnableLoadSave is false
* Formatting
* Implement enable load/save into lua
* Fix merge
* Update Changes.txt
* Update savegame.cpp
* Fix savegame count not properly increasing, don't reload headers every frame in menu
* Update savegame.cpp
* Set TimeInMenu default value to -1.0f
* Minor changes
---------
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
* LaraAmmoType and GetAmmoType.
Added the Lua function GetAmmoType
Added the enumerator LaraAmmoType for the engine uses.
Added the enumerator AMMO_TYPE_IDS for the Lua api.
* Added security checks to AddCallback.
AddCallback now will print information in the log if the function is already added, to avoid duplication.
* Added security check to RemoveCallback function.
* Ortographic mistake
* Fix SetAction function
The function now will accept compound values, for example:
ItemAction.USE | ItemAction.COMBINABLE
* Fix in GetAmmoType
Now it collect correctly the data from the special ammo weapons.
* Formatting
* Formatting
* Formatting
---------
Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>