From 34bf5c0d9db195edf8b576d1273876966cf650b2 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 4 May 2021 16:11:56 +0100 Subject: Rename files to match code --- src/Registries/CMakeLists.txt | 2 +- src/Registries/CustomStatistics.h | 125 ++++++++++++++++++++++++++++++++++++++ src/Registries/Statistics.h | 125 -------------------------------------- 3 files changed, 126 insertions(+), 126 deletions(-) create mode 100644 src/Registries/CustomStatistics.h delete mode 100644 src/Registries/Statistics.h (limited to 'src/Registries') diff --git a/src/Registries/CMakeLists.txt b/src/Registries/CMakeLists.txt index 31102881d..cc0a7b4df 100644 --- a/src/Registries/CMakeLists.txt +++ b/src/Registries/CMakeLists.txt @@ -5,6 +5,6 @@ target_sources( BlockStates.h BlockTypes.h + CustomStatistics.h Items.h - Statistics.h ) \ No newline at end of file diff --git a/src/Registries/CustomStatistics.h b/src/Registries/CustomStatistics.h new file mode 100644 index 000000000..c0edba191 --- /dev/null +++ b/src/Registries/CustomStatistics.h @@ -0,0 +1,125 @@ +#pragma once + +// tolua_begin +enum class CustomStatistic +{ + // tolua_end + + /* Achievements */ + AchOpenInventory, /* Taking Inventory */ + AchMineWood, /* Getting Wood */ + AchBuildWorkBench, /* Benchmarking */ + AchBuildPickaxe, /* Time to Mine! */ + AchBuildFurnace, /* Hot Topic */ + AchAcquireIron, /* Acquire Hardware */ + AchBuildHoe, /* Time to Farm! */ + AchMakeBread, /* Bake Bread */ + AchBakeCake, /* The Lie */ + AchBuildBetterPickaxe, /* Getting an Upgrade */ + AchCookFish, /* Delicious Fish */ + AchOnARail, /* On A Rail */ + AchBuildSword, /* Time to Strike! */ + AchKillEnemy, /* Monster Hunter */ + AchKillCow, /* Cow Tipper */ + AchFlyPig, /* When Pigs Fly */ + AchSnipeSkeleton, /* Sniper Duel */ + AchDiamonds, /* DIAMONDS! */ + AchPortal, /* We Need to Go Deeper */ + AchGhast, /* Return to Sender */ + AchBlazeRod, /* Into Fire */ + AchPotion, /* Local Brewery */ + AchTheEnd, /* The End? */ + AchTheEnd2, /* The End. */ + AchEnchantments, /* Enchanter */ + AchOverkill, /* Overkill */ + AchBookcase, /* Librarian */ + AchExploreAllBiomes, /* Adventuring Time */ + AchSpawnWither, /* The Beginning? */ + AchKillWither, /* The Beginning. */ + AchFullBeacon, /* Beaconator */ + AchBreedCow, /* Repopulation */ + AchDiamondsToYou, /* Diamonds to you! */ + + // tolua_begin + + /* Statistics */ + AnimalsBred, + AviateOneCm, + BellRing, + BoatOneCm, + CleanArmor, + CleanBanner, + CleanShulkerBox, + ClimbOneCm, + CrouchOneCm, + DamageAbsorbed, + DamageBlockedByShield, + DamageDealt, + DamageDealtAbsorbed, + DamageDealtResisted, + DamageResisted, + DamageTaken, + Deaths, + Drop, + EatCakeSlice, + EnchantItem, + FallOneCm, + FillCauldron, + FishCaught, + FlyOneCm, + HorseOneCm, + InspectDispenser, + InspectDropper, + InspectHopper, + InteractWithAnvil, + InteractWithBeacon, + InteractWithBlastFurnace, + InteractWithBrewingstand, + InteractWithCampfire, + InteractWithCartographyTable, + InteractWithCraftingTable, + InteractWithFurnace, + InteractWithGrindstone, + InteractWithLectern, + InteractWithLoom, + InteractWithSmithingTable, + InteractWithSmoker, + InteractWithStonecutter, + Jump, + LeaveGame, + MinecartOneCm, + MobKills, + OpenBarrel, + OpenChest, + OpenEnderchest, + OpenShulkerBox, + PigOneCm, + PlayNoteblock, + PlayOneMinute, + PlayRecord, + PlayerKills, + PotFlower, + RaidTrigger, + RaidWin, + SleepInBed, + SneakTime, + SprintOneCm, + StriderOneCm, + SwimOneCm, + TalkedToVillager, + TargetHit, + TimeSinceDeath, + TimeSinceRest, + TradedWithVillager, + TriggerTrappedChest, + TuneNoteblock, + UseCauldron, + WalkOnWaterOneCm, + WalkOneCm, + WalkUnderWaterOneCm, + + // Old ones just for compatibility + JunkFished, + TreasureFished, +}; +// tolua_end diff --git a/src/Registries/Statistics.h b/src/Registries/Statistics.h deleted file mode 100644 index c0edba191..000000000 --- a/src/Registries/Statistics.h +++ /dev/null @@ -1,125 +0,0 @@ -#pragma once - -// tolua_begin -enum class CustomStatistic -{ - // tolua_end - - /* Achievements */ - AchOpenInventory, /* Taking Inventory */ - AchMineWood, /* Getting Wood */ - AchBuildWorkBench, /* Benchmarking */ - AchBuildPickaxe, /* Time to Mine! */ - AchBuildFurnace, /* Hot Topic */ - AchAcquireIron, /* Acquire Hardware */ - AchBuildHoe, /* Time to Farm! */ - AchMakeBread, /* Bake Bread */ - AchBakeCake, /* The Lie */ - AchBuildBetterPickaxe, /* Getting an Upgrade */ - AchCookFish, /* Delicious Fish */ - AchOnARail, /* On A Rail */ - AchBuildSword, /* Time to Strike! */ - AchKillEnemy, /* Monster Hunter */ - AchKillCow, /* Cow Tipper */ - AchFlyPig, /* When Pigs Fly */ - AchSnipeSkeleton, /* Sniper Duel */ - AchDiamonds, /* DIAMONDS! */ - AchPortal, /* We Need to Go Deeper */ - AchGhast, /* Return to Sender */ - AchBlazeRod, /* Into Fire */ - AchPotion, /* Local Brewery */ - AchTheEnd, /* The End? */ - AchTheEnd2, /* The End. */ - AchEnchantments, /* Enchanter */ - AchOverkill, /* Overkill */ - AchBookcase, /* Librarian */ - AchExploreAllBiomes, /* Adventuring Time */ - AchSpawnWither, /* The Beginning? */ - AchKillWither, /* The Beginning. */ - AchFullBeacon, /* Beaconator */ - AchBreedCow, /* Repopulation */ - AchDiamondsToYou, /* Diamonds to you! */ - - // tolua_begin - - /* Statistics */ - AnimalsBred, - AviateOneCm, - BellRing, - BoatOneCm, - CleanArmor, - CleanBanner, - CleanShulkerBox, - ClimbOneCm, - CrouchOneCm, - DamageAbsorbed, - DamageBlockedByShield, - DamageDealt, - DamageDealtAbsorbed, - DamageDealtResisted, - DamageResisted, - DamageTaken, - Deaths, - Drop, - EatCakeSlice, - EnchantItem, - FallOneCm, - FillCauldron, - FishCaught, - FlyOneCm, - HorseOneCm, - InspectDispenser, - InspectDropper, - InspectHopper, - InteractWithAnvil, - InteractWithBeacon, - InteractWithBlastFurnace, - InteractWithBrewingstand, - InteractWithCampfire, - InteractWithCartographyTable, - InteractWithCraftingTable, - InteractWithFurnace, - InteractWithGrindstone, - InteractWithLectern, - InteractWithLoom, - InteractWithSmithingTable, - InteractWithSmoker, - InteractWithStonecutter, - Jump, - LeaveGame, - MinecartOneCm, - MobKills, - OpenBarrel, - OpenChest, - OpenEnderchest, - OpenShulkerBox, - PigOneCm, - PlayNoteblock, - PlayOneMinute, - PlayRecord, - PlayerKills, - PotFlower, - RaidTrigger, - RaidWin, - SleepInBed, - SneakTime, - SprintOneCm, - StriderOneCm, - SwimOneCm, - TalkedToVillager, - TargetHit, - TimeSinceDeath, - TimeSinceRest, - TradedWithVillager, - TriggerTrappedChest, - TuneNoteblock, - UseCauldron, - WalkOnWaterOneCm, - WalkOneCm, - WalkUnderWaterOneCm, - - // Old ones just for compatibility - JunkFished, - TreasureFished, -}; -// tolua_end -- cgit v1.2.3