Organize dScripts (#814)

* Organize dScripts

whitespace

Remove parent scope

Remove parent scope from initial setter

Remove debug

Remove helper programs

* Fix NtImagimeterVisibility script

Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
This commit is contained in:
David Markowitz 2022-11-03 10:57:54 -07:00 committed by GitHub
parent b974eed8f5
commit 8d37d9b681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
567 changed files with 886 additions and 252 deletions

View File

@ -165,6 +165,74 @@ set(INCLUDED_DIRECTORIES
"dDatabase/Tables"
"dNet"
"dScripts"
"dScripts/02_server"
"dScripts/ai"
"dScripts/client"
"dScripts/EquipmentScripts"
"dScripts/zone"
"dScripts/02_server/DLU"
"dScripts/02_server/Enemy"
"dScripts/02_server/Equipment"
"dScripts/02_server/Map"
"dScripts/02_server/Minigame"
"dScripts/02_server/Objects"
"dScripts/02_server/Pets"
"dScripts/02_server/Enemy/AG"
"dScripts/02_server/Enemy/AM"
"dScripts/02_server/Enemy/FV"
"dScripts/02_server/Enemy/General"
"dScripts/02_server/Enemy/Survival"
"dScripts/02_server/Enemy/VE"
"dScripts/02_server/Enemy/Waves"
"dScripts/02_server/Map/AG"
"dScripts/02_server/Map/AG_Spider_Queen"
"dScripts/02_server/Map/AM"
"dScripts/02_server/Map/FV"
"dScripts/02_server/Map/General"
"dScripts/02_server/Map/GF"
"dScripts/02_server/Map/njhub"
"dScripts/02_server/Map/NS"
"dScripts/02_server/Map/NT"
"dScripts/02_server/Map/PR"
"dScripts/02_server/Map/Property"
"dScripts/02_server/Map/SS"
"dScripts/02_server/Map/VE"
"dScripts/02_server/Map/FV/Racing"
"dScripts/02_server/Map/General/Ninjago"
"dScripts/02_server/Map/njhub/boss_instance"
"dScripts/02_server/Map/NS/Waves"
"dScripts/02_server/Map/Property/AG_Med"
"dScripts/02_server/Map/Property/AG_Small"
"dScripts/02_server/Map/Property/NS_Med"
"dScripts/02_server/Minigame/General"
"dScripts/ai/ACT"
"dScripts/ai/AG"
"dScripts/ai/FV"
"dScripts/ai/GENERAL"
"dScripts/ai/GF"
"dScripts/ai/MINIGAME"
"dScripts/ai/NP"
"dScripts/ai/NS"
"dScripts/ai/PETS"
"dScripts/ai/PROPERTY"
"dScripts/ai/RACING"
"dScripts/ai/SPEC"
"dScripts/ai/WILD"
"dScripts/ai/ACT/FootRace"
"dScripts/ai/MINIGAME/SG_GF"
"dScripts/ai/MINIGAME/SG_GF/SERVER"
"dScripts/ai/NS/NS_PP_01"
"dScripts/ai/NS/WH"
"dScripts/ai/PROPERTY/AG"
"dScripts/ai/RACING/OBJECTS"
"dScripts/client/ai"
"dScripts/client/ai/PR"
"dScripts/zone/AG"
"dScripts/zone/LUPs"
"dScripts/zone/PROPERTY"
"dScripts/zone/PROPERTY/FV"
"dScripts/zone/PROPERTY/GF"
"dScripts/zone/PROPERTY/NS"
"thirdparty/raknet/Source"
"thirdparty/tinyxml2"

View File

@ -50,14 +50,13 @@ foreach(file ${DGAME_DPROPERTYBEHAVIORS_SOURCES})
set(DGAME_SOURCES ${DGAME_SOURCES} "dPropertyBehaviors/${file}")
endforeach()
add_subdirectory(dUtilities)
foreach(file ${DGAME_DUTILITIES_SOURCES})
set(DGAME_SOURCES ${DGAME_SOURCES} "dUtilities/${file}")
endforeach()
foreach(file ${DSCRIPT_SOURCES})
foreach(file ${DSCRIPTS_SOURCES})
set(DGAME_SOURCES ${DGAME_SOURCES} "${PROJECT_SOURCE_DIR}/dScripts/${file}")
endforeach()

View File

@ -0,0 +1,45 @@
set(DSCRIPTS_SOURCES_02_SERVER)
add_subdirectory(DLU)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_DLU})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "DLU/${file}")
endforeach()
add_subdirectory(Enemy)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "Enemy/${file}")
endforeach()
add_subdirectory(Equipment)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_EQUIPMENT})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "Equipment/${file}")
endforeach()
add_subdirectory(Map)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_MAP})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "Map/${file}")
endforeach()
add_subdirectory(Minigame)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_MINIGAME})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "Minigame/${file}")
endforeach()
add_subdirectory(Objects)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_OBJECTS})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "Objects/${file}")
endforeach()
add_subdirectory(Pets)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_PETS})
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} "Pets/${file}")
endforeach()
set(DSCRIPTS_SOURCES_02_SERVER ${DSCRIPTS_SOURCES_02_SERVER} PARENT_SCOPE)

View File

@ -0,0 +1,3 @@
set(DSCRIPTS_SOURCES_02_SERVER_DLU
"DLUVanityNPC.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,3 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_AG
"BossSpiderQueenEnemyServer.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,5 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_AM
"AmDarklingMech.cpp"
"AmSkeletonEngineer.cpp"
"AmDarklingDragon.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,45 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY)
add_subdirectory(AG)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_AG})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "AG/${file}")
endforeach()
add_subdirectory(AM)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_AM})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "AM/${file}")
endforeach()
add_subdirectory(FV)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_FV})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "FV/${file}")
endforeach()
add_subdirectory(General)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_GENERAL})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "General/${file}")
endforeach()
add_subdirectory(Survival)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_SURVIVAL})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "Survival/${file}")
endforeach()
add_subdirectory(VE)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_VE})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "VE/${file}")
endforeach()
add_subdirectory(Waves)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_WAVES})
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "Waves/${file}")
endforeach()
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} PARENT_SCOPE)

View File

@ -0,0 +1,4 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_FV
"FvMaelstromCavalry.cpp"
"FvMaelstromDragon.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,7 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_GENERAL
"BaseEnemyMech.cpp"
"BaseEnemyApe.cpp"
"GfApeSmashingQB.cpp"
"TreasureChestDragonServer.cpp"
"EnemyNjBuff.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,5 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_SURVIVAL
"AgSurvivalStromling.cpp"
"AgSurvivalMech.cpp"
"AgSurvivalSpiderling.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,3 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_VE
"VeMech.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,6 @@
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY_WAVES
"WaveBossHammerling.cpp"
"WaveBossApe.cpp"
"WaveBossSpiderling.cpp"
"WaveBossHorsemen.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,4 @@
set(DSCRIPTS_SOURCES_02_SERVER_EQUIPMENT
"MaestromExtracticatorServer.cpp"
"BootyDigServer.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,16 @@
set(DSCRIPTS_SOURCES_02_SERVER_MAP_AG
"AgCagedBricksServer.cpp"
"NpcWispServer.cpp"
"NpcEpsilonServer.cpp"
"AgLaserSensorServer.cpp"
"AgMonumentLaserServer.cpp"
"AgMonumentBirds.cpp"
"RemoveRentalGear.cpp"
"NpcNjAssistantServer.cpp"
"AgBugsprayer.cpp"
"NpcAgCourseStarter.cpp"
"AgMonumentRaceGoal.cpp"
"AgMonumentRaceCancel.cpp"
"NpcCowboyServer.cpp"
"NpcPirateServer.cpp"
PARENT_SCOPE)

View File

@ -0,0 +1,4 @@
set(DSCRIPTS_SOURCES_02_SERVER_MAP_AG_SPIDER_QUEEN
"ZoneAgSpiderQueen.cpp"
"SpiderBossTreasureChestServer.cpp"
PARENT_SCOPE)

Some files were not shown because too many files have changed in this diff Show More