Commit Graph

12 Commits

Author SHA1 Message Date
Adrien Marquès 49deb9e868 add xSprite constructors and SDL_Rect primitive shorthands 2020-02-04 18:56:49 +01:00
Adrien Marquès 7a6022e694 create orchestrable xSpriteGroup (no more xSprite alone) 2020-02-02 16:18:20 +01:00
Adrien Marquès ab2f170def replace xElement by xDrawable
also fix mutexes
2020-02-02 16:17:52 +01:00
Adrien Marquès 44de8cb3ea Merge SpriteAnimation into xSprite and interface improvements
- remove dead code
- a sprite with no clip uses the default surface dimensions to draw
- a sprite with a single clip uses it
- a sprite with multiple clips (i.e. frames) has the first as a default but when orchestrated iterates over clips in order
2019-11-08 21:38:16 +01:00
Adrien Marquès 12871d93dc update readme: explain orchestrable and how xSpriteAnimation implements it 2019-11-06 22:56:03 +01:00
Adrien Marquès 964d982b31 Fix xController macro 2019-11-06 22:50:02 +01:00
Adrien Marquès 57025d9ef3 Make xSpriteAnimation orchestrable and register every animation into the app when started 2019-11-06 22:50:02 +01:00
Adrien Marquès 2cbf3bc91b Simplify push/pull by reference, no more string identifier 2019-11-06 22:47:11 +01:00
Adrien Marquès 0997541fc7 Simplify FPS management 2019-11-06 22:43:46 +01:00
Adrien Marquès 888cbb99f2 add license information 2019-11-05 21:52:55 +01:00
Adrien Marquès bbf5c25e8e Create project barebone
- Create makefile that compiles everything and xSDL as a shared library (.so)
- Create xSDL base library (not stable)
- Add vscode settings (include path)
- Default main.h
2019-11-05 21:52:41 +01:00
Adrien Marquès a01d9f0fc0 Initial commit 2019-11-05 20:50:17 +00:00