cce7bd8958
Added ldconfig invocation for OpenBSD
Bob Polis
2023-04-15 23:31:13 +02:00
00b562337d
Changed renderer flag
Bob Polis
2023-02-13 11:46:22 +01:00
b2354d68c0
Added log message when sdl2 init fails
Bob Polis
2023-02-13 11:41:24 +01:00
e5a2cb2604
Removed comment headers, fixed sdl2 includes
Bob Polis
2023-02-13 11:23:16 +01:00
55923826d2
Removed comment header, changed sdl2 includes
Bob Polis
2023-02-13 11:20:16 +01:00
640db33807
Added correct sdl2 flags using pkg-config
Bob Polis
2023-02-13 11:19:45 +01:00
63dd8c1e2b
Fixed Makefile
Bob Polis
2023-02-13 11:19:38 +01:00
ad0eaaf47e
Modernized Makefile
Bob Polis
2023-02-09 18:58:57 +01:00
99c8a69447
Fixed lib header install dependency
Bob Polis
2021-12-21 15:02:54 +01:00
d2f15b858d
Fixed lib dependencies
Bob Polis
2021-12-21 14:57:32 +01:00
e800e79f24
Added symbol to indicate header build
Bob Polis
2021-12-21 14:54:36 +01:00
40a535b228
replaced bu latest version
Bob Polis
2021-12-21 14:53:06 +01:00
c2e8f440b4
Moved versioning to premake; added OpenBSD support
Bob Polis
2021-12-21 10:54:39 +01:00
bebb6e4393
Removed -pthread and -fno-strict-aliasing flags
Bob Polis
2021-11-13 19:14:02 +01:00
74d8f56031
Allows flags for window creation to be passed
Bob Polis
2021-10-09 23:48:00 +02:00
81278f0186
Changed to default masks to fix color bug
Bob Polis
2021-10-09 23:37:14 +02:00
68fe26613a
Rmoved commented-out code
Bob Polis
2021-02-01 13:13:32 +01:00
3db2099635
Setting image no longer resizes window
Bob Polis
2021-02-01 10:50:40 +01:00
f1e82f6126
Changed callbacks to std::function
Bob Polis
2021-02-01 00:38:55 +01:00
502664615a
added delay to run loop in order to cap to a given fps
Bob Polis
2020-11-13 17:18:16 +01:00
32ac8b4e0f
refactored event handling; added _dirty flag to only update when dirty
Bob Polis
2020-11-13 16:54:49 +01:00
6202c7dba7
added fps; added time measurement of run loop; extra sleep commented out because of buggy update behaviour when used
Bob Polis
2020-11-11 17:37:23 +01:00
97c837f9e9
added standard unit test support
Bob Polis
2020-11-11 17:25:24 +01:00
24bed16090
changed literal to named constant
Bob Polis
2020-11-11 17:22:45 +01:00
4f9b66dc79
replaced Makefile with new one for changed project hierarchy
Bob Polis
2020-11-11 17:21:59 +01:00
b9e76c5286
moved all sources into src directory
Bob Polis
2020-11-11 17:20:42 +01:00
50b045e173
changed default window size to 1600x900
Bob Polis
2020-10-26 23:15:50 +01:00
039b7ccec0
changed default window size to 1280x720
Bob Polis
2020-10-26 23:13:39 +01:00
6097614905
added width() and height() getters
Bob Polis
2020-10-25 20:31:19 +01:00
05cf3ba0e2
moved window updating and runloop actions after event polling
Bob Polis
2020-10-25 20:30:57 +01:00
deddc2bbea
added run loop actions
Bob Polis
2020-10-25 19:03:34 +01:00
4e12340507
changed event handling order to have custom handlers fire first
Bob Polis2020-10-24 23:15:21 +02:00
ec465820e8
added ImageLock RAII class for SDL Surface locking
Bob Polis
2020-10-24 18:02:43 +02:00
582de4df22
added getter for the texture
Bob Polis
2020-10-24 18:02:12 +02:00
84a196ab1a
added constructor for external surfaces
Bob Polis
2020-10-24 18:01:44 +02:00
027b9ba84a
changed polling for events to blocking call
Bob Polis
2020-10-24 15:58:58 +02:00
b67f68cd6c
changed get_window() to window() for consistency
Bob Polis
2020-10-24 15:58:09 +02:00
7382120a0b
added Image class to wrap SDL_Surface; changed Window to use Images
Bob Polis
2020-10-24 15:13:13 +02:00
0c4f5456a4
added Application; implemented event handling
Bob Polis
2020-10-24 13:02:18 +02:00
c6e6333f9a
added namespaces
Bob Polis
2020-10-23 13:55:57 +02:00
3de586a516
added .gitignore for library header
Bob Polis
2020-10-23 12:45:42 +02:00
b01871799a
first commit
Bob Polis
2020-10-23 12:43:47 +02:00