Wartbed:Framework
From Dark Omen Wiki
(Difference between revisions)
(→Classes: Added a few) |
(→Classes: Added ''mvc'' namespace) |
||
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
- | ''Stub page the may be updated as I go along. Does not in anyway represent the current state of the WARTBED code base'' | + | :''Stub page the may be updated as I go along. Does not in anyway represent the current state of the WARTBED code base. This page will be replaced by an auto-generated JavaDoc (or similar) reference later.'' |
Reference for WARTBED development framework | Reference for WARTBED development framework | ||
Line 20: | Line 20: | ||
: | : | ||
:<span style="color:purple;">''Modules''</span> | :<span style="color:purple;">''Modules''</span> | ||
+ | :<span style="color:gray;">''It is quite likely that all module-specific namespaces will not be part of the WARTBED''</span> | ||
+ | :<span style="color:gray;">''proper, but rather be used in separate Game-to-WARTBED conversion utilities''</span> | ||
+ | ::'''sothr''' { <span style="color:green">Code specific to handle Warhammer: Shadow of the Horned Rat</span> } | ||
::'''darkomen''' { <span style="color:green">Code specific to handle Warhammer: Dark Omen</span> } | ::'''darkomen''' { <span style="color:green">Code specific to handle Warhammer: Dark Omen</span> } | ||
:} | :} | ||
</tt> | </tt> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
==Classes== | ==Classes== | ||
Line 63: | Line 56: | ||
|- | |- | ||
| TargetOrder || wb_Orders.h || (Abstract) Base class for all orders specifically targeting another Model | | TargetOrder || wb_Orders.h || (Abstract) Base class for all orders specifically targeting another Model | ||
+ | |} | ||
+ | <br> | ||
+ | <div style="background:black; color:white;">namespace '''wb::mvc'''</div> | ||
+ | {| class="prettytable" style="border:1px solid black; width:100%;" | ||
+ | ! Symbol !! #include !! Description | ||
+ | |- | ||
+ | | Controller || wb_MVC.h || Abstract base for classes facilitating interaction between users and views and the underlying simulation. | ||
+ | |- | ||
+ | | Model || wb_MVC.h || Game entities that constitutes the simulation | ||
+ | |- | ||
+ | | View || wb_MVC.h || Representations of the simulated universe | ||
+ | |- | ||
|} | |} | ||
<br> | <br> | ||
Line 69: | Line 74: | ||
! Symbol !! #include !! Description | ! Symbol !! #include !! Description | ||
|- | |- | ||
- | | Defend || wb_Orders.h || (Abstract) | + | | Defend || wb_Orders.h || (Abstract) Base class for all orders designating a target to be defended |
|- | |- | ||
| Escort || wb_Orders.h || | | Escort || wb_Orders.h || |
Current revision as of 13:53, 29 January 2010
- Stub page the may be updated as I go along. Does not in anyway represent the current state of the WARTBED code base. This page will be replaced by an auto-generated JavaDoc (or similar) reference later.
Reference for WARTBED development framework
- See also the The WARTBED Manual
Namespaces
- wb // main WARTBED namespace
- {
- WARTBED-common namespaces
- camera { enums for controlling a WARTBED Camera object }
- gui { all things CEGUI and GUI are encapsulated here }
- input { all input-related aspects are collected here }
- mvc { contains the base classes for the Model-View-Controller architecture }
- ogre { all things OGRE are encapsulated here }
- order { the order queue and all specific order classes are contained here }
- Modules
- It is quite likely that all module-specific namespaces will not be part of the WARTBED
- proper, but rather be used in separate Game-to-WARTBED conversion utilities
- sothr { Code specific to handle Warhammer: Shadow of the Horned Rat }
- darkomen { Code specific to handle Warhammer: Dark Omen }
- }
Classes
namespace ::
Symbol | #include | Description |
---|---|---|
Wartbed | Wartbed.h | Framework initialisation object. When created will boot OGRE and initialise all basic facilities. |
namespace wb
Symbol | #include | Description |
---|---|---|
Actor | wb_Models.h | |
Camera | wb_Kernel.h | Versatile camera abstraction that is designed for automate movement, focusing, swiveling, circling and orbiting operations. |
Order | wb_Orders.h | |
Orderable | wb_Orders.h | |
Progressive | wb_Models.h | |
Prop | wb_Models.h | |
Target | wb_Target.h | |
TargetOrder | wb_Orders.h | (Abstract) Base class for all orders specifically targeting another Model |
namespace wb::mvc
Symbol | #include | Description |
---|---|---|
Controller | wb_MVC.h | Abstract base for classes facilitating interaction between users and views and the underlying simulation. |
Model | wb_MVC.h | Game entities that constitutes the simulation |
View | wb_MVC.h | Representations of the simulated universe |
namespace wb::order
Symbol | #include | Description |
---|---|---|
Defend | wb_Orders.h | (Abstract) Base class for all orders designating a target to be defended |
Escort | wb_Orders.h | |
Hold | wb_Orders.h | |
Move | wb_Orders.h | |
Queue | wb_Orders.h | Stack of Orders used by Actor |