Riyyi
6b6c588378
Component: Put JSON serialization functions in a separate file
2024-08-25 21:10:03 +02:00
Riyyi
9145f90c1d
Meta: Update ruc library
2024-08-25 13:26:04 +02:00
Riyyi
b9043dbb4b
Render: Add and implement shader storage buffer (SSBO)
2024-08-24 20:14:06 +02:00
Riyyi
b6e68eccec
Doc: Add GLSL std430 memory layout documentation
2024-08-20 21:31:01 +02:00
Riyyi
d16fade497
Everywhere: Work towards lighting support
2024-08-19 17:56:57 +02:00
Riyyi
b8e4d9ef3f
Render: Allow arbitrary data in uniformbuffer objects
2024-08-19 17:41:31 +02:00
Riyyi
03e8210165
Event+Asset+Keycodes: Add keybind for taking screenshots
2024-08-17 21:05:43 +02:00
Riyyi
dcf2a85208
Asset+Component+Render: Render quads in the world as 3D objects
2024-08-11 22:06:55 +02:00
Riyyi
b2ed951b1e
Render: Add more value setter types for uniformbuffer objects
2024-08-11 22:06:55 +02:00
Riyyi
d63dfe2f9f
Render: Update getter to match naming convention
2024-08-10 22:05:21 +02:00
Riyyi
faacdca424
App: Print average frame-time on exit
2024-08-10 21:58:50 +02:00
Riyyi
b5f3cae5ba
Render+Scene: Implement uniformbuffer objects
2024-08-10 21:58:50 +02:00
Riyyi
1d5f5a1ad8
Shader: Cache uniform location lookup
2024-08-09 23:10:39 +02:00
Riyyi
3cd2fab637
Render: Add support for int/double shader attributes
2024-08-07 21:52:13 +02:00
Riyyi
c5ed219ad2
Render: Dont create double framebuffers
2024-08-05 19:26:38 +02:00
Riyyi
4dbac7ee38
Render: Make Framebuffer class more flexible
2024-08-05 19:24:38 +02:00
Riyyi
a5b7a49447
Render: Make Framebuffer class more flexible
2024-08-05 19:12:39 +02:00
Riyyi
fd72f6610e
Render: Change RenderCommand::clearBit function
2024-08-05 15:19:16 +02:00
Riyyi
21319b93ad
Render: Cleanup buffer
2024-08-05 11:24:52 +02:00
Riyyi
cd36841039
Asset+Render+App: Implement render to framebuffer
2024-08-04 20:54:57 +02:00
Riyyi
538d0b5ce7
Asset+Render: Add Framebuffers
2024-08-03 22:41:23 +02:00
Riyyi
5f6a5f48dd
Asset+Component+Render: Fix assimp modeling loading + batching
2024-08-02 02:08:12 +02:00
Riyyi
c06b06ed62
Scene+System: Enable model loading
2024-05-13 14:20:42 +02:00
Riyyi
5721b4249c
Asset: Add 3D shader
2024-05-13 14:15:37 +02:00
Riyyi
95a64be4cd
Renderer: Implement 3D
2024-05-13 14:14:36 +02:00
Riyyi
79b4f1c3d1
Asset: Implement assimp texture loading
2024-05-13 14:05:21 +02:00
Riyyi
a266a27f88
Asset+Component: Add model component and asset
2024-05-13 14:05:05 +02:00
Riyyi
08969e32d1
Meta: Add assimp dependency
2024-05-13 13:56:48 +02:00
Riyyi
2793956be4
Render+Asset: De-duplicate different manager classes into one for assets
2024-04-29 13:36:49 +02:00
Riyyi
51c5874318
Add license file for glad
2024-04-20 16:51:32 +02:00
Riyyi
d01a4429ca
Renderer: Rename Character -> Font/Symbol
2024-01-20 00:17:15 +01:00
Riyyi
d22effdfa3
Renderer: De-duplicate code between renderer types
2024-01-20 00:15:24 +01:00
Riyyi
52611beeab
Renderer: Move RenderCommand to separate file
2024-01-14 20:24:17 +01:00
Riyyi
fd8973d10d
Engine: Implement skybox
2024-01-07 16:37:42 +01:00
Riyyi
bc3f2c9db5
Component+Scene+System: Implement parent-child transform components
2024-01-05 20:50:49 +01:00
Riyyi
0dd7a05d46
Component+Scene: Restructure scene .json to allow multiple components
2024-01-01 13:10:20 +01:00
Riyyi
c607ebcc72
Engine: Do not use offset for character advance
2023-12-29 22:53:29 +01:00
Riyyi
15b71f8387
Engine: Allow configuration of font size and line spacing
2023-12-29 22:12:13 +01:00
Riyyi
6e5f82913e
Script: Add missing macro CONCAT
2023-12-26 22:06:02 +01:00
Riyyi
d02d5a528b
Assets: Add text entity to example scene1.json
2023-12-26 13:07:56 +01:00
Riyyi
574f2a8b5a
Engine: Fix font spacing in TextAreaComponent
2023-12-26 01:31:12 +01:00
Riyyi
2b0635ed69
Meta: Assets in separate CMakeLists.txt
2023-12-18 21:50:10 +01:00
Riyyi
649d196577
Script+System: Allow native scripts from projects, decoupled from engine
2023-12-03 20:05:21 +01:00
Riyyi
f47babe5cf
Engine: Add ability to set camera zoom-level via scene JSON
2022-10-16 12:44:35 +02:00
Riyyi
efae5b9adb
Engine: Add Scene::findEntity() function
2022-10-16 11:39:19 +02:00
Riyyi
a1b02c2e3a
Meta: Update ruc library
2022-10-15 11:33:19 +02:00
Riyyi
e926d3ce4a
CMake: Link against ruc-test library
2022-09-28 14:36:44 +02:00
Riyyi
4c479cfb64
Meta: Update ruc library
2022-09-28 14:34:17 +02:00
Riyyi
cf0a20e208
Engine: Add scene getter
2022-09-28 14:20:28 +02:00
Riyyi
55af11d831
Engine: Add constructor for raw data texture
2022-09-28 14:15:52 +02:00
Riyyi
26cd35d679
CMake: Populate list of required include directories for library targets
...
PUBLIC items will populate the INTERFACE_INCLUDE_DIRECTORIES property of
<target>. This property is a list of public include directories
requirements for a library.
Targets may populate this property to publish the include directories
required to compile against the headers for the target.
2022-09-28 14:05:02 +02:00
Riyyi
6972128ad2
Assets: Remove font from test scene, as font assets aren't added yet
2022-09-27 13:12:13 +02:00
Riyyi
c858ef3b1d
CMake: Always copy assets to build directory, fixes example: $ make run
2022-09-27 13:10:33 +02:00
Riyyi
3d22334be9
Meta: Update debugging path to example executable
2022-09-27 12:32:02 +02:00
Riyyi
9d26f20bde
Script: Prefer using script files from the ruc library
2022-09-27 12:28:57 +02:00
Riyyi
0305b2c464
Doc: Update git submodule instructions in readme
2022-09-27 12:23:31 +02:00
Riyyi
17e3a8a5eb
CMake: Copy assets to the build directory automatically
2022-09-27 12:12:03 +02:00
Riyyi
85b222984d
Meta: Remove nlohmann/json dependency
2022-09-26 22:37:25 +02:00
Riyyi
124479876b
Engine: Make event handle functions virtual
2022-09-26 14:19:49 +02:00
Riyyi
aec1a80623
Engine: Rename getWindow() => window()
2022-09-26 14:18:34 +02:00
Riyyi
ae8bb46a7d
Engine+Example: Improve entrypoint via manual singleton
2022-09-26 13:07:05 +02:00
Riyyi
1dcb25ea5e
CMake: Change include directories to use relative path
2022-09-26 13:00:00 +02:00
Riyyi
10a5b70520
Engine: Comment out text-area test code
2022-09-26 13:00:00 +02:00
Riyyi
67b4eb0cc0
Scene: Load text-areas from JSON
2022-09-26 13:00:00 +02:00
Riyyi
e1d88a1872
Component: Add ability to load TextAreaComponent from JSON
2022-09-26 13:00:00 +02:00
Riyyi
3db5845bb4
Scene: Load quads from JSON
2022-09-26 13:00:00 +02:00
Riyyi
c7a8f92970
Component: Add ability to read SpriteComponent from JSON
2022-09-26 13:00:00 +02:00
Riyyi
892be89728
Scene: Load camera from JSON
2022-09-26 13:00:00 +02:00
Riyyi
c2c5777566
Component: Add ability to read TransformComponent from JSON
2022-09-26 13:00:00 +02:00
Riyyi
aedb1a5fc9
Everywhere: Add copyright headers
2022-09-26 13:00:00 +02:00
Riyyi
2ab555af5e
Engine: Remove unused utility classes
2022-09-26 13:00:00 +02:00
Riyyi
01e5179ec7
Engine: Update std::stou, remove need for intToHex()
2022-09-26 13:00:00 +02:00
Riyyi
324da69bb2
Engine: Remove unnecessary unused warning suppressions
2022-09-26 13:00:00 +02:00
Riyyi
f44c82d06e
Engine: Add function for finding key names
2022-09-26 13:00:00 +02:00
Riyyi
8a03d84580
Engine: Switch inferno/io/log.h => ruc/format/log.h
2022-09-26 13:00:00 +02:00
Riyyi
f61f402116
Engine: Switch to ruc::File
2022-09-26 13:00:00 +02:00
Riyyi
470f90fbdd
Engine: Switch inferno core.h => ruc core.h
2022-09-26 13:00:00 +02:00
Riyyi
6302bb4ae1
Engine: Make sure glad gets included before GLFW in context
2022-09-26 13:00:00 +02:00
Riyyi
b72da1278d
Engine: Run clang-format
2022-09-26 13:00:00 +02:00
Riyyi
3da83e9cea
Meta: Bump C++ version to 20 in .clang-format
2022-09-26 13:00:00 +02:00
Riyyi
766f24d6b9
Engine: Switch to ASSERT macro to ruc's VERIFY
2022-09-26 13:00:00 +02:00
Riyyi
722bdd82b1
Engine: Change include guards to #pragma once
2022-09-26 13:00:00 +02:00
Riyyi
4af037a7fb
Engine: Switch to ruc's singleton
2022-09-26 13:00:00 +02:00
Riyyi
2f1c6b5e75
Engine: Make it compile again
2022-09-26 13:00:00 +02:00
Riyyi
478dccd3df
Meta+CMake: Add ruc library
2022-09-26 13:00:00 +02:00
Riyyi
edc0ef7203
Everywhere: Update work in progress
2022-09-16 20:22:08 +02:00
Riyyi
6b0095dadf
CMake: Move source directory to project root
2022-09-16 20:15:49 +02:00
Riyyi
4468b1ffb9
CMake: Move vendor directory to the project root
2022-09-16 19:16:53 +02:00
Riyyi
90bfd30f7f
CMake: Move engine source compilation to separate file
2022-09-16 17:12:57 +02:00
Riyyi
ed935e50cd
CMake: Automatically build examples during standalone compilation
2022-09-16 12:46:44 +02:00
Riyyi
8b11e51109
CMake: Restructure main file, move example to its own directory
2022-09-16 12:41:08 +02:00
Riyyi
da757365d0
CMake: Exclude unnecessary lua files from compilation
2022-09-16 11:14:09 +02:00
Riyyi
50f363df65
Add git pre-commit hooks and install script
2021-06-15 23:39:12 +02:00
Riyyi
7401936016
Initialize raw pointers as nullptr
2021-05-18 02:45:00 +02:00
Riyyi
d1ba13794c
Release source under MIT license
2021-04-01 00:43:30 +02:00
Riyyi
ec2cb44c06
Set stride to 0 when calculating offsets
2021-03-11 16:55:05 +01:00
Riyyi
c8cea7bf45
Give native types initial value
2021-03-11 16:52:47 +01:00
Riyyi
f63bd4ab6d
Remove move where it didnt make sense
2021-03-11 16:17:04 +01:00
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.
2021-03-11 11:37:46 +01:00
Riyyi
50a438e340
Cleanup
2021-03-11 11:07:50 +01:00