-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Engine docs update #1525
Engine docs update #1525
Conversation
ac89d0b
to
7cbb5ba
Compare
Helps distinguishing between openage modpack versions and the versions of converted/external mods.
2978ebc
to
82d5508
Compare
82d5508
to
02c32a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basically ready
Value types on continuous curves need to implement methods for the `operator*(..)` and | ||
`operator-(..)` operations to support linear interpolation. In particular, `operator*(..)` | ||
must support multiplication with `time::time_t` and `operator-(..)` must support | ||
substraction for values of the same type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good first issue :)
|
||
A *system* in openage is basically a function that operates on game entity | ||
components. They are explicitely separated from game entity and component objects | ||
to allow for more flexible implementation. In practice, systems are implemented as static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not static, rather 'top level'? or "without a class, since we don't store any state in the system - the state is stored in the component, the system modifies the components"? but that's kinda covered in the next section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they are literally static
methods in a C++ sense. That's what I wanted to get across. Conceptually, "top level" wouldn't fit either.
Updates the engine docs for the next release and does some minor refactoring.