Changed GameLoop Structure

This commit is contained in:
maple
2025-11-04 23:10:36 +00:00
parent e6c3ec5406
commit 1809136c5c
9 changed files with 318 additions and 2223 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,60 +0,0 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"jsonFile" : "directory-.-f5ebdc15457944623624.json",
"minimumCMakeVersion" :
{
"string" : "3.11"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0
]
}
],
"name" : "",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "game",
"targetIndexes" :
[
0
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "game::@6890427a1f51a3e7e1df",
"jsonFile" : "target-game-899ee5236cc3b4912700.json",
"name" : "game",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "/home/maple/Documents/WebTest/build",
"source" : "/home/maple/Documents/WebTest"
},
"version" :
{
"major" : 2,
"minor" : 8
}
}

View File

@@ -1,184 +0,0 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Unix Makefiles"
},
"paths" :
{
"cmake" : "/usr/bin/cmake",
"cpack" : "/usr/bin/cpack",
"ctest" : "/usr/bin/ctest",
"root" : "/usr/share/cmake"
},
"version" :
{
"isDirty" : false,
"major" : 4,
"minor" : 1,
"patch" : 2,
"string" : "4.1.2",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-73917371340ab84b9289.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 8
}
},
{
"jsonFile" : "configureLog-v1-04e4844e0f707810d43c.json",
"kind" : "configureLog",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "cache-v2-feb0d4dafe98c00810f5.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-e68c0d9f9e6999829e38.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 1
}
},
{
"jsonFile" : "toolchains-v1-472da71fdd0015ae2c28.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"client-neocmake" :
{
"query.json" :
{
"requests" :
[
{
"kind" : "codemodel",
"version" :
[
{
"major" : 2,
"minor" : 8
}
]
},
{
"kind" : "configureLog",
"version" :
[
{
"major" : 1,
"minor" : 0
}
]
},
{
"kind" : "cache",
"version" :
[
{
"major" : 2,
"minor" : 0
}
]
},
{
"kind" : "cmakeFiles",
"version" :
[
{
"major" : 1,
"minor" : 1
}
]
},
{
"kind" : "toolchains",
"version" :
[
{
"major" : 1,
"minor" : 0
}
]
}
],
"responses" :
[
{
"jsonFile" : "codemodel-v2-73917371340ab84b9289.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 8
}
},
{
"jsonFile" : "configureLog-v1-04e4844e0f707810d43c.json",
"kind" : "configureLog",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "cache-v2-feb0d4dafe98c00810f5.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-e68c0d9f9e6999829e38.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 1
}
},
{
"jsonFile" : "toolchains-v1-472da71fdd0015ae2c28.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
]
}
}
}
}

View File

@@ -1,145 +0,0 @@
{
"artifacts" :
[
{
"path" : "game"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable",
"target_link_libraries",
"set_target_properties",
"find_package",
"target_sources"
],
"files" :
[
"CMakeLists.txt",
"/usr/lib/cmake/raylib/raylib-config.cmake"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 27,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 36,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 8,
"parent" : 0
},
{
"file" : 1,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 63,
"parent" : 4
},
{
"command" : 4,
"file" : 0,
"line" : 30,
"parent" : 0
},
{
"command" : 4,
"file" : 0,
"line" : 33,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"backtrace" : 2,
"fragment" : "-I/usr/include"
}
],
"language" : "C",
"sourceIndexes" :
[
0
]
}
],
"id" : "game::@6890427a1f51a3e7e1df",
"link" :
{
"commandFragments" :
[
{
"backtrace" : 2,
"fragment" : "/usr/lib/libraylib.so",
"role" : "libraries"
},
{
"backtrace" : 5,
"fragment" : "-L/usr/lib -lraylib",
"role" : "libraries"
}
],
"language" : "C"
},
"name" : "game",
"nameOnDisk" : "game",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
},
{
"name" : "Header Files",
"sourceIndexes" :
[
1
]
}
],
"sources" :
[
{
"backtrace" : 6,
"compileGroupIndex" : 0,
"path" : "src/main.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 7,
"path" : "data/cube.png.h",
"sourceGroupIndex" : 1
}
],
"type" : "EXECUTABLE"
}