View Issue Details

IDProjectCategoryView StatusLast Update
0003260The Dark ModCodingpublic01.11.2012 15:55
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionTDM 2.00 
Target VersionTDM 2.00Fixed in VersionTDM 2.00 
Summary0003260: Change the way scriptEvents are declared
DescriptionUp to TDM 1.08 scriptEvents are declared both in the game code and in the script files. Each time the SDK and/or the script file change asymmetrically the game will refuse to run, which usually happens when an asset SVN update is applied and the game DLL is not updated alongside (Windows or Linux).

The implemented change is to let scriptevents register themselves in the idScriptProgram class, since the game code knows about each valid event anyway. To get rid of the actual tdm_events.script file one needs to move the documentation/argument declarations to the code. This in turn enables us to auto-generate the scriptEvent documentation in script, xml or mediawiki format.
TagsNo tags attached.




31.10.2012 14:54

administrator   ~0004929

Most changes are implemented as the eventsystem branch has been merged into trunk in source revision 5640. A few updates to the source and the asset base are still pending.

Issue History

Date Modified Username Field Change
31.10.2012 14:53 greebo New Issue
31.10.2012 14:53 greebo Status new => assigned
31.10.2012 14:53 greebo Assigned To => greebo
31.10.2012 14:54 greebo Note Added: 0004929
01.11.2012 15:55 greebo Status assigned => resolved
01.11.2012 15:55 greebo Fixed in Version => TDM 2.00
01.11.2012 15:55 greebo Resolution open => fixed