Below here a few notes on my first table-design-thoughts.
I still have to invent a trick that makes it possible to mix graphicsets with this design.
Any comments?
Is there anyone here that can produce a DLL for testing my pluginsystem?
Each table contains a unique ID, and a unique name
GameSystem (dos original, dos ohno etc)
Each of the following tables belongs to one GameSystem
LemmingAction (walk, bash, fall etc)
is_assignable: boolean (assignable by user interface?)
is_permanent_skill: boolean (like climber, floater)
AnimationKind (once, loop, triggered etc)
Drawing (nooverwrite, only on terrain, flippedhorz, flippervert etc)
TriggerEffect (effect of trap)
Soundeffect (any sound effect)
Music (music belonging to level)
GraphicSet (one graphic set of a certain style)
Terrain (piece of terrain)
Structure (piece of structure (trap))
Material (definition of material i.e. steel)
Lemming (lemming definition)
LevelPack (author etc)
LevelSection (fun, tricky, taxing etc)
belongs to LevelPack
LevelContent (placeholder for level)
belongs to LevelSection
LevelTerrain (terrain piece of a level)
belongs to LevelContent
ref to Terrain
LevelStructure (object piece of a level)
belongs to LevelContent
ref to Structure
LevelMaterial (material/steel piece of a level)
belongs to LevelContent
ref to Material
LevelChallenge (how many lemmings, how much to save etc)
belongs to LevelContent
rescue_count: integer
LevelAction (available action of a level)
belongs to LevelChallenge
ref to LemmingAction
available: integer (number of available actions/skills)