Age | Commit message (Collapse) | Author |
|
Commented out assert fault in SliceAnimations::getFramePtr and sanitized the frame value instead
Some actors (currently happened only with hawkers_barkeep) can have invalid frame value set when loading a save file which would cause and assert fault in the getFramePtr() assert check. This seems to be a combination of factors responsible: 1) The updateAnimation (called for an actor before drawing him into the world) has a switch clause based on animationState (not animationId) and 2) the ai_script vars for an actor are not re-initialized upon a LOAD (eg for hawkers_barkeep the _var2 value is problematic in this context because a non-zero value won't allow for sanitization of the existing / loaded frame value)
|
|
This should fix thi issue with freezing actors after loading save game,
but works on new saves only. Game was not paused before saving
and wrong timer value got saved.
|
|
|
|
|
|
|
|
Rename CDFRAMES.DAT into CDFRAMES1.DAT, CDFRAMES2.DAT etc
|
|
Settings works
Help works
Clue database works
Fixed code for inserting objects into scene
Reorganization of few files
Unification & code formatting of few older files
|
|
working correctly yet
|
|
scene objects
|
|
completed init script. Added decoding of lights from VQA. Moved view from scene.
|
|
|
|
structure (maybe it combat mode??)
|
|
methods...
|
|
in destructor
|
|
Z-buffers are not being read from the VQA background yet, so z-buffer
handling is faked for now.
|