Skip to content
forked from komiga/togo

A collection of C++ libraries and tools for games and applications.

License

Notifications You must be signed in to change notification settings

abstractalgo/togo

 
 

Repository files navigation

What be it?

togo is a collection of libraries with simplicity and rapid iteration at heart.

Components

Library: core

Core library. All other libraries depend on it.

Library: image

Imaging library.

Library: window

Windowing library.

Dependencies:

  1. GLEW >= 1.13.0
  2. Backend (one of):
  3. SDL >= 2.0.3 (OpenGL, raster)
  4. GLFW >= 3.0.4 (OpenGL)
  5. With raster backends:
  6. lib/image

Library: game

Game engine.

This library takes significant inspiration from bitsquid (now Stingray), who have written about their design in great detail.

Dependencies:

  1. lib/window (requires OpenGL backend)

Tool: res_build

Resource package compiler for the game library. Interface is available as a static library for extension and automation.

Dependencies:

  1. lib/game

Platforms

togo is developed under Linux and currently only supports Linux. Its primary interface implementations utilize POSIX and the C Standard Library (by way of the C++ Standard Library, of which only little is used).

Building

togo libraries are compiled static libraries (by default).

All features support Clang 3.5+ with libc++ (roughly at SVN head) on Ubuntu 14.04 x86_64. GCC and libstdc++ might work, but they are untested.

Interface headers are generated by igen, which requires Python 2.x, Mako, and cindex.py (libclang wrapper).

Inclusions are sorted with include_sort (see scripts/include_sort), but it is not required to build togo.

See dep/README.md for dependency setup. Components can then be built using my standard project protocol.

The only difference from the project protocol is scripts/premake in place of premake, which enforces recipe order to allow the use of GNU make's --jobs.

Build configuration:

  • --togo-test

    Enable test mode.

  • --togo-window-backend=sdl | glfw

    Set window backend. See lib/window above for the dependencies required.

License

togo carries the MIT license, which can be found both below and in the LICENSE file.

Copyright (c) 2014-2016 Coranna Howard <me@komiga.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

A collection of C++ libraries and tools for games and applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.5%
  • Lua 4.4%
  • Other 0.1%