Commit Graph

322 Commits

Author SHA1 Message Date
f5db7a37fc clang on macOS didn't like sized ::operator delete
replaced with `::operator delete[]`
2023-03-10 10:17:57 -08:00
746330f763 implemented Platform::dir_explore for macOS 2023-03-10 10:15:29 -08:00
176b11e08e Merge pull request #36 from benjitrosch/remove-platform-abstraction
remove platform abstraction layer
2023-03-08 10:17:17 -08:00
5d87875491 removed win32 platform support 2023-03-08 01:40:28 -05:00
9da7f38269 Merge pull request #35 from benjitrosch/misnamed-include
fixed broken renderer include
2023-03-07 13:38:09 -08:00
0aa17d2267 fixed broken renderer include 2023-03-07 15:58:08 -05:00
45a5e8839f use constexpr func instead of macro for hex colors 2023-03-05 15:59:58 -08:00
53714a4ad2 adding workflow_dispatch to build workflow 2023-03-04 18:21:08 -08:00
dda0b76d93 Merge pull request #34 from benjitrosch/master
Simple github release workflow for CI
2023-03-04 14:13:19 -08:00
9feb4b8512 fixed simple github release workflow 2023-03-04 13:26:30 -05:00
72fb034103 Merge pull request #33 from fabtjar/patch-1
Use correct rect overlap check
2023-02-21 17:59:58 -08:00
Fab
ad5419d8bc Use correct rect overlap check 2023-02-19 16:57:37 +00:00
a1f1bd0742 updated license year 2023-01-23 14:41:55 -08:00
a0cccca457 fix update function name typo in emscripten 2023-01-03 22:21:57 -08:00
1b02339f63 disable audio SSE intrinsics
found this to be a problem when compiling with clang on M1 macs, so just disabling for the time being
2023-01-02 13:16:13 -08:00
90cb51110d small fix to previous string commit 2022-12-05 20:03:46 -08:00
916ddc2020 adding a few utility methods to blah string 2022-12-05 19:18:03 -08:00
1e2a009778 removing workflows for now, will revisit later 2022-12-02 18:56:55 -08:00
05743b7dfc Merge pull request #31 from SushilRagoonath/CI
Ci
2022-12-02 13:54:26 -08:00
181e885598 clean 2022-12-02 14:33:25 +01:00
f5d492e532 test windows 2022-12-02 14:26:55 +01:00
4ee91d5812 folder 2022-12-02 14:21:15 +01:00
688e28ac65 initial CI test 2022-12-02 14:20:16 +01:00
c802080bab fix win32 platform compile 2022-12-02 14:05:51 +01:00
3fc3938b22 updated readme example code 2022-11-22 22:52:34 -08:00
5e7c2bec90 update to SDL 2.26 2022-11-22 22:51:38 -08:00
c58eb0142e remove App::content_scale;App::get_backbuffer_size 2022-11-22 22:51:28 -08:00
4d7f7a993a added audio enabled flag 2022-11-20 19:32:38 -08:00
b161457c66 fix include typo 2022-11-20 01:23:01 -08:00
2c45b8b2f2 removing platform abstract class, use ifdef instead 2022-11-19 17:53:21 -08:00
1b41632991 audio tweaks so it still loads on windows w/o sdl2 2022-11-19 16:40:56 -08:00
c89535e328 restructuring internal namespaces & function calls 2022-11-19 16:15:31 -08:00
2437d5841f Merge pull request #25 from RandyGaul/master
Integrate cute_sound.h
2022-11-19 15:56:53 -08:00
b57011905b tested audio stuff on tinylink 2022-11-19 14:09:08 -08:00
7821b0fcf5 Merge pull request #26 from puugz/fix-typos
fix typos
2022-11-19 11:53:48 -08:00
634fadcf33 fix typos 2022-11-19 15:29:18 +01:00
4cc0f8b608 Integrate cute_sound.h 2022-11-13 17:59:35 -08:00
20a6d9411d fix incorrect pixel offset in asset packer trim 2022-10-28 12:54:01 -07:00
c204842d2c adding zero_out to input bindings 2022-10-22 23:18:52 -07:00
30d7f2ee66 fixing c standard lib includes 2022-10-22 23:18:34 -07:00
a5f9701ce6 fix to String::contains 2022-10-04 18:23:51 -07:00
36b0d266b1 fixed String::contains 2022-10-03 00:31:00 -07:00
f06c38ff3e added bool Rect::contains(Rect) 2022-10-03 00:30:49 -07:00
93a231db4d bit of calc organization 2022-10-03 00:30:27 -07:00
dcd3e11b16 Simplify folder sturcture + String refactor
1) Over time the total amount of files has decreased, and so it made sense to just simplify the folder structure and remove all of the subfolders.
2) Refactor the String class to utilize the existing Vector and StackVector classes instead of managing everything itself.
2022-10-01 13:30:15 -07:00
c94e372e7d added App flags, implemented v-sync and fixed timestep flags 2022-08-21 17:41:29 -07:00
05b58706d7 clarified what Input::register_binding does. It returns a handle! 2022-08-21 17:39:58 -07:00
a1baaaf298 updated to SDL 2.24.0, simplifies Windows High DPI
Although it has an issue where the Drawable Size can't really be determined from SDL anymore with D3D11... So now the D3D11 renderer returns it's backbuffer size, until this issue is resolved in SDL / I learn what the correct thing to do is.
2022-08-21 14:48:46 -07:00
1ef5a9c6ad slightly nicer BLAH_ASSERT macro 2022-08-21 12:25:36 -07:00
e581065bbb Updating project to run with latest Emscripten 2022-07-30 16:30:13 -07:00