Riyyi
17e3a8a5eb
CMake: Copy assets to the build directory automatically
2 years ago
Riyyi
85b222984d
Meta: Remove nlohmann/json dependency
2 years ago
Riyyi
124479876b
Engine: Make event handle functions virtual
2 years ago
Riyyi
aec1a80623
Engine: Rename getWindow() => window()
2 years ago
Riyyi
ae8bb46a7d
Engine+Example: Improve entrypoint via manual singleton
2 years ago
Riyyi
1dcb25ea5e
CMake: Change include directories to use relative path
2 years ago
Riyyi
10a5b70520
Engine: Comment out text-area test code
2 years ago
Riyyi
67b4eb0cc0
Scene: Load text-areas from JSON
2 years ago
Riyyi
e1d88a1872
Component: Add ability to load TextAreaComponent from JSON
2 years ago
Riyyi
3db5845bb4
Scene: Load quads from JSON
2 years ago
Riyyi
c7a8f92970
Component: Add ability to read SpriteComponent from JSON
2 years ago
Riyyi
892be89728
Scene: Load camera from JSON
2 years ago
Riyyi
c2c5777566
Component: Add ability to read TransformComponent from JSON
2 years ago
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