f5db7a37fc
clang on macOS didn't like sized ::operator delete
...
replaced with `::operator delete[]`
2023-03-10 10:17:57 -08:00
45a5e8839f
use constexpr func instead of macro for hex colors
2023-03-05 15:59:58 -08:00
ad5419d8bc
Use correct rect overlap check
2023-02-19 16:57:37 +00: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
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
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
634fadcf33
fix typos
2022-11-19 15:29:18 +01:00
4cc0f8b608
Integrate cute_sound.h
2022-11-13 17:59:35 -08: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
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
1ef5a9c6ad
slightly nicer BLAH_ASSERT macro
2022-08-21 12:25:36 -07:00
f68e4cd8ed
added pressed()
check for Stick & Axis bindings
...
Shorthand for checking the individual buttons in the stuck or axis
2022-07-29 10:11:36 -07:00
a7f2fa565c
orange not defined
2022-07-18 19:09:54 +02:00
d2703e5050
added NonPremultiplied BlendMode
2022-05-28 09:38:38 -07:00
410adbfe12
fixed Textures/Samplers potentially using incorrect registers
2022-05-28 09:32:52 -07:00
0628e0dce5
added BLAH_ASSERT_FMT for formatted messages
2022-05-28 09:30:07 -07:00
78f5fc9388
removed Batch TextAlign in favour of Vec2 Justify
2022-03-15 20:16:33 -07:00
05391f0b3d
added Rect::inflate(x, y)
2022-03-15 20:16:02 -07:00
cbb194e516
clang didn't like constexpr is_big/little_endian checks
2022-02-12 23:15:51 -08:00
7477cda527
added default Additive BlendMode
2022-02-12 23:15:04 -08:00
8add71003c
added App::is_running() getter
2022-02-12 23:14:35 -08:00
9beb7eff58
Color::to_hex_rgb had an incorrect declaration appended to it
2022-02-12 12:30:51 -08:00
99595f265f
refactored graphics & streams into single files - easier to maintain & read
2022-02-12 12:19:53 -08:00
9c7d8a4418
various memory cleanup, move/copy simplifications
2022-02-12 00:18:08 -08:00
4c04fdd72f
clarified Aseprite state, removed unnecessary copy/move code
2022-02-12 00:16:11 -08:00
d559f1c8ee
added Texture::get/set data for Color*
2022-02-12 00:15:07 -08:00
1caa31032b
Refactored Platform into a struct to hold global state better
2022-02-11 20:19:14 -08:00
068d0778c2
added Time::get_ticks() to poll for an immediate value
2022-02-11 16:07:07 -08:00
edee79b237
cleaned up Calc header, renamed numerics folder to math
2022-02-11 16:03:27 -08:00
cedc57e322
made std::shared_ptr and std::functional optional
2022-02-11 15:20:07 -08:00
0c809f8085
made stream.read/write explicit instead of using a template
2022-02-11 15:19:35 -08:00
51e80ec6a2
spritefont uses a binary search instead of std::unordered_map
2022-02-11 15:18:10 -08:00
f56e3bb2b2
moved Sprite Batcher's default shader to Renderer; no longer a global var
2022-02-10 01:13:20 -08:00
f5e8de0b11
Refactored Graphics to allow Renderer choice at runtime
2022-02-09 18:49:47 -08:00
ae6a2f12d4
fixed Vec3f::normal
2022-02-01 19:48:01 -08:00
ccd02fa9ef
added App::focused and System::open_url apis
2022-01-25 22:50:20 -08:00
c8afa3f699
Vec2::normal accounts for zero-length
2022-01-09 14:32:50 -08:00
832c8f4283
simplifying Input enums
2022-01-09 14:32:35 -08:00
53ebb40ffd
fixed packer's off-by-one error with padding
2022-01-09 13:51:23 -08:00
168424039c
fixed missing vec3/vec4 constructors
2022-01-09 13:50:50 -08:00
1ee2fbab3d
string internal set method has additional safeguard for bad data
2021-12-18 02:48:51 -08:00
10c1c39419
fixed missing <cstring> #include for vector.h
2021-12-18 02:48:06 -08:00