Skip to content

LevelZ-File/cpp-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

levelz-cpp

Header-only C++ Parser & API For LevelZ File Format

GitHub Release

Overview

Provides C++ bindings for the LevelZ file format. This library is header-only and does not require any additional dependencies.

Installation

Ensure you have CMake installed on your system, then run the following commands:

# Clone Repo
git clone https://github.com/LevelZ-File/cpp-bindings
cd cpp-bindings

# Build Project, Install with CMake
cmake --build . --config Release --target install

## may require sudo
sudo cmake --build . --config Release --target install

Usage

#include <levelz.hpp>

int main() {
    LevelZ::Coordinate2D coord = {0, 0};
    return 0;
}
#include <levelz.hpp>

using namespace LevelZ;

int main() {
    Level l = parseFile("path/to/file.lvlz")
    return 0;
}