Skip to content

Commit

Permalink
mixmap update
Browse files Browse the repository at this point in the history
  • Loading branch information
cH1yoi committed Jan 8, 2025
1 parent 34e57ff commit 1d3dca4
Show file tree
Hide file tree
Showing 5 changed files with 963 additions and 577 deletions.
Binary file modified addons/sourcemod/plugins/hana/l4d2_mixmap.smx
Binary file not shown.
67 changes: 67 additions & 0 deletions addons/sourcemod/scripting/include/l4d2_mixmap.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
SourcePawn is Copyright (C) 2006-2008 AlliedModders LLC. All rights reserved.
SourceMod is Copyright (C) 2006-2008 AlliedModders LLC. All rights reserved.
Pawn and SMALL are Copyright (C) 1997-2008 ITB CompuPhase.
Source is Copyright (C) Valve Corporation.
All trademarks are property of their respective owners.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined _l4d2_mixmap_included_
#endinput
#endif
#define _l4d2_mixmap_included_

/**
* @brief Called when plugin is about to load first mix map
* @note Right before loading first map
*
* @param iMapCount Total Mix Map Count
* @param sMapName First Mix Map Name
*/
forward void OnCMTStart(int iMapCount, const char[] sMapName);

/**
* @brief Called when mix map is loaded
* @note Right after the map is loaded
*
* @param sMapName Name of Current Mix Map Loaded
*/
forward void OnCMTNextKnown(const char[] sMapName);

/**
* @brief Called when last map is played and mixmap is finished
* @note Right after round ends or final wins
*
* @param sMapName Name of Current Mix Map Loaded
*/
forward void OnCMTEnd();


public SharedPlugin __pl_l4d2_mixmap =
{
name = "l4d2_mixmap",
file = "l4d2_mixmap.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};

#if !defined REQUIRE_PLUGIN
public void __pl_l4d2_mixmap_SetNTVOptional()
{
}
#endif
Loading

0 comments on commit 1d3dca4

Please sign in to comment.