Riyyi
0b57ee3a9f
Remove const ref std::shared_ptr
...
Taking a const std::shared_ptr& doesnt make sense, as it doesnt increase the
reference count and the object inside the pointer is still modifiable.
Return std::shared_ptr by value, returning by reference wont increase the
reference count and RVO (return value optimization) makes the const concern
moot.
4 years ago
Riyyi
50a438e340
Cleanup
4 years ago
Riyyi
0522f6f388
String can be printed directly
4 years ago
Riyyi
571403c9a2
Change "pretending to be for loop" while loop to for loop
4 years ago
Riyyi
25a5e0a8e8
Add .clang-format
4 years ago
Riyyi
49bf1b3933
ifstream destructor closes the file, due to RAII
4 years ago
Riyyi
16cebbb8cb
Prevent window duplicate destruction
4 years ago
Riyyi
3e1d0eef53
Forward declare components
4 years ago
Riyyi
8f7665b8a3
Implement singleton class in all singletons
4 years ago
Riyyi
deb9e34b8f
Second attempt at deriving application from a singleton
4 years ago
Riyyi
4467d0d40a
Add std::move to the resource managers
4 years ago
Riyyi
6103854503
Revert application and remove singleton class, it breaks object lifetime?
4 years ago
Riyyi
3583c2994b
Remove call to application getWindow before its finished construction
4 years ago
Riyyi
c1ae98c659
Implement singleton class into application
4 years ago
Riyyi
0cc22100e9
Add singleton class
4 years ago
Riyyi
e834203b07
Move settings save after initialize log
4 years ago
Riyyi
b26cb3e073
Move defines below includes
4 years ago
Riyyi
58afdbeae6
Re-add stb dependency in the new location
4 years ago
Riyyi
aa34cd56ce
Remove stb dependency
4 years ago
Riyyi
cdbb456ce8
Move try/catch from settings to file, overwrite invalid settings file
4 years ago
Riyyi
adc0848a23
Implement nlohmann::json arbitrary type conversion for settings
4 years ago
Riyyi
7042a42032
Settings: use json util, update window size to uint32_t
4 years ago
Riyyi
e044397e88
Omit copy constructors for strings in constructors
4 years ago
Riyyi
858a2bd0d4
Prevent double gltf json parsing
4 years ago
Riyyi
68b2e93969
Add support for .gltf file reading with 1 buffer binary
4 years ago
Riyyi
1c311fca64
Update gltf file assert messages
4 years ago
Riyyi
b8bd6aad70
Rename gltf file class
4 years ago
Riyyi
aa9403dde0
Convert double to float in gltf model and json util
4 years ago
Riyyi
a7953b4bdd
Add gltf node parsing
4 years ago
Riyyi
cf44172943
Add gltf scene parsing, change assert messages capitalization
4 years ago
Riyyi
5ddfa0515c
Add gltf json length check
4 years ago
Riyyi
1134ce6a43
Start working on glTF model class
4 years ago
Riyyi
105912a62a
Add json object parsing and helpers
4 years ago
Riyyi
ac444184a9
Add json array property parsing, helper functions
4 years ago
Riyyi
b554b91ec0
Add json utility class
4 years ago
Riyyi
70e520eaf2
Add gltf file class
4 years ago
Riyyi
e106f0ba8d
Move std::stou to integer.h, add intToHex util
4 years ago
Riyyi
a2aec7f2ff
Move file length check to separate function
4 years ago
Riyyi
bbd84df19c
String already adds a null terminator
4 years ago
Riyyi
989e0f10ac
Remove [[noreturn]] from assert as it generated alot of compiler warnings, why?
4 years ago
Riyyi
dacebbe6b1
Remove entrypoint.h from generic include collection
4 years ago
Riyyi
a0be1dcd67
Remove unused forward declarations
4 years ago
Riyyi
a1372b971e
Implement signal handling: SIGINT, SIGTERM
4 years ago
Riyyi
c209716e50
Remove newline
4 years ago
Riyyi
77c79aba14
Fix string util parameters
4 years ago
Riyyi
a962f7bc31
Change Character postiion/size to uint, add Font size
4 years ago
Riyyi
9734e7fbe0
Add std::stou, cant believe its not in the STL
4 years ago
Riyyi
54171260b6
Improve assert implementation and output formatting
4 years ago
Riyyi
4cbf0a6811
Change font advance from int to uint
4 years ago
Riyyi
3ce136741d
Improve API regarding server-side GL capabilities, fix font transparency
4 years ago