Skip to content

cantina-lib/cantina_common

Repository files navigation

Cantina common

Info

Featuring :

  • Macros
  • Common types, Exceptions
  • Maths library (bare-bones, so far)
  • Template Physics engine, a joy to debug!
  • Event listening routine
  • General time management

All in all, useful stuff that's used in Cantina and Pantoufle. Some of this is just me tinkering with bits I saw somewhere and trying to emulate it (like the physics simulation) with varying degrees of success.

The CMake project also includes the compiling which are used project-wide. There's also a format that's meant to be respected in Cantina as a whole.

And a cat. It's still here, it hasn't moved, you can still come and say hi.

Build

This is a header-only library, it can be used by including this directory in CMake.

To do

  • Implement missing Slider::SetSlidingSpeed method and use speed in Slider.

Features

  • Implement C#-style properties. (template, overload = etc.)
  • Implement Slider. (and SliderProperty as a convenience?)
  • Change Base Clock to template, resolve it with System clock (double), add possibility of MIDI tick type (int).
  • Move internal Event handling to private structs so that we don't have to force Event and EventListeners them to be created with std::shared_ptr.
~ tut-tut-tut-tut-tulut-tut ~

About

General utility and project-wide configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published