A 2D tile-based sandbox game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mod.cc 246B

1234567891011121314
  1. #include <swan/Mod.h>
  2. #include <swan/Game.h>
  3. extern "C" void mod_init(Swan::Mod &mod) {
  4. mod.init("core");
  5. mod.registerTile("test1", Swan::Tile());
  6. mod.registerTile("test2", Swan::Tile());
  7. }
  8. int main() {
  9. Swan::Mod mod;
  10. mod.init("core");
  11. }