Refactoring Arx Fatalis: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
== Scripting ==
== Scripting ==


* Remove / cleanup the script parsing in GetInfosCombineWithIO
* Parse scripts into some form of IR instead of executing directly.
* Parse scripts into some form of IR instead of executing directly.
* Share loaded scripts between IOs
* Share loaded scripts between IOs

Revision as of 06:21, 31 July 2011

Subsystems - Discussion regarding the engine initialization and its major components

Scripting

  • Remove / cleanup the script parsing in GetInfosCombineWithIO
  • Parse scripts into some form of IR instead of executing directly.
  • Share loaded scripts between IOs
  • Match timers by name when loading savegames
  • Cleanup GetInfosCombineWithIO()

Savegames

  • Keep the SaveBlock instance open througout the game (and create it at game start to simplify things)
  • Autosave when changing levels - almost all needed information is already saved here
  • Track which IOs changed and don't always save all of them!

Audio

  • Implement environmental effects (reverb) for the OpenAL backend using the EFX OpenAL extension. Reverb is available in the DirectSound backend when EAX is available (Creative drivers only?)