commit 97316cb334d2e16d825739ec592854c4b4fcaad1 Author: sam Date: Fri Apr 12 00:16:29 2024 +1200 initial push diff --git a/.vs/samcraft/FileContentIndex/4367ceff-bbb6-4ec7-a16d-b50ebe10ff8b.vsidx b/.vs/samcraft/FileContentIndex/4367ceff-bbb6-4ec7-a16d-b50ebe10ff8b.vsidx new file mode 100644 index 0000000..4aa34fd Binary files /dev/null and b/.vs/samcraft/FileContentIndex/4367ceff-bbb6-4ec7-a16d-b50ebe10ff8b.vsidx differ diff --git a/.vs/samcraft/FileContentIndex/8f08e493-1894-4073-8af8-3a2469b2733c.vsidx b/.vs/samcraft/FileContentIndex/8f08e493-1894-4073-8af8-3a2469b2733c.vsidx new file mode 100644 index 0000000..8a3580d Binary files /dev/null and b/.vs/samcraft/FileContentIndex/8f08e493-1894-4073-8af8-3a2469b2733c.vsidx differ diff --git a/.vs/samcraft/FileContentIndex/9c840b94-3407-4cca-b230-7e2931894837.vsidx b/.vs/samcraft/FileContentIndex/9c840b94-3407-4cca-b230-7e2931894837.vsidx new file mode 100644 index 0000000..44c59a7 Binary files /dev/null and b/.vs/samcraft/FileContentIndex/9c840b94-3407-4cca-b230-7e2931894837.vsidx differ diff --git a/.vs/samcraft/FileContentIndex/aa0fac50-7259-4596-b1d8-b0d17e415219.vsidx b/.vs/samcraft/FileContentIndex/aa0fac50-7259-4596-b1d8-b0d17e415219.vsidx new file mode 100644 index 0000000..c37ce8d Binary files /dev/null and b/.vs/samcraft/FileContentIndex/aa0fac50-7259-4596-b1d8-b0d17e415219.vsidx differ diff --git a/.vs/samcraft/FileContentIndex/df194b64-e803-47d4-8313-3c93f130ad8d.vsidx b/.vs/samcraft/FileContentIndex/df194b64-e803-47d4-8313-3c93f130ad8d.vsidx new file mode 100644 index 0000000..0970398 Binary files /dev/null and b/.vs/samcraft/FileContentIndex/df194b64-e803-47d4-8313-3c93f130ad8d.vsidx differ diff --git a/.vs/samcraft/v17/.suo b/.vs/samcraft/v17/.suo new file mode 100644 index 0000000..aedf629 Binary files /dev/null and b/.vs/samcraft/v17/.suo differ diff --git a/.vs/samcraft/v17/Browse.VC.db b/.vs/samcraft/v17/Browse.VC.db new file mode 100644 index 0000000..cdec6d6 Binary files /dev/null and b/.vs/samcraft/v17/Browse.VC.db differ diff --git a/.vs/samcraft/v17/Solution.VC.db b/.vs/samcraft/v17/Solution.VC.db new file mode 100644 index 0000000..69c029c Binary files /dev/null and b/.vs/samcraft/v17/Solution.VC.db differ diff --git a/.vs/samcraft/v17/ipch/AutoPCH/15b5053cee312fd9/MAIN.ipch b/.vs/samcraft/v17/ipch/AutoPCH/15b5053cee312fd9/MAIN.ipch new file mode 100644 index 0000000..b18a12b Binary files /dev/null and b/.vs/samcraft/v17/ipch/AutoPCH/15b5053cee312fd9/MAIN.ipch differ diff --git a/.vs/samcraft/v17/ipch/AutoPCH/66ac3c548eeaaf67/RMODELS.ipch b/.vs/samcraft/v17/ipch/AutoPCH/66ac3c548eeaaf67/RMODELS.ipch new file mode 100644 index 0000000..8703083 Binary files /dev/null and b/.vs/samcraft/v17/ipch/AutoPCH/66ac3c548eeaaf67/RMODELS.ipch differ diff --git a/.vs/samcraft/v17/ipch/AutoPCH/6b6ca287a604beb4/RMODELS.ipch b/.vs/samcraft/v17/ipch/AutoPCH/6b6ca287a604beb4/RMODELS.ipch new file mode 100644 index 0000000..2009607 Binary files /dev/null and b/.vs/samcraft/v17/ipch/AutoPCH/6b6ca287a604beb4/RMODELS.ipch differ diff --git a/.vs/samcraft/v17/ipch/AutoPCH/6ea97bae9f8c79cb/RMODELS.ipch b/.vs/samcraft/v17/ipch/AutoPCH/6ea97bae9f8c79cb/RMODELS.ipch new file mode 100644 index 0000000..9696eab Binary files /dev/null and b/.vs/samcraft/v17/ipch/AutoPCH/6ea97bae9f8c79cb/RMODELS.ipch differ diff --git a/.vs/samcraft/v17/ipch/AutoPCH/eb046027442056c7/CHUNK.ipch b/.vs/samcraft/v17/ipch/AutoPCH/eb046027442056c7/CHUNK.ipch new file mode 100644 index 0000000..2eb894e Binary files /dev/null and b/.vs/samcraft/v17/ipch/AutoPCH/eb046027442056c7/CHUNK.ipch differ diff --git a/.vs/samcraft/v17/ipch/AutoPCH/fdcae648f8fe8f9b/MAIN.ipch b/.vs/samcraft/v17/ipch/AutoPCH/fdcae648f8fe8f9b/MAIN.ipch new file mode 100644 index 0000000..91e987d Binary files /dev/null and b/.vs/samcraft/v17/ipch/AutoPCH/fdcae648f8fe8f9b/MAIN.ipch differ diff --git a/samcraft.sln b/samcraft.sln new file mode 100644 index 0000000..db85914 --- /dev/null +++ b/samcraft.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34525.116 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "samcraft", "samcraft\samcraft.vcxproj", "{9F1375E7-E000-4E27-B2C5-5311F7C817B8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Debug|x64.ActiveCfg = Debug|x64 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Debug|x64.Build.0 = Debug|x64 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Debug|x86.ActiveCfg = Debug|Win32 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Debug|x86.Build.0 = Debug|Win32 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Release|x64.ActiveCfg = Release|x64 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Release|x64.Build.0 = Release|x64 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Release|x86.ActiveCfg = Release|Win32 + {9F1375E7-E000-4E27-B2C5-5311F7C817B8}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7C13A468-0079-4665-88C6-38CD2A885C00} + EndGlobalSection +EndGlobal diff --git a/samcraft/chunk.c b/samcraft/chunk.c new file mode 100644 index 0000000..782ba07 --- /dev/null +++ b/samcraft/chunk.c @@ -0,0 +1,15 @@ +#include "chunk.h" + +vector3 index_to_coord(int i) { + vector3 pos; + pos.x = i % WIDTH; + pos.z = (i / WIDTH) % WIDTH; + pos.y = i / (WIDTH * WIDTH); + + return pos; +} + +int coord_to_index(vector3 coord) { + int index = coord.x + coord.z * WIDTH + coord.y * WIDTH * WIDTH; + return index; +} \ No newline at end of file diff --git a/samcraft/chunk.h b/samcraft/chunk.h new file mode 100644 index 0000000..93f47c1 --- /dev/null +++ b/samcraft/chunk.h @@ -0,0 +1,12 @@ +#ifndef __CHUNK_H__ +#define __CHUNK_H__ + +#include "vector3.h" + +#define WIDTH 5 +#define HEIGHT 10 + +vector3 index_to_coord(int i); +int coord_to_index(vector3 pos); + +#endif \ No newline at end of file diff --git a/samcraft/faces.h b/samcraft/faces.h new file mode 100644 index 0000000..f8c009d --- /dev/null +++ b/samcraft/faces.h @@ -0,0 +1,160 @@ +#ifndef __FACES_H__ +#define __FACES_H__ + +float bottom[] = { + -0.5f, + -0.5f, + -0.5f, + + 0.5f, + -0.5f, + -0.5f, + + -0.5f, + -0.5f, + 0.5f, + + 0.5f, + -0.5f, + -0.5f, + + 0.5f, + -0.5f, + 0.5f, + + -0.5f, + -0.5f, + 0.5f, +}; + +float top[] = { + -0.5f, + 0.5f, + -0.5f, + + -0.5f, + 0.5f, + 0.5f, + + 0.5f, + 0.5f, + -0.5f, + + 0.5f, + 0.5f, + -0.5f, + + -0.5f, + 0.5f, + 0.5f, + + 0.5f, + 0.5f, + 0.5f, +}; + +float front[] = { + -0.5f, + -0.5f, + 0.5f, + + 0.5f, + -0.5f, + 0.5f, + + -0.5f, + 0.5f, + 0.5f, + + 0.5f, + -0.5f, + 0.5f, + + 0.5f, + 0.5f, + 0.5f, + + -0.5f, + 0.5f, + 0.5f, +}; + +float back[] = { + -0.5f, + -0.5f, + -0.5f, + + -0.5f, + 0.5f, + -0.5f, + + 0.5f, + -0.5f, + -0.5f, + + 0.5f, + -0.5f, + -0.5f, + + -0.5f, + 0.5f, + -0.5f, + + 0.5f, + 0.5f, + -0.5f, +}; + +float right[] = { + 0.5f, + -0.5f, + -0.5f, + + 0.5f, + 0.5f, + 0.5f, + + 0.5f, + -0.5f, + 0.5f, + + 0.5f, + -0.5f, + -0.5f, + + 0.5f, + 0.5f, + -0.5f, + + 0.5f, + 0.5f, + 0.5f, +}; + +float left[] = { + -0.5f, + -0.5f, + -0.5f, + + -0.5f, + -0.5f, + 0.5f, + + -0.5f, + 0.5f, + 0.5f, + + -0.5f, + -0.5f, + -0.5f, + + -0.5f, + 0.5f, + 0.5f, + + -0.5f, + 0.5f, + -0.5f, +}; + +#endif \ No newline at end of file diff --git a/samcraft/main.c b/samcraft/main.c new file mode 100644 index 0000000..e3c64ff --- /dev/null +++ b/samcraft/main.c @@ -0,0 +1,108 @@ +#include +#include +#include +#include +#include +#include + +#include "faces.h" +#include "chunk.h" +#include "vector3.h" + +void add_face(Mesh* mesh, float* face, vector3 pos) { + int start = mesh->vertexCount * 3; + mesh->vertexCount += 6; + mesh->triangleCount += 2; + + Mesh* ptr = realloc(mesh->vertices, (mesh->vertexCount * 3) * sizeof(float)); + assert(ptr != NULL); + mesh->vertices = ptr; + + for (int i = 0; i < 18; i += 3) { + mesh->vertices[start + i] = face[i] + pos.x; + mesh->vertices[start + i + 1] = face[i + 1] + pos.y; + mesh->vertices[start + i + 2] = face[i + 2] + pos.z; + } +} + +int get_block_at(int* chunk, vector3 pos) { + if (pos.x < 0 || pos.x >= WIDTH || pos.z < 0 || pos.z >= WIDTH || pos.y < 0 || pos.y >= HEIGHT) return 0; + return chunk[coord_to_index(pos)]; +} + +Mesh gen_mesh(int* chunk) { + Mesh mesh = { 0 }; + mesh.vertices = malloc(0); + mesh.vertexCount = 0; + + for (int i = 0; i < WIDTH * WIDTH * HEIGHT; i++) { + if (chunk[i] == 0) continue; + vector3 pos = index_to_coord(i); + + if(get_block_at(chunk, (vector3){ pos.x, pos.y - 1, pos.z }) == 0) + add_face(&mesh, bottom, pos); + if (get_block_at(chunk, (vector3) { pos.x, pos.y + 1, pos.z }) == 0) + add_face(&mesh, top, pos); + if (get_block_at(chunk, (vector3) { pos.x - 1, pos.y, pos.z }) == 0) + add_face(&mesh, left, pos); + if (get_block_at(chunk, (vector3) { pos.x + 1, pos.y, pos.z }) == 0) + add_face(&mesh, right, pos); + if (get_block_at(chunk, (vector3) { pos.x, pos.y, pos.z - 1 }) == 0) + add_face(&mesh, back, pos); + if (get_block_at(chunk, (vector3) { pos.x, pos.y, pos.z + 1 }) == 0) + add_face(&mesh, front, pos); + } + + UploadMesh(&mesh, false); + + printf("mesh generated, %d verts, %d tris\n", mesh.vertexCount, mesh.triangleCount); + + return mesh; +} + +int main() { + InitWindow(800, 600, "samcraft"); + + SetTargetFPS(60); + + int* chunk = malloc(WIDTH * WIDTH * HEIGHT * sizeof(int)); + assert(chunk != NULL); + + for (int i = 0; i < WIDTH * WIDTH * HEIGHT; i++) { + chunk[i] = GetRandomValue(0, 1); + } + + Mesh chunk_mesh = gen_mesh(chunk); + Material mat = LoadMaterialDefault(); + Matrix matrix = MatrixIdentity(); + + Camera camera = { 0 }; + camera.position = (Vector3){ 10.0f, 10.0f, 10.0f }; + camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; + camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; + camera.projection = CAMERA_PERSPECTIVE; + camera.fovy = 70.0f; + + while (!WindowShouldClose()) { + UpdateCamera(&camera, CAMERA_THIRD_PERSON); + + DisableCursor(); + + BeginDrawing(); + { + ClearBackground(BLACK); + + BeginMode3D(camera); + { + DrawMesh(chunk_mesh, mat, matrix); + DrawGrid(10, 10); + } + EndMode3D(); + } + EndDrawing(); + } + + CloseWindow(); + + return 0; +} \ No newline at end of file diff --git a/samcraft/samcraft.vcxproj b/samcraft/samcraft.vcxproj new file mode 100644 index 0000000..b4b6660 --- /dev/null +++ b/samcraft/samcraft.vcxproj @@ -0,0 +1,141 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {9f1375e7-e000-4e27-b2c5-5311f7c817b8} + samcraft + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samcraft/samcraft.vcxproj.filters b/samcraft/samcraft.vcxproj.filters new file mode 100644 index 0000000..7fbe2ac --- /dev/null +++ b/samcraft/samcraft.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/samcraft/samcraft.vcxproj.user b/samcraft/samcraft.vcxproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/samcraft/samcraft.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/samcraft/vector3.h b/samcraft/vector3.h new file mode 100644 index 0000000..8ff6400 --- /dev/null +++ b/samcraft/vector3.h @@ -0,0 +1,10 @@ +#ifndef __VECTOR3_H__ +#define __VECTOR3_H__ + +typedef struct { + float x; + float y; + float z; +} vector3; + +#endif \ No newline at end of file diff --git a/samcraft/x64/Debug/chunk.obj b/samcraft/x64/Debug/chunk.obj new file mode 100644 index 0000000..8a48a65 Binary files /dev/null and b/samcraft/x64/Debug/chunk.obj differ diff --git a/samcraft/x64/Debug/main.obj b/samcraft/x64/Debug/main.obj new file mode 100644 index 0000000..7926034 Binary files /dev/null and b/samcraft/x64/Debug/main.obj differ diff --git a/samcraft/x64/Debug/samcraft.exe.recipe b/samcraft/x64/Debug/samcraft.exe.recipe new file mode 100644 index 0000000..b714dcf --- /dev/null +++ b/samcraft/x64/Debug/samcraft.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Users\sam\source\repos\samcraft\x64\Debug\samcraft.exe + + + + + + \ No newline at end of file diff --git a/samcraft/x64/Debug/samcraft.ilk b/samcraft/x64/Debug/samcraft.ilk new file mode 100644 index 0000000..87ac9e0 Binary files /dev/null and b/samcraft/x64/Debug/samcraft.ilk differ diff --git a/samcraft/x64/Debug/samcraft.log b/samcraft/x64/Debug/samcraft.log new file mode 100644 index 0000000..ac25826 --- /dev/null +++ b/samcraft/x64/Debug/samcraft.log @@ -0,0 +1,5 @@ + main.c +C:\Users\sam\source\repos\samcraft\samcraft\main.c(19,17): warning C4133: '=': incompatible types - from 'Mesh *' to 'float *' + samcraft.vcxproj -> C:\Users\sam\source\repos\samcraft\x64\Debug\samcraft.exe + 'pwsh.exe' is not recognized as an internal or external command, + operable program or batch file. diff --git a/samcraft/x64/Debug/samcraft.tlog/CL.command.1.tlog b/samcraft/x64/Debug/samcraft.tlog/CL.command.1.tlog new file mode 100644 index 0000000..843cc47 Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/CL.command.1.tlog differ diff --git a/samcraft/x64/Debug/samcraft.tlog/CL.read.1.tlog b/samcraft/x64/Debug/samcraft.tlog/CL.read.1.tlog new file mode 100644 index 0000000..5ba9452 Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/CL.read.1.tlog differ diff --git a/samcraft/x64/Debug/samcraft.tlog/CL.write.1.tlog b/samcraft/x64/Debug/samcraft.tlog/CL.write.1.tlog new file mode 100644 index 0000000..015d1ba Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/CL.write.1.tlog differ diff --git a/samcraft/x64/Debug/samcraft.tlog/Cl.items.tlog b/samcraft/x64/Debug/samcraft.tlog/Cl.items.tlog new file mode 100644 index 0000000..fa62355 --- /dev/null +++ b/samcraft/x64/Debug/samcraft.tlog/Cl.items.tlog @@ -0,0 +1,2 @@ +C:\Users\sam\source\repos\samcraft\samcraft\chunk.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Debug\chunk.obj +C:\Users\sam\source\repos\samcraft\samcraft\main.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Debug\main.obj diff --git a/samcraft/x64/Debug/samcraft.tlog/link.command.1.tlog b/samcraft/x64/Debug/samcraft.tlog/link.command.1.tlog new file mode 100644 index 0000000..8c77ee8 Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/link.command.1.tlog differ diff --git a/samcraft/x64/Debug/samcraft.tlog/link.read.1.tlog b/samcraft/x64/Debug/samcraft.tlog/link.read.1.tlog new file mode 100644 index 0000000..6d363f3 Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/link.read.1.tlog differ diff --git a/samcraft/x64/Debug/samcraft.tlog/link.write.1.tlog b/samcraft/x64/Debug/samcraft.tlog/link.write.1.tlog new file mode 100644 index 0000000..b0eedbb Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/link.write.1.tlog differ diff --git a/samcraft/x64/Debug/samcraft.tlog/samcraft.lastbuildstate b/samcraft/x64/Debug/samcraft.tlog/samcraft.lastbuildstate new file mode 100644 index 0000000..845cd36 --- /dev/null +++ b/samcraft/x64/Debug/samcraft.tlog/samcraft.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.38.33130:TargetPlatformVersion=10.0.22621.0:VcpkgTriplet=x64-windows: +Debug|x64|C:\Users\sam\source\repos\samcraft\| diff --git a/samcraft/x64/Debug/samcraft.tlog/samcraft.write.1u.tlog b/samcraft/x64/Debug/samcraft.tlog/samcraft.write.1u.tlog new file mode 100644 index 0000000..90f75b2 Binary files /dev/null and b/samcraft/x64/Debug/samcraft.tlog/samcraft.write.1u.tlog differ diff --git a/samcraft/x64/Debug/samcraft.vcxproj.FileListAbsolute.txt b/samcraft/x64/Debug/samcraft.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..d42bc4f --- /dev/null +++ b/samcraft/x64/Debug/samcraft.vcxproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\sam\source\repos\samcraft\samcraft\x64\Debug\samcraft.vcxproj.CopyComplete diff --git a/samcraft/x64/Debug/vc143.idb b/samcraft/x64/Debug/vc143.idb new file mode 100644 index 0000000..eb7af65 Binary files /dev/null and b/samcraft/x64/Debug/vc143.idb differ diff --git a/samcraft/x64/Debug/vc143.pdb b/samcraft/x64/Debug/vc143.pdb new file mode 100644 index 0000000..fc0b64c Binary files /dev/null and b/samcraft/x64/Debug/vc143.pdb differ diff --git a/samcraft/x64/Debug/vcpkg.applocal.log b/samcraft/x64/Debug/vcpkg.applocal.log new file mode 100644 index 0000000..ad3fbfc --- /dev/null +++ b/samcraft/x64/Debug/vcpkg.applocal.log @@ -0,0 +1,2 @@ + +C:\Users\sam\source\repos\samcraft\x64\Debug\raylib.dll diff --git a/samcraft/x64/Release/chunk.obj b/samcraft/x64/Release/chunk.obj new file mode 100644 index 0000000..168d01d Binary files /dev/null and b/samcraft/x64/Release/chunk.obj differ diff --git a/samcraft/x64/Release/main.obj b/samcraft/x64/Release/main.obj new file mode 100644 index 0000000..f6b9d9b Binary files /dev/null and b/samcraft/x64/Release/main.obj differ diff --git a/samcraft/x64/Release/samcraft.exe.recipe b/samcraft/x64/Release/samcraft.exe.recipe new file mode 100644 index 0000000..6415c92 --- /dev/null +++ b/samcraft/x64/Release/samcraft.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Users\sam\source\repos\samcraft\x64\Release\samcraft.exe + + + + + + \ No newline at end of file diff --git a/samcraft/x64/Release/samcraft.iobj b/samcraft/x64/Release/samcraft.iobj new file mode 100644 index 0000000..c528bba Binary files /dev/null and b/samcraft/x64/Release/samcraft.iobj differ diff --git a/samcraft/x64/Release/samcraft.ipdb b/samcraft/x64/Release/samcraft.ipdb new file mode 100644 index 0000000..4f63466 Binary files /dev/null and b/samcraft/x64/Release/samcraft.ipdb differ diff --git a/samcraft/x64/Release/samcraft.log b/samcraft/x64/Release/samcraft.log new file mode 100644 index 0000000..f62f246 --- /dev/null +++ b/samcraft/x64/Release/samcraft.log @@ -0,0 +1,10 @@ + main.c +C:\Users\sam\source\repos\samcraft\samcraft\main.c(19,17): warning C4133: '=': incompatible types - from 'Mesh *' to 'float *' + Generating code + 1 of 10 functions (10.0%) were compiled, the rest were copied from previous compilation. + 0 functions were new in current compilation + 0 functions had inline decision re-evaluated but remain unchanged + Finished generating code + samcraft.vcxproj -> C:\Users\sam\source\repos\samcraft\x64\Release\samcraft.exe + 'pwsh.exe' is not recognized as an internal or external command, + operable program or batch file. diff --git a/samcraft/x64/Release/samcraft.tlog/CL.command.1.tlog b/samcraft/x64/Release/samcraft.tlog/CL.command.1.tlog new file mode 100644 index 0000000..c90f76f Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/CL.command.1.tlog differ diff --git a/samcraft/x64/Release/samcraft.tlog/CL.read.1.tlog b/samcraft/x64/Release/samcraft.tlog/CL.read.1.tlog new file mode 100644 index 0000000..5ba9452 Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/CL.read.1.tlog differ diff --git a/samcraft/x64/Release/samcraft.tlog/CL.write.1.tlog b/samcraft/x64/Release/samcraft.tlog/CL.write.1.tlog new file mode 100644 index 0000000..ac4130b Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/CL.write.1.tlog differ diff --git a/samcraft/x64/Release/samcraft.tlog/Cl.items.tlog b/samcraft/x64/Release/samcraft.tlog/Cl.items.tlog new file mode 100644 index 0000000..6edde14 --- /dev/null +++ b/samcraft/x64/Release/samcraft.tlog/Cl.items.tlog @@ -0,0 +1,2 @@ +C:\Users\sam\source\repos\samcraft\samcraft\chunk.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Release\chunk.obj +C:\Users\sam\source\repos\samcraft\samcraft\main.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Release\main.obj diff --git a/samcraft/x64/Release/samcraft.tlog/link.command.1.tlog b/samcraft/x64/Release/samcraft.tlog/link.command.1.tlog new file mode 100644 index 0000000..3c65387 Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/link.command.1.tlog differ diff --git a/samcraft/x64/Release/samcraft.tlog/link.read.1.tlog b/samcraft/x64/Release/samcraft.tlog/link.read.1.tlog new file mode 100644 index 0000000..706cadc Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/link.read.1.tlog differ diff --git a/samcraft/x64/Release/samcraft.tlog/link.write.1.tlog b/samcraft/x64/Release/samcraft.tlog/link.write.1.tlog new file mode 100644 index 0000000..b555b56 Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/link.write.1.tlog differ diff --git a/samcraft/x64/Release/samcraft.tlog/samcraft.lastbuildstate b/samcraft/x64/Release/samcraft.tlog/samcraft.lastbuildstate new file mode 100644 index 0000000..8d3267b --- /dev/null +++ b/samcraft/x64/Release/samcraft.tlog/samcraft.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.38.33130:TargetPlatformVersion=10.0.22621.0:VcpkgTriplet=x64-windows: +Release|x64|C:\Users\sam\source\repos\samcraft\| diff --git a/samcraft/x64/Release/samcraft.tlog/samcraft.write.1u.tlog b/samcraft/x64/Release/samcraft.tlog/samcraft.write.1u.tlog new file mode 100644 index 0000000..5bba3a6 Binary files /dev/null and b/samcraft/x64/Release/samcraft.tlog/samcraft.write.1u.tlog differ diff --git a/samcraft/x64/Release/samcraft.vcxproj.FileListAbsolute.txt b/samcraft/x64/Release/samcraft.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..e13b878 --- /dev/null +++ b/samcraft/x64/Release/samcraft.vcxproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\sam\source\repos\samcraft\samcraft\x64\Release\samcraft.vcxproj.CopyComplete diff --git a/samcraft/x64/Release/vc143.pdb b/samcraft/x64/Release/vc143.pdb new file mode 100644 index 0000000..41d9d7b Binary files /dev/null and b/samcraft/x64/Release/vc143.pdb differ diff --git a/samcraft/x64/Release/vcpkg.applocal.log b/samcraft/x64/Release/vcpkg.applocal.log new file mode 100644 index 0000000..a359c71 --- /dev/null +++ b/samcraft/x64/Release/vcpkg.applocal.log @@ -0,0 +1,2 @@ + +C:\Users\sam\source\repos\samcraft\x64\Release\raylib.dll diff --git a/x64/Debug/raylib.dll b/x64/Debug/raylib.dll new file mode 100644 index 0000000..1758fd5 Binary files /dev/null and b/x64/Debug/raylib.dll differ diff --git a/x64/Debug/samcraft.exe b/x64/Debug/samcraft.exe new file mode 100644 index 0000000..67e8145 Binary files /dev/null and b/x64/Debug/samcraft.exe differ diff --git a/x64/Debug/samcraft.pdb b/x64/Debug/samcraft.pdb new file mode 100644 index 0000000..85474a0 Binary files /dev/null and b/x64/Debug/samcraft.pdb differ diff --git a/x64/Release/raylib.dll b/x64/Release/raylib.dll new file mode 100644 index 0000000..12f48bb Binary files /dev/null and b/x64/Release/raylib.dll differ diff --git a/x64/Release/samcraft.exe b/x64/Release/samcraft.exe new file mode 100644 index 0000000..db00314 Binary files /dev/null and b/x64/Release/samcraft.exe differ diff --git a/x64/Release/samcraft.pdb b/x64/Release/samcraft.pdb new file mode 100644 index 0000000..a8d51e2 Binary files /dev/null and b/x64/Release/samcraft.pdb differ