Commit Graph
100 Commits
Author SHA1 Message Date
Patedam d1b7c5dbbe Adding scratch arena for main thread (and any thread in the future)
Added some function based on raddbg code for string conversion and more.
2026-08-16 18:06:46 -04:00
Patedam 3e7216f57d Modified build system to detect pch changes *gemini 2026-08-16 13:13:51 -04:00
Patedam 5566f76a94 Cleaning game.cpp removing old test code.
Created static mesh entity
Created debug bar
2026-08-10 22:12:31 -04:00
Patedam ee20c903b2 improved the shader of mesh renderer to make the global lighting better 2026-08-09 18:04:46 -04:00
Patedam e14931b27b Merge remote-tracking branch 'origin/main' 2026-08-09 18:00:16 -04:00
Patedam 5bc4375265 Added way to set global light from game.
+ Some clean up in the mesh renderer
2026-08-09 18:00:05 -04:00
Patedam fb020d16e5 Some clean up in the mesh renderer 2026-08-09 17:59:37 -04:00
Patedam 73aa4a846b Entity now can be linked to a mesh.
Only support cube generated from code no light no nothing
2026-08-09 17:20:38 -04:00
Patedam 30ea435b87 First iteration of mesh assets 2026-08-09 16:43:35 -04:00
Patedam 697579e72f Fixing adaptive incremental build.
Moved more functions into engine.cpp
2026-08-09 15:48:53 -04:00
Patedam 7c18804df6 Fixing debug display with depth test enabled 2026-08-09 15:28:41 -04:00
Patedam 430cf35345 build fix update 2026-08-09 13:18:19 -04:00
Patedam 1a56c9e99c Added a debug controller
Made a default template for cameras.
Added delta to mouse state so we can check delta for debug Camera.
2026-08-09 13:18:04 -04:00
Patedam ae790f5a9e moved delta time computation to the HAL 2026-08-09 11:32:06 -04:00
Patedam d52c77a017 Support of IsKeyPressed that only trigger for the frame it is pressed on. 2026-08-09 11:23:56 -04:00
Patedam 681267f445 removing old vcxproj that was forgotten 2026-08-09 09:54:40 -04:00
Patedam 8582435f21 Shuffled stuff around to make it more efficient and remove redundancy 2026-08-08 23:28:36 -04:00
Patedam ab158e8b3d Merged all d3d12 files into one file 2026-08-08 23:06:29 -04:00
Patedam 403e70b14d fixing random build issue 2026-08-08 18:39:17 -04:00
Patedam 9de4fb5689 renaiming display_private.h to display_cpp.h 2026-08-08 18:05:55 -04:00
Patedam aa61f3e57c fix intellisnse when generating project 2026-08-08 14:07:02 -04:00
Patedam ba563ca642 moving project files into a separate folder.
deleting remaining bff
ignoring project files from git
2026-08-08 13:05:46 -04:00
Patedam 6c7b7c0124 Removing debug code (put in #if 0 for now)
Added a very simple camera system.
2026-08-05 19:12:34 -04:00
Patedam f122533f92 fixed build_game to use the adaptive build properly 2026-08-04 21:24:10 -04:00
Patedam cb2114daca Cleaned up build.bat to be more readable and easier to maintain 2026-08-04 21:18:05 -04:00
Patedam 3065441989 adaptive unity build 2026-08-04 20:53:14 -04:00
Patedam 5eb8fb7e9d use pch on the project. Removed all include that are now not necessary 2026-08-04 19:31:31 -04:00
Patedam aabe585696 Move shaders to arena.
For now it will use the driver Arena.
They should use an "asset" arena eventually
2026-08-03 20:00:36 -04:00
Patedam e325668650 fixing build issues 2026-08-02 19:53:41 -04:00
Patedam 2d76955cfe removing include 2026-08-02 19:46:40 -04:00
Patedam 40cb95bc40 fix generate to move imgui vc project out of imgui folder to stop confusing git 2026-08-02 19:46:08 -04:00
Patedam 00036950d6 Converted d3d12 buffers to arena. Using linked list as i'm not sure how many buffers i will use total 2026-08-02 19:33:20 -04:00
Patedam 5862843a40 Convert bunch of alloc into arena push.
Made most of the array of pointer fixed size. Could use linked list if needed.
2026-08-02 18:28:51 -04:00
Patedam 0bb2d8d9dc replaced alloca by temp arena 2026-08-01 19:49:03 -04:00
Patedam 9f6064995f Reduced Imgui memory usage by implementing a free node list. 2026-08-01 19:16:02 -04:00
Patedam 7b21ca6b1d Adapting arena push to support format as debug tag
Changed some d3d12 to work better with arenas
2026-07-29 14:44:16 -04:00
Patedam 4dc14a04b3 removing useless "realloc" feature in memory arenas 2026-07-28 16:00:39 -04:00
Patedam 4081539ee4 Using memory arena in the game that supports hot reload 2026-07-28 15:44:41 -04:00
Patedam 39586c968a Removing editor word from JulietApp 2026-07-27 16:59:28 -04:00
Patedam f0a7ce2254 removing useless C++ classes 2026-07-27 16:27:58 -04:00
Patedam 218a1d00ac Removed fastbuild completely and converted the last two remaining scripts 2026-07-27 15:47:47 -04:00
Patedam c3c245335d plop 2026-07-27 15:32:51 -04:00
Patedam b196641f18 made build system more agnostic to the projet it builds 2026-07-27 15:16:39 -04:00
Patedam 0d6b196ce6 removed most stuff in bff only kep way to generate solution 2026-07-23 20:29:20 -04:00
Patedam 4096e9d1ba Made build_system create the unity build itself, removing fastbuild dependency for that
fastbuild still used for generating solution
2026-07-23 19:41:52 -04:00
Patedam f471c447d8 converted build system to simpler C 2026-07-23 17:18:20 -04:00
Patedam 36c9ef132d updates build_system.cpp to be more independant 2026-07-23 16:44:42 -04:00
Patedam f31c9d4a6b removing useless comment from build.bat 2026-07-23 16:12:43 -04:00
Patedam 6afd675846 no need to use juliet obj everywhere, compile the dll directly 2026-07-23 16:07:03 -04:00
Patedam cf75bf2dc7 fix build so that imgui is built for anything needing it and juliet is build as dll 2026-07-23 15:15:32 -04:00
Patedam 5843ec510c make build go fast 2026-07-23 14:09:52 -04:00
Patedam 315f3d5163 basic incremental build 2026-07-23 13:00:01 -04:00
Patedam b17960b0e4 generate project for easy editing 2026-07-23 12:37:47 -04:00
Patedam 9f698bcb7f improve build.bat 2026-07-23 12:00:01 -04:00
Patedam b334273313 use build .bat to build faster 2026-07-23 11:25:15 -04:00
Patedam 550089b42e fix build error 2026-07-23 10:51:21 -04:00
Patedam 973f529741 fix build error in msvc 2026-07-23 10:50:28 -04:00
Patedam aea562ae18 removed typeid 2026-07-22 22:44:43 -04:00
Patedam 9c8f9bff41 Simplified VectorArena to always take an arena and to not support change of capacity 2026-07-22 22:12:05 -04:00
Patedam c0d40ef3e4 Regenerated doc + final submit for now 2026-07-22 17:37:01 -04:00
Patedam c436639ddd romeo fixes again 2026-07-22 17:15:52 -04:00
Patedam f3747a7581 fixed some bugs for romeo 2026-07-22 17:12:08 -04:00
Patedam 840db1f804 updates romeo to be its own solution 2026-07-22 16:30:05 -04:00
Patedam bd3b01dea4 updating Imgui 2026-07-18 19:00:10 -04:00
Patedam 0c583b58da Addded Romeo that generates some doc. WIP. 2026-07-18 18:58:29 -04:00
Patedam 446670bd29 Various debug to check lighting 2026-02-23 23:13:06 -05:00
Patedam 581656568b Debug options: Stop moving light, camera and cubes.
F1 to have free camera
2026-02-23 22:05:46 -05:00
Patedam 3277624ec2 Support lighting using a graphics buffer that is kep open! 2026-02-23 19:24:57 -05:00
Patedam 4312ecd172 Fix crash on linux with proton 2026-02-22 22:22:42 -05:00
Patedam 1056301981 Fix some errors with meshrenderer moving to engine that gemini didnt have time to fix
Will have to resync how to load more meshes. Probably need a command to do it but for now not needed.
2026-02-22 17:47:46 -05:00
Patedam 932c45d844 New skyboxrenderer + moved meshrenderer inside engine and out from main to clean that up 2026-02-22 17:16:21 -05:00
Patedam a781facd48 Factorized Push Data 2026-02-22 15:54:09 -05:00
Patedam 1e1ec84fa1 Added normals to vertexdata 2026-02-22 15:21:35 -05:00
Patedam f98be3c7f3 Made a ship version
Remove imgui from ship release, script to export fast. Can read assets from dev folder and ship folder.
2026-02-22 14:19:59 -05:00
Patedam bc6ce3afb6 remove log file 2026-02-22 12:22:34 -05:00
Patedam 816fdc27b1 Fixed the weird stutter and added fps in title bar 2026-02-22 12:22:06 -05:00
Patedam b38cc5e3d5 Fix release 2026-02-22 12:08:03 -05:00
Patedam 431015f009 Added rotation functions for matrix 2026-02-22 11:24:59 -05:00
Patedam a7947bfa17 Made MeshRenderer able to take a matrix transform for each mesh, and we are now able to draw 100 cubes.
Claude OPus helpes with implementation
2026-02-21 23:27:27 -05:00
Patedam 8e83cd32f6 Fixed MeshRenderer, our cube is now totally drawn by mesh renderer ! 2026-02-21 22:45:20 -05:00
Patedam 2362cefbc0 Fixed imgui and debug display renderer (nothing was actually broken but request were never flushed ... ) 2026-02-21 18:35:39 -05:00
Patedam bbd1095227 Some bug fix + debug level log that is not displayed by default 2026-02-21 18:16:13 -05:00
Patedam 49fc0a24d1 Meshrenderer first step. Adding logs to debug a weird crash since the add of mesh renderer and some clean up. 2026-02-21 14:04:02 -05:00
Patedam e1eb9976ad na 2026-02-16 11:14:51 -05:00
Patedam 3492cf52d8 Merge remote-tracking branch 'origin/main' 2026-02-16 11:14:32 -05:00
Patedam 762cfe52cf Fix autoclose command + condition to pause the console only if no debugger and no autoclose 2026-02-16 11:14:21 -05:00
Patedam 7a5bb0526f Fix autoclose command + condition to pause the console only if no debugger and no autoclose 2026-02-16 11:13:53 -05:00
Patedam b6e9d95552 misc change 2026-02-16 10:38:02 -05:00
Patedam 87831d0fd6 Added basic concept of Mesh
Right now can create a quad or a cube.
Need a mesh renderer taht keep the buffer and all to optimally handle the mega buffer.
2026-02-15 17:44:48 -05:00
Patedam c2a5cb84b2 made claude opus update the skills and workflow 2026-02-15 13:35:49 -05:00
Patedam 4ca3ef1706 Added temp arena and use it in hot reload 2026-02-15 13:33:27 -05:00
Patedam 38f8662d80 Fixing some VectorArena to use external arena and reduce the number of alloc.
Made the passing of name to arena more flexible
2026-02-14 22:28:32 -05:00
Patedam 36ee786128 Delete current_run.log 2026-02-14 21:28:22 -05:00
Patedam 60e1656d88 Delete test.txt 2026-02-14 21:28:13 -05:00
Patedam f8fd1dc05e Merge pull request 'removing-memory-arena' (#2) from removing-memory-arena into main
Reviewed-on: #2
2026-02-14 21:26:10 -05:00
Patedam dfd7279e84 Fix build error in release 2026-02-14 18:12:19 -05:00
Patedam 5a22a172a6 Removed the old Memory Arena and converted all to the new one 2026-02-14 18:09:47 -05:00
Patedam 6260d9aacf Squashed commit of the following:
commit c138fe98ce
Author: Patedam <pgillen.pro@gmail.com>
Date:   Sat Feb 14 16:47:51 2026 -0500

    Updated the memory viewer to have better naming, tooltip, zoom, etc.
    Made by claude opus

commit 16120dd865
Author: Patedam <pgillen.pro@gmail.com>
Date:   Sat Feb 14 15:57:01 2026 -0500

    Made memory arena debugger show the new arenas. Made by gemini
2026-02-14 16:48:54 -05:00
Patedam be113fa89d Cleaned up vector unit test useless lines 2026-02-14 11:30:02 -05:00
Patedam 96169123dd Merge pull request 'Reallocate-Arena' (#1) from Reallocate-Arena into main
Reviewed-on: #1
2026-02-14 11:24:29 -05:00