Riyyi
4af037a7fb
Engine: Switch to ruc's singleton
2 years ago
Riyyi
2f1c6b5e75
Engine: Make it compile again
2 years ago
Riyyi
478dccd3df
Meta+CMake: Add ruc library
2 years ago
Riyyi
edc0ef7203
Everywhere: Update work in progress
2 years ago
Riyyi
6b0095dadf
CMake: Move source directory to project root
2 years ago
Riyyi
4468b1ffb9
CMake: Move vendor directory to the project root
2 years ago
Riyyi
90bfd30f7f
CMake: Move engine source compilation to separate file
2 years ago
Riyyi
ed935e50cd
CMake: Automatically build examples during standalone compilation
2 years ago
Riyyi
8b11e51109
CMake: Restructure main file, move example to its own directory
2 years ago
Riyyi
da757365d0
CMake: Exclude unnecessary lua files from compilation
2 years ago
Riyyi
50f363df65
Add git pre-commit hooks and install script
3 years ago
Riyyi
7401936016
Initialize raw pointers as nullptr
4 years ago
Riyyi
d1ba13794c
Release source under MIT license
4 years ago
Riyyi
ec2cb44c06
Set stride to 0 when calculating offsets
4 years ago
Riyyi
c8cea7bf45
Give native types initial value
4 years ago
Riyyi
f63bd4ab6d
Remove move where it didnt make sense
4 years ago
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