Skip to content

Generic engine implementation notes

roysmeding edited this page Jan 17, 2013 · 7 revisions

Just some thoughts on the organization of the general framework we arrived at in the [2013-01-17 conference call](Conference call notes 2013-01-17).

C++ side

  • Contains renderer and input subsystems
  • Contains utility functions, things that need to be fast etc.
  • Contains general notions of:
    • Building
    • Item
    • Vehicle
    • Creature
    • Map
    • Controls
    • Data files
      • Save files
      • Config files
      • DSL for attributes (see below)
      • Scripting (see below)

scripting side

There are two possible cases here, need to investigate which is best / easiest

  • Parameters are in data files, behaviour is in scripts
    • Allows suitable file formats for either instead of one for both
  • Everything is in scripts
    • Everything in one place

Scripting

  • Basic unit of behaviour: component
    • Consists of code and parameters
    • Possibility of same code, different parameters

Clone this wiki locally