Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.

Structure

streetclaw edited this page Dec 24, 2016 · 2 revisions

Main folder

Element Description
app Contains the app data
build Required build data
dist App Distribution

app/

Element Description
assets Graphics and colorsets
elements Content for the menu
js App Logic
lang Language files (currently unused)
lib included js libs
index.html Main window structure
main.js Tool init and window creation

app/assets/

Element Description
basic.css Basic css (structure only, no color information)
theme Contains all colorsets (color only, no structure information)

app/js/

Element Description
general General definitions (used in all modules)

Module specific:

  • Items
  • Savegames
  • Settings
  • Status

app/js/general/

Element Description
basic Main definitions
controller Definitions for global Controller
events Definitions for global Events
service Global service functions
struct Function and class objects for struct creation

app/js/general/basic/

Element Description
env.js Global environment definition
basic.js Basic definition (globals, gameController and menu definition)

app/js/general/controller/

Element Description
game.js Game data Controller (managed storage for game data; doesn't contain media data)
image.js Image Controller (managed storage for media data)
lang.js Language Controller (managed storage for language data)
memory.js Memory Controller (managed storage for module specific data)
menu.js Menu Controller (menu logic and storage)
storage.js Game storage Controller (controller for unpacked and parsed gamedata; unused)

app/js/general/events/

Element Description
drop.js Handles drop events, gamedata grabber requests

app/js/general/events/

Element Description
containerBeginExec.js Returns the begin for the zip-Container (linux and windows executables)
gameGrabber.js Grabs the gamedata

app/js/general/events/

Element Description
menu.js Generates the menu
version.js Generates the versions selection
Clone this wiki locally