Commit Graph

23 Commits

Author SHA1 Message Date
Patoke
36d18b209e feat: game can now save and display thumbnails, code rebuilt from the xbox one edition of the game
fix: Renderer::CaptureThumbnail now can capture thumbnails correctly
fix: renderTargetViews and renderTargetShaderResourceViews are no longer null
fix: texture saving functions were using BGRA instead of RGBA format
2026-03-04 06:51:35 -03:00
Patoke
03f4a4bc8f chore: match some small stuff 2026-03-03 23:46:16 -03:00
dxfiscool
39339e821e chore: overhaul renderer decompilation to match as closely as possible to the original
Co-authored-by: la <76826837+3UR@users.noreply.github.com>
2026-03-04 07:37:53 +10:00
Patoke
6a910a31cf fix: revert matching code for the creation of the depthStencil and renderTargetViews 2026-03-03 03:18:07 -03:00
Patoke
bac13d7384 fix: forgot to initialize the totalAllocs critical section 2026-03-03 02:06:49 -03:00
Patoke
7a4e31561d chore: rename critical section variable to a more accurate one
fix: call ``Renderer::CBuffTick`` at ``C4JRender::Tick`` in release mode
2026-03-03 01:59:30 -03:00
Patoke
8dd19edd1a fix: for some reason the renderTarget and depthStencil code weren't matching and didn't use the proper descriptors 2026-03-03 01:47:35 -03:00
Patoke
1ba53d6413 chore: add license notice 2026-03-02 18:24:18 -03:00
3UR
73fffbbcec feat: add microprofiler to the renderer 2026-03-03 05:58:08 +10:00
3UR
5b3d67063f chore: change more code conventions and clean up a bit more stuff 2026-03-03 04:13:45 +10:00
3UR
3b406a063d chore: make all code conventions consistent, slightly clean up some things and fix bugs where some stuff would visually look messed up 2026-03-03 00:23:38 +10:00
la
26f8477e4b Merge branch 'master' into master 2026-03-02 21:47:34 +10:00
Patoke
5b1270586b fix: performance difference with original debug binaries caused by compiler flags mismatch (possibly fixes #7) 2026-03-02 05:02:50 -03:00
3UR
9cd1f647c3 chore: make renderer texture a little bit cleaner and fix srv creation in renderer core because backbuffer with DXGI_SWAP_EFFECT_DISCARD doesnt support D3D11_BIND_SHADER_RESOURCE 2026-03-02 13:56:42 +10:00
3UR
362d185289 chore: update naming convention for bools in render core and update member names in render texture 2026-03-02 12:54:49 +10:00
la
df37fc63a8 Merge branch 'master' into master 2026-03-02 12:49:45 +10:00
Patoke
0b1a1bfdd4 chore: match more names 2026-03-01 22:37:54 -03:00
3UR
326a370bfa chore: add a MAX_TEXTURES macro and change the naming convention of bool members 2026-03-02 10:14:19 +10:00
Patoke
a1740a698d chore: better name matching & add some definitions
fix: add asserts where they were missing
2026-03-01 20:43:35 -03:00
Patoke
6e6440f0f3 chore: add .clang_format for consistent code formatting 2026-03-01 20:03:40 -03:00
dxfiscool
9b2c3348d1 feat: 4J_Render_PC 2026-03-01 19:49:39 +01:00
Patoke
738af631b2 fix: add basic object initialization 2026-02-28 03:07:15 -03:00
Patoke
c3d8726749 push src 2026-02-27 01:44:22 -03:00