[Alephmodular-devel] RE: [M-dev]RE: aleph/Source_Files/GameWorld physics.cpp
Status: Pre-Alpha
Brought to you by:
brefin
From: Paul B. <pb...@mj...> - 2004-04-27 15:51:58
|
I haven't looked very closely at the film structure of A1/AM but I believe they are similar to Myth's. The Myth team has worked around the problem of breaking old film support by starting to store a version # in the film and when the film is played back we set a flag in a global variable so through out the game play code we check the flag. If the film file doesn't contain a version # then we just set the "old_version_flag". In pseudo code: if (game_play_flag & old_version_flag) {old code} else {new code} This as allowed us to keep support for old films while improving the end user experience and adding features. One does need to be careful about how the flags are used in the code and such. We have taken the approach that we support a old films of a certain version(which makes up the bulk of the films people have around) and then we support films made by the current version. If done right one could support several different versions films, we had some other issues which drove us to only support 2 versions. - Paul Bucher |