Patoke
3ead2bb093
feat(docs): add an implementation guide for more in-depth details on how to use 4JLibs expansions
...
feat(storage): save titles are now encoded into the name of the save files
feat(storage): added functionality to delete save files
chore(storage): document functions which don't have to be implemented, as they're unused for the Windows platform
chore(storage): rename some variables to be more accurate with the binaries
fix(render): in vs2012, m_backBufferTexture cannot be initialized in a header
fix(storage): in CDLC::GetMountedPath, m_szMountPath and m_szDirectoryPath were mixed up
fix(storage): in CSaveGame::SetSaveTitle, there was a wide string to narrow string mismatch
2026-03-08 04:11:22 -03:00
Patoke
d04ab2d90e
chore: implement GetSaveUniqueFilename and GetSaveUniqueNumber
2026-03-04 07:43:02 -03:00
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
d7f4651c52
chore: add warning for non zero initialized descriptor breaking the depth stencil
2026-03-03 23:52:16 -03:00
Patoke
03f4a4bc8f
chore: match some small stuff
2026-03-03 23:46:16 -03:00
Patoke
a4c968e03b
Merge branch 'master' of https://github.com/Patoke/4JLibs
2026-03-03 22:31:27 -03:00
Patoke
6a910a31cf
fix: revert matching code for the creation of the depthStencil and renderTargetViews
2026-03-03 03:18:07 -03:00
Patoke
7aeed74c87
fix: image format given to pnglib was PNG_FORMAT_RGBA instead of PNG_FORMAT_BGRA
2026-03-03 02:13:19 -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
ebfeeac4f8
fix: mismatch in textureFormats definition, textures were created as DXGI_FORMAT_B8G8R8A8_UNORM but the game uses DXGI_FORMAT_R8G8B8A8_UNORM
2026-03-03 01:24:53 -03:00
Patoke
1ba53d6413
chore: add license notice
2026-03-02 18:24:18 -03: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
Patoke
420efd2c6e
fix: compiling would fail in the game project because of __snprintf
2026-03-02 01:43:10 -03:00
Patoke
0b1a1bfdd4
chore: match more names
2026-03-01 22:37:54 -03:00
Patoke
b724041d1f
chore: update readme
2026-03-01 20:46:49 -03: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
Patoke
69acc2196d
fix: 4J_Storage lib can now be used in game
2026-03-01 06:17:10 -03:00
Patoke
c94a0e90c0
fix: oopsies
2026-03-01 05:56:04 -03:00
Patoke
ac4fcfb546
fix: projects now build for both vs 2022 and vs 2012
2026-03-01 05:50:14 -03:00
Patoke
4b7769987d
fix: input actually works when used in the game project
...
fix: now it also compiles using vs 2012 build tools
2026-03-01 05:37:54 -03:00
Patoke
3017d6175a
feat: initial type matching for render classes
2026-02-28 06:26:40 -03:00
Patoke
68e5589511
chore: add shader bytecode and decompiled shader code (optimized for readability)
2026-02-28 03:35:55 -03:00
Patoke
738af631b2
fix: add basic object initialization
2026-02-28 03:07:15 -03:00
Patoke
9f32a58477
chore: fix 4J_Render_PC's filesystem (remove non existent files, add missing files)
2026-02-28 03:04:58 -03:00
Patoke
2db1dfebd8
chore: rename Render project internally to Render_PC, for Windows builds, 4J_Render.lib is deprecated, it only uses 4J_Render_PC
2026-02-28 02:53:21 -03:00
Patoke
906e0a6aad
chore: add libpng&zlib to Render project
2026-02-28 02:52:07 -03:00
Patoke
713247054e
feat: projects can now link seamlessly with project
...
fix: change runtime library usage to MT static
2026-02-28 02:09:50 -03:00
Patoke
5cf5f3f84e
feat: finish 4J_Storage impl
...
fix: implement 4J_Input's CInput constructor
2026-02-28 01:19:52 -03:00
Patoke
2de4689df7
fix: forgot to initialize InputManager
2026-02-27 02:11:42 -03:00
Patoke
62dd277a3e
fix: use MAX_JOYPADS def
2026-02-27 01:48:41 -03:00
Patoke
c3d8726749
push src
2026-02-27 01:44:22 -03:00