Skip to content

Repository Overview

Lubos Lenco edited this page Dec 28, 2024 · 2 revisions

The repository contains everything needed to build armorpaint except the C compiler itself.

/armorcore

Contains a general-purpose 3D engine.

/sources

A collection of C source files for the complete 3D engine, hardware abstraction (/kinc), OS and graphics api specifics (/backends) and some helper libraries (/libs). Only a minimal single file / header libraries are used, with the exception of quickjs. quickjs is used to provide js scripting capabilities for the engine at runtime.

/tools

  • /amake: armorcore build tool
  • /bin: amake binary for each supported platform
  • /make.js: a part of amake, handles processing of project.js files
  • /tcc: actually a C compiler, not yet used
  • /tests: small armorcore projects for testing
  • /to_spirv: translates glsl into spirv using glslang - to be removed

/project.js

This file adds C source files, include directories, libraries and defines to the project, depending on the selected platform, graphics api and build flags.

/base

Contains code & assets shared between all the tools. The project.js file adds this shared code to the final project.

/armorpaint

Contains armorpaint specific code & assets only. The project.js file adds this specific code to the final project.

Clone this wiki locally