Renamed tech and formation directories for better organization, and created a scripts directory for the game startup script, entity scripts, and eventually things like victory condition scripts for different game modes, or possibly triggers.

This was SVN commit r3995.
This commit is contained in:
Matei 2006-06-09 23:04:47 +00:00
parent 52077dfec5
commit 005983f237
10 changed files with 11 additions and 5 deletions

View File

@ -72,7 +72,7 @@
<Script File="entities/template_entity_script.js" />
<Script File="scripts/entity_functions.js" />
<Event On="Initialize" Function="entityInit" />
<Event On="PrepareOrder" Function="entityEventPrepareOrder" />
</Entity>

View File

@ -16,7 +16,7 @@
</Creation>
</Traits>
<Script File="entities/template_entity_script.js" />
<Script File="scripts/entity_functions.js" />
<Event On="Generic" Function="entityEventGeneric" />
<Event On="TargetChanged" Function="entityEventTargetChanged" />
<Event On="Notification" Function="entityEventNotification" />

View File

@ -22,6 +22,6 @@
</Traits>
<Script File="entities/template_entity_script.js" />
<Script File="scripts/entity_functions.js" />
<Event On="Death" Function="foundationDestroyed" />
</Entity>

View File

@ -36,7 +36,7 @@
</Vision>
</Traits>
<Script File="entities/template_entity_script.js" />
<Script File="scripts/entity_functions.js" />
<Event On="StartProduction" Function="entityStartProduction" />
<Event On="CancelProduction" Function="entityCancelProduction" />
<Event On="FinishProduction" Function="entityFinishProduction" />

View File

@ -99,6 +99,6 @@
</Actions>
<Script File="entities/template_entity_script.js" />
<Script File="scripts/entity_functions.js" />
<Event On="StartConstruction" Function="entityStartConstruction" />
</Entity>

View File

@ -0,0 +1,6 @@
/*
DESCRIPTION : Script called when the game is started, which should initialize the players and their units based on the game settings.
NOTES :
*/
console.write( "Game startup script done." );