901
SCI Syntax Help / Re: Original SCI syntax
« on: January 06, 2011, 02:12:13 AM »
If you recall around mid-December I mentioned the "feature writer" feature in the QFG2 debug mode. I was thinking about this last night and cross referencing it with SCI Companion code syntax. One thing that immediately jumps out is the naming of the classes. In my debug session, I was able to generate a file that contained a basic definition of a Prop, Actor, PicView, View and Feature. These were the actual class names that it generated. If I look inside the Feature.sc script (998) in SCI Companion, the names of the equivalent classes are: Prop, Act, PV, View and Feature. Note the difference in the case of PicView and Actor. What this suggests to me is that classes had both a longer more readable name and perhaps an optional shorter name. It appears that the longer name might be lost during the compilation if a shorter name is provided.
Looking through the system classes in the template game, there are a lot of cases of class names that have been abbreviated/truncated and that I suspect are not what appeared in the original source. Class names such as Blk, Collect, even Obj. The list goes on: Rm, Rgn, SL. CT.
The QFG2 generated source provides evidence in the case of PicView and Actor that there was some amount of abbreviation but it wasn't always used it appears (e.g. View, Prop, Feature). It seems likely then that there was an optional way of specifying that shorter name that would then be used in the compiled code.
Looking through the system classes in the template game, there are a lot of cases of class names that have been abbreviated/truncated and that I suspect are not what appeared in the original source. Class names such as Blk, Collect, even Obj. The list goes on: Rm, Rgn, SL. CT.
The QFG2 generated source provides evidence in the case of PicView and Actor that there was some amount of abbreviation but it wasn't always used it appears (e.g. View, Prop, Feature). It seems likely then that there was an optional way of specifying that shorter name that would then be used in the compiled code.