Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contribute to a start of entities implementation (#2)
* Refactor variable names and update comments * Update function to handle edge cases * Update compile.yml to use the main branch of common_compile.yml * Fix Entity class functions and add Entity equality operator * Fix Entity class and add testing code * Update struct LUA_Entity in class_entity.h * Add Entity class initialization * Add library_ents.h include * Fix variable name in ents_Create function * Add print statement and FindEntityByName function * Fix function reference in Global_Msg * Fix function pointer printing in Global_Msg * Update entity includes * Update entity includes * Fix formatting issue in class_entity.cpp and add missing include in library_ents.cpp * Update entity includes * Remove unnecessary includes in library_ents.cpp and add missing include in library_ents.h * Remove unnecessary include statement * Add IncludeSDKGame() function call and handle error in ents_FindEntityByName() * Add baseentity.h to manual files * Update premake5.lua to include baseentity.h in CreateProject * Update entity finding function names * Add baseentity.h include * Update premake5.lua and library_ents.cpp*** * Replace baseentity.h with player.h in library_ents.h * Update ILuaObject to IILuaObject in source files * Fix function parameter types in CLuaGameCallback and CLuaObject classes * Add missing include statement for LuaInterface * Remove unnecessary include statements * Remove unnecessary includes and namespaces * Add GarrysMod::Lua namespace to class_entity.h and library_ents.h * Remove unnecessary include of player.h * Remove unnecessary include and uncomment player include * Fix CheckString condition in ents_FindEntityByName function * Fix include statement in lua_threaded.h * Add player.h include in library_ents.cpp * Refactor IPlayerInfoManager class definition in library_engine.cpp * Refactor code in library_ents.cpp * Add file associations for C++ standard library headers and update function signatures * Fix Global_Entity function in class_entity.cpp * Fix type error in Entity_CheckType function * Fix TypeError in Entity_CheckType function * Fix function type in Global_Msg * Fix PushSpecial argument in InitEntsLib function * Update library_ents.cpp * Update library_ents.h * Commented out IPlayerInfoManager class definition * Add necessary header files for library_ents.cpp * Refactor IPlayerInfoManager class definition in library_engine.cpp * Remove unused code in Global_Msg function * Update entity search function * Fix FindEntityByName function call in library_ents.cpp * Remove unused header and update function call * Revert commented out include statement in library_ents.cpp * Update include path for itoolentity.h * Update include statements and add global entity list * Update entity list variable names * Commented out unused code in library_engine.cpp * Fix include and pointer issue in library_engine.cpp and library_ents.cpp * Update include statements and add new C++ standard library headers * Fix TODOs and update entity handling in lua_utils.cpp and lua_utils.h * Update include statements and add new C++ standard library headers * Fix pointer issue in library_ents.cpp * Add entitylist.h include statement in library_ents.cpp * Update entity list variable names and include global entity list in lua_utils.h * Update include statements and add entitylist.h in library_ents.cpp and lua_utils.h * Refactor include statements and update entity handling in library_ents.cpp * Update include statements and add entitylist.h in library_ents.cpp and lua_utils.h * Update include statements and remove unused variable in library_ents.cpp and library_ents.h * Refactor entity handling and update include statements in library_ents.cpp * Refactor entity handling and update include statements in class_entity.cpp and class_entity.h * Refactor entity handling and update include statements in class_entity.cpp and class_entity.h * Refactor entity handling and update include statements in class_entity.cpp, library_engine.cpp, library_ents.cpp, and lua_utils.h * Update include statements and remove unused variable in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Update include statements in premake5.lua and lua_utils.h * Update include statements in library_ents.cpp and lua_utils.h * Refactor entity handling and update include statements in library_ents.cpp and lua_utils.h * Update include statements in lua_utils.h * Refactor entity handling and update include statements in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Fix typo in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Fix null pointer exception in ents_FindEntityByName function * Refactor LuaThreaded testing code in gmod_testing.lua and fix null pointer exception in ents_FindEntityByName function * Update Sleep function timeout in console.lua * Refactor LuaThreaded testing code in gmod_testing.lua and fix null pointer exception in ents_FindEntityByName function * Update entityinfomanager_name in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Update LUA->SetField argument to use std::to_string in library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Add ents_FindByClass function to library_ents.cpp * Refactor entity handling and update include statements in library_ents.cpp * Fix missing debug message in ents_FindByClass function * Update entityinfomanager_name in library_ents.cpp * Fix missing debug message in ents_FindByClass function * Fix missing semicolon in library_ents.cpp * Refactor debug message in ents_FindByClass function in library_ents.cpp * Update debug message in gmod_testing.lua and entityinfomanager_name in library_ents.cpp * Update entityinfomanager_name in library_ents.cpp * Update entityinfomanager_name in library_ents.cpp * Update entityinfomanager_name and IncludeSDKTier2/3 in premake5.lua * Update entityinfomanager_name and IncludeSDKTier2/3 in premake5.lua * Fix incorrect pointer access in class_entity.cpp * Fix missing debug message in ents_FindByClass function * Add debug message for Entity(39) in gmod_testing.lua * Add Entity function to library_Global.cpp * Update entityinfomanager_name in library_ents.cpp * Update IncludeSDKTier2/3 in premake5.lua and fix entity handle access in library_ents.cpp * Fix entity handle access in library_ents.cpp * Fix entity handle access in library_ents.cpp * Fix entity handle access in library_ents.cpp * Fix entity handle access in library_ents.cpp * Add debug message for entity classname in ents_FindByClass function * Add debug message for entity list index in ents_FindByClass function * Add missing semicolon in ents_FindByClass function * Refactor entity handle access in library_ents.cpp * Fix entity handle access in library_ents.cpp * Refactor entity handle access in library_ents.cpp * Add missing include for baseentity.h in library_ents.cpp * Refactor entity handle access and fix missing include in library_ents.cpp * Refactor entity handle access and fix missing include in library_ents.cpp * Refactor entity handle access and fix missing include in library_ents.cpp * Fix entity handle access and add debug message in ents_FindByClass function * Fix entity handle access and add missing semicolon in ents_FindByClass function * Refactor entity handle access and fix missing include in library_ents.cpp * Refactor entity handle access and fix missing include in library_ents.cpp * Remove debug message in ents_FindByClass function * Refactor entity handle access and fix missing include in class_entity.cpp * Refactor entity handle access and fix missing include in class_entity.cpp * chore: Add Global_Entity function to library_Global.cpp
- Loading branch information