Merge pull request #426 from powerlord/holiday-communityupdate

Add Community Update holiday
This commit is contained in:
Nicholas Hastings 2015-10-07 09:58:36 -04:00
commit 121124e362
3 changed files with 11 additions and 8 deletions

View File

@ -153,6 +153,7 @@ void HolidayManager::OnPluginLoaded(IPlugin *plugin)
PopulateHolidayVar(pRuntime, "TFHoliday_Halloween"); PopulateHolidayVar(pRuntime, "TFHoliday_Halloween");
PopulateHolidayVar(pRuntime, "TFHoliday_Christmas"); PopulateHolidayVar(pRuntime, "TFHoliday_Christmas");
PopulateHolidayVar(pRuntime, "TFHoliday_EndOfTheLine"); PopulateHolidayVar(pRuntime, "TFHoliday_EndOfTheLine");
PopulateHolidayVar(pRuntime, "TFHoliday_CommunityUpdate");
PopulateHolidayVar(pRuntime, "TFHoliday_ValentinesDay"); PopulateHolidayVar(pRuntime, "TFHoliday_ValentinesDay");
PopulateHolidayVar(pRuntime, "TFHoliday_MeetThePyro"); PopulateHolidayVar(pRuntime, "TFHoliday_MeetThePyro");
PopulateHolidayVar(pRuntime, "TFHoliday_SpyVsEngyWar"); PopulateHolidayVar(pRuntime, "TFHoliday_SpyVsEngyWar");

View File

@ -157,14 +157,15 @@
"TFHoliday_Birthday" "1" "TFHoliday_Birthday" "1"
"TFHoliday_Halloween" "2" "TFHoliday_Halloween" "2"
"TFHoliday_Christmas" "3" "TFHoliday_Christmas" "3"
"TFHoliday_EndOfTheLine" "4" "TFHoliday_CommunityUpdate" "4"
"TFHoliday_ValentinesDay" "5" "TFHoliday_EndOfTheLine" "5"
"TFHoliday_MeetThePyro" "6" "TFHoliday_ValentinesDay" "6"
"TFHoliday_SpyVsEngyWar" "7" "TFHoliday_MeetThePyro" "7"
"TFHoliday_FullMoon" "8" "TFHoliday_SpyVsEngyWar" "8"
"TFHoliday_HalloweenOrFullMoon" "9" "TFHoliday_FullMoon" "9"
"TFHoliday_HalloweenOrFullMoonOrValentines" "10" "TFHoliday_HalloweenOrFullMoon" "10"
"TFHoliday_AprilFools" "11" "TFHoliday_HalloweenOrFullMoonOrValentines" "11"
"TFHoliday_AprilFools" "12"
} }
} }
} }

View File

@ -186,6 +186,7 @@ public const TFHoliday:TFHoliday_Birthday;
public const TFHoliday:TFHoliday_Halloween; public const TFHoliday:TFHoliday_Halloween;
public const TFHoliday:TFHoliday_Christmas; public const TFHoliday:TFHoliday_Christmas;
public const TFHoliday:TFHoliday_EndOfTheLine; public const TFHoliday:TFHoliday_EndOfTheLine;
public const TFHoliday:TFHoliday_CommunityUpdate;
public const TFHoliday:TFHoliday_ValentinesDay; public const TFHoliday:TFHoliday_ValentinesDay;
public const TFHoliday:TFHoliday_MeetThePyro; public const TFHoliday:TFHoliday_MeetThePyro;
public const TFHoliday:TFHoliday_SpyVsEngyWar; public const TFHoliday:TFHoliday_SpyVsEngyWar;