vsTASKER 7 User Manual
×
Menu
Index

Configure

 
Configure
1

Generate

1. Generate
Specify what kind of code vsTASKER must generate for the simulation engine. For now, only C/C++ is supported.
 
2

Preprocess

2. Preprocess
Call the preprocessor to replace the following macros: into
 
Change E(myEntity): into ((myEntity*)ent())->
Change P(myPlayer): into ((myPlayer*)ply())->
Change S: into  scen()->
Change P: into  ply()->
Change E: into  ent()->
Change L: into  logk()->
Change K: into  know()->
Change C: into  ctx()->
Change G: into  group()->
Change T: into  scen()->terrain.db->
Change M: into  scen()->meshes.db->
Change W: into  scen()->winds.db->
Change V: into  scen()->roads.db->
Change N: into  vt_rtc->networks->
Change D: into  vt_rtc->getDatabase()->
Change R: into  vt_rtc->
Change A: into  vt_amb->
 
3

Remove Comments

3. Remove Comments
When checked, the generated code will not include the comments from the database.
The runtime database (.rt) does not include comments for security reasons, as the runtime database can be deployed.
 
4

Optimize Models

4. Optimize Models
When checked, unused models (Components and Data-Models) are not code generated and available during runtime.
This is the default to reduce the compilation time and the executable memory footprint.
 
5

Optimize Features

5. Optimize Features
When checked, only used Feature managers are created.
This is the default to reduce the compilation time and the executable memory footprint.
Uncheck if Features have to be created at runtime (from code) because the manager will be required even if empty at simulation start.
 
6

Optimize Sprites

6. Optimize Sprites
When checked, only used Sprite managers are created.
This is the default to reduce the compilation time and the executable memory footprint.
 
7

Symbology

7. Symbology
Redefine locally (for the current database) the general settings of Preferences for the Entity symbols.
 
8

IDE

8. IDE
When using the Visual Studio menu option from any code editor of the GUI, the selected IDE will be used. If nothing is set, the option will not be available (grayed out).
 
9

Project

9. Project
When calling Visual Studio to edit the selected code (from the GUI), a solution project can be used. It will enable the intellisense. Select the solution that is normally used for debugging, with the database generated code inserted in the project (otherwise, Intellisense will not be functional).