mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-30 16:00:06 -04:00
Add "final" marker to a number of classes
Devirtualization is an optimization in the generated assembly: when a class C is polymorphic but also final, ``((C *)ptr)->func()`` can be turned from an indirect into a static call.
This commit is contained in:
@@ -122,287 +122,287 @@ public:
|
||||
virtual int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class LevelScript_0000 : public BaseScript {
|
||||
class LevelScript_0000 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_208F : public BaseScript {
|
||||
class CustomObjectScript_208F final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_20BE : public BaseScript {
|
||||
class CustomObjectScript_20BE final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_206F : public BaseScript {
|
||||
class CustomObjectScript_206F final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_10A5 : public BaseScript {
|
||||
class CustomObjectScript_10A5 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_081D : public BaseScript {
|
||||
class CustomObjectScript_081D final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_081E : public BaseScript {
|
||||
class CustomObjectScript_081E final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_08F7 : public BaseScript {
|
||||
class CustomObjectScript_08F7 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_081C : public BaseScript {
|
||||
class CustomObjectScript_081C final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_081B : public BaseScript {
|
||||
class CustomObjectScript_081B final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_10C7 : public BaseScript {
|
||||
class CustomObjectScript_10C7 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_18B9 : public BaseScript {
|
||||
class CustomObjectScript_18B9 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_2051 : public BaseScript {
|
||||
class CustomObjectScript_2051 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_1826 : public BaseScript {
|
||||
class CustomObjectScript_1826 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_08FD : public BaseScript {
|
||||
class CustomObjectScript_08FD final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_180A : public BaseScript {
|
||||
class CustomObjectScript_180A final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_216E : public BaseScript {
|
||||
class CustomObjectScript_216E final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_3167 : public BaseScript {
|
||||
class CustomObjectScript_3167 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_1964 : public BaseScript {
|
||||
class CustomObjectScript_1964 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_316A : public BaseScript {
|
||||
class CustomObjectScript_316A final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class CustomObjectScript_216B : public BaseScript {
|
||||
class CustomObjectScript_216B final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0015 : public BaseScript {
|
||||
class TriggerScript_0015 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0013 : public BaseScript {
|
||||
class TriggerScript_0013 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_001F : public BaseScript {
|
||||
class TriggerScript_001F final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0020 : public BaseScript {
|
||||
class TriggerScript_0020 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_001C : public BaseScript {
|
||||
class TriggerScript_001C final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0016 : public BaseScript {
|
||||
class TriggerScript_0016 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0001 : public BaseScript {
|
||||
class TriggerScript_0001 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0002 : public BaseScript {
|
||||
class TriggerScript_0002 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0004 : public BaseScript {
|
||||
class TriggerScript_0004 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0003 : public BaseScript {
|
||||
class TriggerScript_0003 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0005 : public BaseScript {
|
||||
class TriggerScript_0005 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0006 : public BaseScript {
|
||||
class TriggerScript_0006 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0008 : public BaseScript {
|
||||
class TriggerScript_0008 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0007 : public BaseScript {
|
||||
class TriggerScript_0007 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_000A : public BaseScript {
|
||||
class TriggerScript_000A final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0009 : public BaseScript {
|
||||
class TriggerScript_0009 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_000B : public BaseScript {
|
||||
class TriggerScript_000B final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_000C : public BaseScript {
|
||||
class TriggerScript_000C final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_000E : public BaseScript {
|
||||
class TriggerScript_000E final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_000D : public BaseScript {
|
||||
class TriggerScript_000D final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_000F : public BaseScript {
|
||||
class TriggerScript_000F final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0011 : public BaseScript {
|
||||
class TriggerScript_0011 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0010 : public BaseScript {
|
||||
class TriggerScript_0010 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_001E : public BaseScript {
|
||||
class TriggerScript_001E final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_001B : public BaseScript {
|
||||
class TriggerScript_001B final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0019 : public BaseScript {
|
||||
class TriggerScript_0019 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_001D : public BaseScript {
|
||||
class TriggerScript_001D final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_001A : public BaseScript {
|
||||
class TriggerScript_001A final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0018 : public BaseScript {
|
||||
class TriggerScript_0018 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0014 : public BaseScript {
|
||||
class TriggerScript_0014 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0012 : public BaseScript {
|
||||
class TriggerScript_0012 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0017 : public BaseScript {
|
||||
class TriggerScript_0017 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0025 : public BaseScript {
|
||||
class TriggerScript_0025 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0024 : public BaseScript {
|
||||
class TriggerScript_0024 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0021 : public BaseScript {
|
||||
class TriggerScript_0021 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
class TriggerScript_0022 : public BaseScript {
|
||||
class TriggerScript_0022 final : public BaseScript {
|
||||
public:
|
||||
int16_t CallEvent(int event, tOSIRISEventInfo *data);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user