💿🐜 Antkeeper source code https://antkeeper.com
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.
 
C. J. Howard 304e290ca3 Add Pheromone, Colony, and Habitat classes 7 years ago
cmake/modules Initial commit 7 years ago
data@935cc4cf30 Add Pheromone, Colony, and Habitat classes 7 years ago
lib Add Pheromone, Colony, and Habitat classes 7 years ago
src Add Pheromone, Colony, and Habitat classes 7 years ago
.gitignore Initial commit 7 years ago
.gitmodules Initial commit 7 years ago
CMakeLists.txt Add Pheromone, Colony, and Habitat classes 7 years ago
COPYING Initial commit 7 years ago
README.md Fix model loading 7 years ago

README.md

Antkeeper

Antkeeper is an ant colony simulation game. This repository contains all of the source code to Antkeeper. The game data, however, is proprietary and resides in a closed-source Git submodule.

Getting Started

Prerequisites

  • Git
  • CMake
  • SDL 2
  • FreeType 2

Download

Use Git to download the antkeeper repository and its submodules:

git clone --recursive https://github.com/cjhoward/antkeeper.git antkeeper

Configuration

Antkeeper uses the CMake build system for configuration.

cd antkeeper
cmake . -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DPLATFORM=win32 -DLANGUAGE=en-us

Building

cmake --build .

Workflow

Making Changes

If any changes have been made to the submodules, commit those first. Each submodule can then be updated to their latest commits with the following command:

git submodule update --recursive --remote

Testing

cmake --build . --target run

Cleaning

First perform a dry run to check what will be deleted:

git clean -d -f -x -n

If there are no issues, clean:

git clean -d -f -x

Shipping

License

The source code for Antkeeper is licensed under the GNU General Public License, version 3. See COPYING for details.