Skip to content
tiffany352 edited this page Jan 1, 2013 · 3 revisions

Macros

#define IL_BASE_RANGE (0)

Defines the range used by events in the common module.

#define IL_BASE_STARTUP ((IL_BASE_RANGE<<8) + 0)

Defines the event ID fired when the engine is initialised, after all the internal init() functions have been called.

#define IL_BASE_TICK ((IL_BASE_RANGE<<8) + 1)

Defines the event ID fired every tick.

#define IL_BASE_SHUTDOWN ((IL_BASE_RANGE<<8) + 2)

Defines the event ID fired when the engine is shutdown. Allows modules to make corresponding shutdown calls to any libraries they use.

#define IL_BASE_TICK_LENGTH (50000)

Defines the number of microseconds in between each IL_BASE_TICK event.

See Also

  • Common
  • Events
  • Ticks
  • [Engine Startup](Engine Startup)
  • [Engine Shutdown](Engine Shutdown)
Clone this wiki locally