HGE::System_SetState

Sets internal system states.

void System_SetState(
  hgeBoolState state,
  bool value
);

void System_SetState(
  hgeFuncState state,
  hgeCallback value
);

void System_SetState(
  hgeHwndState state,
  HWND value
);

void System_SetState(
  hgeIntState state,
  int value
);

void System_SetState(
  hgeStringState state,
  const char *value
);

Parameters

state
Member belonging to one of the System states enumerated types. Denotes the desired system state.
value
New value for the system state.

Remarks

Use this function to set desired internal system states such as screen resolution, window title, log file name etc. Although most of them have appropriate defaults, at least HGE_FRAMEFUNC must be set before calling System_Start.

See System states section for complete states description.

Requirements

Header: hge.h
Import library: hge.lib

See also

System_GetState, System states