Compilation Flags Overview

From Rigs of Rods Wiki

Jump to:navigation, search

__NORICHEDITOR__

overview of the available precompiler flags

features

those flags do component specific things

  • FEAT_TIMING : enable beam timing?
  • FEAT_BEAMSTATS : more beam statistics
  • FEAT_DEBUGSTREAMFACTORIES : debug network streams

components

these flags will enable whole components for RoR, you will need to fix/add include and link paths and libs

supported components

these components are included in the ror-dependencies-1.zip for windows

  • USE_MYGUI  : using MyGUI
  • USE_OPENAL : sound support via OpenAL
  • USE_LUA  : LUA?
  • USE_OIS_G27 : using OIS with G27 led patch?
  • USE_PAGED : Paged Geometry?
  • USE_SOCKETW : networking?
  • USE_MOFILEREADER : support i18n?
  • USE_WINDOWS_CRASH_REPORT : using crashrpt?
  • USE_CAELUM : use caelum sky?
  • USE_ANGELSCRIPT : using angelscript?
  • USE_XFIRE : XFire Support?
  • USE_HYDRAX : hydrax water system?

unsupported components

these components are not included in the ror-dependencies-1.zip for windows

  • currently no unsupported components

experimental flags

  • USE_MPLATFORM : Motion platform
  • NO_STRNLEN : define if building on a platform that does not have strnlen()
  • NOLANG : do not use RoRs i18n and the _L macro

old flags, do not define those

  • HAS_EDITOR
  • ETM_TERRAIN