Possible speed optimisation for gaia entities (don't inherit the usual events and the entity script).
This was SVN commit r2842.
This commit is contained in:
parent
5e3b6fcbe3
commit
7abf24b6c6
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||
|
||||
<Entity Parent="template_entity">
|
||||
<Entity Parent="template_entity_quasi">
|
||||
<Traits>
|
||||
<Id
|
||||
civ_code="gaia"
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||
|
||||
<Entity Parent="template_entity">
|
||||
<Entity Parent="template_entity_full">
|
||||
<Traits>
|
||||
<Id
|
||||
civ_code="gaia"
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||
|
||||
<Entity Parent="template_entity">
|
||||
<Entity Parent="template_entity_full">
|
||||
<Traits>
|
||||
<Id
|
||||
generic="Generic Structure"
|
||||
|
@ -32,13 +32,6 @@
|
||||
type="Ground"
|
||||
/>
|
||||
</Traits>
|
||||
<Script File="entities/template_entity_script.js" />
|
||||
|
||||
<Event On="Attack" Function="entity_event_attack" />
|
||||
<Event On="Gather" Function="entity_event_gather" />
|
||||
<Event On="TakesDamage" Function="entity_event_takesdamage" />
|
||||
<Event On="TargetChanged" Function="entity_event_targetchanged" />
|
||||
<Event On="PrepareOrder" Function="entity_event_prepareorder" />
|
||||
|
||||
<Actions />
|
||||
</Entity>
|
||||
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||
|
||||
<Entity parent="template_entity">
|
||||
<Script File="entities/template_entity_script.js" />
|
||||
|
||||
<Event On="Attack" Function="entity_event_attack" />
|
||||
<Event On="Gather" Function="entity_event_gather" />
|
||||
<Event On="TakesDamage" Function="entity_event_takesdamage" />
|
||||
<Event On="TargetChanged" Function="entity_event_targetchanged" />
|
||||
<Event On="PrepareOrder" Function="entity_event_prepareorder" />
|
||||
</Entity>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||
|
||||
<Entity parent="template_entity">
|
||||
</Entity>
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||
|
||||
<Entity Parent="template_entity">
|
||||
<Entity Parent="template_entity_full">
|
||||
<Traits>
|
||||
<Id
|
||||
generic="Generic Unit"
|
||||
|
Loading…
Reference in New Issue
Block a user