ohsqueezy
12e5a15d1c
add exception checks to Texture::bind and GLObject::id, make collision info storage a std::optional object
2023-06-26 20:49:14 -04:00
ohsqueezy
c0852ba04f
add extend vector function, 2D endpoint function, input check on wrap point
2023-06-22 14:38:56 -04:00
ohsqueezy
6371f9c279
remove Sprite class
2023-06-08 20:04:40 -04:00
ohsqueezy
355ab4d8c4
- pass timestamp of frame start time to all update functions
...
- use timestamp instead of SDL_GetTicks to keep time in Timer class
- use seconds instead of milliseconds in Timer class
2023-06-07 20:22:20 -04:00
ohsqueezy
3ba3be4496
- add Switch and time_it classes
...
- finish adding #pragma once to headers
- move configuration initialization into Game class
- print debug to stdout by default
- explicitly pass file to refresh to config auto refresh
- add delegate to sb namespace and deprecate get_delegate() in favor of delegate()
- set custom log function before loading config
- raise exception when no model textures are available
2023-05-23 15:28:53 -04:00
frank
8972b0c868
move stream operator overloads into std namespace
2021-10-22 15:06:05 -04:00
frank
6adac9806f
abstract base class for GL objects
2021-09-24 02:43:38 -04:00
frank
c8bc86cab7
squircle and 2d collision demo; config auto refresh
2021-08-31 23:55:38 -04:00
frank
ba44b8e8d5
box documentation, remove get/set prefixes from Box and Segment
2021-08-14 19:53:39 -04:00
frank
95a1e6b5b1
added licensing info
2021-06-26 20:25:03 -04:00
Frank DeMarco
7d00cda9bb
added segment constructors for 2 boxes and 2 sprites
2020-09-07 04:11:59 -04:00
Frank DeMarco
3a571adaa3
segment comparison operators; get sdl surface from pixels
2020-09-01 17:00:17 -04:00
Frank DeMarco
ae644b7138
collide box/box, box/line, box/point; sprite/sprite and sprite/box precise alpha collision
2020-08-09 16:32:32 -04:00
Frank DeMarco
f5d03b9be6
- extended version of sdl gfx primitives
...
- drag left and right edge box
- complete segment member functions
- extension functions: get segments, get relative step, populate
pixel array
2020-08-06 18:54:50 -04:00
Frank DeMarco
1861b80aa4
line intersection formula from GraphicsGems; started Segment class
2020-08-02 00:52:50 -04:00