Internal representation of a hook.
More...
Internal representation of a hook.
Definition at line 75 of file hook.c.
◆ acc
Accumulated resolution.
Definition at line 93 of file hook.c.
◆ created
Hook has just been created.
Definition at line 80 of file hook.c.
◆ data
◆ delete
indicates it should be deleted when possible
Definition at line 81 of file hook.c.
◆ [struct]
| struct { ... } Hook::event |
◆ func [1/2]
function it runs
Function it runs.
Definition at line 99 of file hook.c.
◆ func [2/2]
| int(* Hook::func) (void *) |
◆ id
unique id
Definition at line 78 of file hook.c.
◆ is_date
Whether or not it is a date hook.
Definition at line 91 of file hook.c.
◆ is_timer
Whether or not is actually a timer.
Definition at line 87 of file hook.c.
◆ [struct]
| struct { ... } Hook::misn |
◆ ms
Milliseconds left.
Definition at line 88 of file hook.c.
◆ next
Linked list.
Definition at line 76 of file hook.c.
◆ once
Only run the hook once.
Definition at line 84 of file hook.c.
◆ parent
| unsigned int Hook::parent |
mission it's connected to
Event it's connected to.
Definition at line 98 of file hook.c.
◆ ran_once
Indicates if the hook already ran, useful when iterating.
Definition at line 82 of file hook.c.
◆ res
Resolution to display.
Definition at line 92 of file hook.c.
◆ stack
stack it's a part of
Definition at line 79 of file hook.c.
◆ type
Type of hook.
Definition at line 95 of file hook.c.
◆ [union]
The documentation for this struct was generated from the following file:
- /tmp/pkgbuild/games/naev/work.aarch64eb/naev-0.12.5/src/hook.c