Riyyi
aedb1a5fc9
Everywhere: Add copyright headers
2 years ago
Riyyi
2ab555af5e
Engine: Remove unused utility classes
2 years ago
Riyyi
01e5179ec7
Engine: Update std::stou, remove need for intToHex()
2 years ago
Riyyi
324da69bb2
Engine: Remove unnecessary unused warning suppressions
2 years ago
Riyyi
f44c82d06e
Engine: Add function for finding key names
2 years ago
Riyyi
8a03d84580
Engine: Switch inferno/io/log.h => ruc/format/log.h
2 years ago
Riyyi
f61f402116
Engine: Switch to ruc::File
2 years ago
Riyyi
470f90fbdd
Engine: Switch inferno core.h => ruc core.h
2 years ago
Riyyi
6302bb4ae1
Engine: Make sure glad gets included before GLFW in context
2 years ago
Riyyi
b72da1278d
Engine: Run clang-format
2 years ago
Riyyi
3da83e9cea
Meta: Bump C++ version to 20 in .clang-format
2 years ago
Riyyi
766f24d6b9
Engine: Switch to ASSERT macro to ruc's VERIFY
2 years ago
Riyyi
722bdd82b1
Engine: Change include guards to #pragma once
2 years ago
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