togo is a collection of libraries with simplicity and rapid iteration at heart.
Core library. All other libraries depend on it.
Imaging library.
Windowing library.
Dependencies:
- GLEW >= 1.13.0
- Backend (one of):
- SDL >= 2.0.3 (OpenGL, raster)
- GLFW >= 3.0.4 (OpenGL)
- With raster backends:
lib/image
Game engine.
This library takes significant inspiration from bitsquid (now Stingray), who have written about their design in great detail.
Dependencies:
lib/window
(requires OpenGL backend)
Resource package compiler for the game library. Interface is available as a static library for extension and automation.
Dependencies:
lib/game
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).
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.
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.