Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Update sourcemod configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Mar 25, 2020
1 parent 0e5e281 commit c7094ae
Show file tree
Hide file tree
Showing 242 changed files with 10,688 additions and 61,331 deletions.
5 changes: 1 addition & 4 deletions Deploy/SPEdit.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ CreateDirectory "$INSTDIR\sourcepawn\scripts"
CreateDirectory "$INSTDIR\sourcepawn\temp"
CreateDirectory "$INSTDIR\sourcepawn\templates"
CreateDirectory "$INSTDIR\sourcepawn\configs"
CreateDirectory "$INSTDIR\sourcepawn\configs\sm_1_8_5995_smlib_0_11"
CreateDirectory "$INSTDIR\sourcepawn\configs\sm_1_8_5995"
CreateDirectory "$INSTDIR\sourcepawn\configs\sm_one_six"

CreateDirectory "$INSTDIR\sourcepawn\configs\sm_1_10_0_6478"
File /r ".\sourcepawn"

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "DisplayName" "SPEdit - A lightweight sourcepawn editor"
Expand Down
4 changes: 1 addition & 3 deletions Resources/Misc/Configurations/Configs.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<Configurations>
<Config Name="Standard SM 1.8.0.5914" SMDirectory="sourcepawn\configs\sm_1_8_5914;" Standard="1" CopyDirectory="" AutoCopy="0" ServerFile="" ServerArgs="" PostCmd="" PreCmd="" OptimizationLevel="2" VerboseLevel="1" DeleteAfterCopy="0" FTPHost="ftp://localhost/" FTPUser="" FTPPassword="" FTPDir="" RConSourceEngine="1" RConIP="127.0.0.1" RConPort="27015" RConPassword="" RConCommands="" />
<Config Name="Standard SM 1.8.0.5914; SMLib 0.11" SMDirectory="sourcepawn\configs\sm_1_8_5914_smlib_0_11;" Standard="0" CopyDirectory="" AutoCopy="0" ServerFile="" ServerArgs="" PostCmd="" PreCmd="" OptimizationLevel="2" VerboseLevel="1" DeleteAfterCopy="0" FTPHost="ftp://localhost/" FTPUser="" FTPPassword="" FTPDir="" RConSourceEngine="1" RConIP="127.0.0.1" RConPort="27015" RConPassword="" RConCommands="" />
<Config Name="Standard SM 1.6.0" SMDirectory="sourcepawn\configs\sm_one_six;" Standard="0" CopyDirectory="" AutoCopy="0" ServerFile="" ServerArgs="" PostCmd="" PreCmd="" OptimizationLevel="2" VerboseLevel="1" DeleteAfterCopy="0" FTPHost="ftp://localhost/" FTPUser="" FTPPassword="" FTPDir="" RConSourceEngine="1" RConIP="127.0.0.1" RConPort="27015" RConPassword="" RConCommands="" />
<Config Name="Standard SM 1.10.0.6478" SMDirectory="sourcepawn\configs\sm_1_10_0_6478;" Standard="1" CopyDirectory="" AutoCopy="0" ServerFile="" ServerArgs="" PostCmd="" PreCmd="" OptimizationLevel="2" VerboseLevel="1" DeleteAfterCopy="0" FTPHost="ftp://localhost/" FTPUser="" FTPPassword="" FTPDir="" RConSourceEngine="1" RConIP="127.0.0.1" RConPort="27015" RConPassword="" RConCommands="" />
</Configurations>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,32 +52,32 @@
#endif

/** Category for player commands. */
#define ADMINMENU_PLAYERCOMMANDS "PlayerCommands"
#define ADMINMENU_PLAYERCOMMANDS "PlayerCommands"
/** Category for server commands. */
#define ADMINMENU_SERVERCOMMANDS "ServerCommands"
#define ADMINMENU_SERVERCOMMANDS "ServerCommands"
/** Category for voting commands. */
#define ADMINMENU_VOTINGCOMMANDS "VotingCommands"
#define ADMINMENU_VOTINGCOMMANDS "VotingCommands"

/**
* Called when the admin menu is created and 3rd party plugins can grab
* the Handle or add categories.
*
* @param topmenu Handle to the admin menu's TopMenu.
* @param topmenu Handle to the admin menu's TopMenu.
*/
forward void OnAdminMenuCreated(Handle topmenu);

/**
* Called when the admin menu is ready to have items added.
*
* @param topmenu Handle to the admin menu's TopMenu.
* @param topmenu Handle to the admin menu's TopMenu.
*/
forward void OnAdminMenuReady(Handle topmenu);

/**
* Retrieves the Handle to the admin top menu.
*
* @return Handle to the admin menu's TopMenu,
* or INVALID_HANDLE if not created yet.
* @return Handle to the admin menu's TopMenu,
* or INVALID_HANDLE if not created yet.
*/
native TopMenu GetAdminTopMenu();

Expand All @@ -87,37 +87,37 @@ native TopMenu GetAdminTopMenu();
* Each client is displayed as: name (userid)
* Each item contains the userid as a string for its info.
*
* @param menu Menu Handle.
* @param source_client Source client, or 0 to ignore immunity.
* @param in_game_only True to only select in-game players.
* @param alive_only True to only select alive players.
* @return Number of clients added.
* @param menu Menu Handle.
* @param source_client Source client, or 0 to ignore immunity.
* @param in_game_only True to only select in-game players.
* @param alive_only True to only select alive players.
* @return Number of clients added.
*/
native int AddTargetsToMenu(Handle menu,
int source_client,
bool in_game_only=true,
bool alive_only=false);
int source_client,
bool in_game_only=true,
bool alive_only=false);

/**
* Adds targets to an admin menu.
*
* Each client is displayed as: name (userid)
* Each item contains the userid as a string for its info.
*
* @param menu Menu Handle.
* @param source_client Source client, or 0 to ignore immunity.
* @param flags COMMAND_FILTER flags from commandfilters.inc.
* @return Number of clients added.
* @param menu Menu Handle.
* @param source_client Source client, or 0 to ignore immunity.
* @param flags COMMAND_FILTER flags from commandfilters.inc.
* @return Number of clients added.
*/
native int AddTargetsToMenu2(Handle menu, int source_client, int flags);

/**
* Re-displays the admin menu to a client after selecting an item.
* Auto-aborts if the Handle is invalid.
*
* @param topmenu TopMenu Handle.
* @param client Client index.
* @return True on success, false on failure.
* @param topmenu TopMenu Handle.
* @param client Client index.
* @return True on success, false on failure.
*/
stock bool RedisplayAdminMenu(Handle topmenu, int client)
{
Expand Down
Loading

0 comments on commit c7094ae

Please sign in to comment.