diff --git a/plugins/include/mapchooser.inc b/plugins/include/mapchooser.inc index 360fd81b..6c4bb4ec 100644 --- a/plugins/include/mapchooser.inc +++ b/plugins/include/mapchooser.inc @@ -1,3 +1,34 @@ +/** + * vim: set ts=4 : + * ============================================================================= + * SourceMod (C)2004-2014 AlliedModders LLC. All rights reserved. + * ============================================================================= + * + * This file is part of the SourceMod/SourcePawn SDK. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License, version 3.0, as published by the + * Free Software Foundation. + * + * 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 . + * + * As a special exception, AlliedModders LLC gives you permission to link the + * code of this program (as well as its derivative works) to "Half-Life 2," the + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software + * by the Valve Corporation. You must obey the GNU General Public License in + * all respects for all other code used. Additionally, AlliedModders LLC grants + * this exception to all derivative works. AlliedModders LLC defines further + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007), + * or . + * + * Version: $Id$ + */ #if defined _mapchooser_included_ #endinput #endif diff --git a/plugins/include/nextmap.inc b/plugins/include/nextmap.inc index ec085824..a1632679 100644 --- a/plugins/include/nextmap.inc +++ b/plugins/include/nextmap.inc @@ -1,7 +1,7 @@ /** * vim: set ts=4 : * ============================================================================= - * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2014 AlliedModders LLC. All rights reserved. * ============================================================================= * * This file is part of the SourceMod/SourcePawn SDK. @@ -42,7 +42,7 @@ * @param map Next map to set. * @return True if the nextmap was set, false if map was invalid. */ -native bool:SetNextMap(const String:map[]); +native bool SetNextMap(const char[] map); /** * Returns SourceMod's internal nextmap. @@ -51,7 +51,7 @@ native bool:SetNextMap(const String:map[]); * @param maxlen Maximum length of the map buffer. * @return True if a Map was found and copied, false if no nextmap is set (map will be unchanged). */ -native bool:GetNextMap(String:map[], maxlen); +native bool GetNextMap(char[] map, int maxlen); /** * Changes the current map and records the reason for the change with maphistory @@ -60,14 +60,14 @@ native bool:GetNextMap(String:map[], maxlen); * @param reason Reason for change. * @noreturn */ -native ForceChangeLevel(const String:map[], const String:reason[]); +native void ForceChangeLevel(const char[] map, const char[] reason); /** * Gets the current number of maps in the map history * * @return Number of maps. */ -native GetMapHistorySize(); +native int GetMapHistorySize(); /** * Retrieves a map from the map history list. @@ -81,4 +81,4 @@ native GetMapHistorySize(); * @noreturn * @error Invalid item number. */ -native GetMapHistory(item, String:map[], mapLen, String:reason[], reasonLen, &startTime); \ No newline at end of file +native void GetMapHistory(int item, char[] map, int mapLen, char[] reason, int reasonLen, int &startTime); \ No newline at end of file diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index 4e01be19..f9e5dcd0 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -5,7 +5,7 @@ * Creates a map vote at appropriate times, setting sm_nextmap to the winning * vote * - * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2014 AlliedModders LLC. All rights reserved. * ============================================================================= * * This program is free software; you can redistribute it and/or modify it under diff --git a/plugins/nextmap.sp b/plugins/nextmap.sp index 6e59c83f..a0740f04 100644 --- a/plugins/nextmap.sp +++ b/plugins/nextmap.sp @@ -4,7 +4,7 @@ * SourceMod Nextmap Plugin * Adds sm_nextmap cvar for changing map and nextmap chat trigger. * - * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2014 AlliedModders LLC. All rights reserved. * ============================================================================= * * This program is free software; you can redistribute it and/or modify it under diff --git a/plugins/nominations.sp b/plugins/nominations.sp index 5028e6a1..5b0c3226 100644 --- a/plugins/nominations.sp +++ b/plugins/nominations.sp @@ -4,7 +4,7 @@ * SourceMod Rock The Vote Plugin * Creates a map vote when the required number of players have requested one. * - * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2014 AlliedModders LLC. All rights reserved. * ============================================================================= * * This program is free software; you can redistribute it and/or modify it under diff --git a/plugins/randomcycle.sp b/plugins/randomcycle.sp index 38fb4d7d..a2e3ee14 100644 --- a/plugins/randomcycle.sp +++ b/plugins/randomcycle.sp @@ -4,7 +4,7 @@ * SourceMod Random Map Cycle Plugin * Randomly picks a map from the mapcycle. * - * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2014 AlliedModders LLC. All rights reserved. * ============================================================================= * * This program is free software; you can redistribute it and/or modify it under