Integrated the new develop environment into the repository. Cleaned up old and unused files.

This commit is contained in:
richard 2009-08-27 19:53:52 +02:00
parent f4a611ae63
commit 6fcc71aa90
73 changed files with 24 additions and 173 deletions

View File

@ -1,7 +1,8 @@
SOURCEDIR=src
SMINCLUDES=env/include
BUILDDIR=build
SPCOMP=bin/spcomp
SPCOMP=env/linux/bin/spcomp
VERSIONDUMP=./updateversion.sh
vpath %.sp $(SOURCEDIR)
@ -26,7 +27,7 @@ prepare_builddir:
%.smx: %.sp
$(VERSIONDUMP)
$(SPCOMP) -i$(SOURCEDIR) -i$(SOURCEDIR)/include -o$(BUILDDIR)/$@ $<
$(SPCOMP) -i$(SOURCEDIR) -i$(SOURCEDIR)/include -i$(SMINCLUDES) -o$(BUILDDIR)/$@ $<
clean:
@echo "Removing build directory"

View File

@ -1,135 +0,0 @@
2009.02.21 - 2.5.1.29
* Moved model precache to startup. This will probably fix the freeze on infection problem.
2009.02.16 - 2.5.1.28
* Fixed ambience sound not always playing. Changed ambience module to play a ambience sound per client, when they connect.
* Improved logging function.
* Fixed zvision not disabled if the setting is empty in classes.txt. Disabled zvision timer (not really needed?).
2009.02.13 - 2.5.1.27
* Fixed bug in formatted log messages when client is negative or 0 (console).
* Simplified log formatting style.
* Blocked non-root admins from changing log flags (except print to chat flags).
* Fixed unknown command error on zr_anticamp_list command.
* Simplified some messages by using ReplyToCommand.
* Added module based log flags.
* Made CVARs for alpha values (transparency).
* Changed CVAR zr_classes_default to select a random class on map load, if "random" is used.
* Removed CVAR zr_classes_save. This feature can be replaced later with client cookies from SourceMod 1.1.0.
* Fixed zmenu not closing when teleporting or spawning.
2009.02.02 - 2.5.1.26
* Fixed message typo.
* Added debug messages when applying models.
* Added log messages on manual infecions and weapon restrictions.
2009.01.31 - 2.5.1.25
* Fixed incorrect weapon name used in group weapon restrictions (bullpup => aug).
* Improved logging system. CVAR zr_debug renamed to zr_log. Using bit flags instead of on/off CVAR. Added flag configurations to zombie admin menu.
* Fixed index out of bounds error in anticamp module.
2009.01.18 - 2.5.1.24
* Created a anticamp feature that give players damage at a specified interval in custom defined volumes. Only affects humans.
* Re-formatted changes.txt.
2009.01.17 - 2.5.1.23
* Fixed teleport location text to display as float values instead of decimal.
2009.01.16 - 2.5.1.22
* Changed hardcoded antistick force into a CVAR.
2009.01.14 - 2.5.1.21
* Fixed spectactor admins not able to teleport players to their custom location.
2009.01.13 - 2.5.1.20
* Fixed zstuck still working when disabled.
* Code cleanup: Removed old teleport functions and debug messages in zspawn.
2009.01.13 - 2.5.1.19
* Added per-client teleport buffers instead of one common (still only for admins).
* Made zr_tele_reset_buffers CVAR for resetting custom saved locations on round start. Abuse protection.
* Fixed spectactors able to teleport, using admin commands.
* Added !teleabort chat trigger. Doesn't abort cooldown.
* Changed ztele to tele in CVAR names.
2008.12.27 - 2.5.1.18
* Made zr_suicide_world_damage CVAR for respawning as zombie if a zombie was killed by the world.
* Removed spawn protection on respawned zombies.
2008.12.26 - 2.5.1.17
* Finished teleporter admin commands; zr_teleport, zr_tele_saveloc, zr_tele_loc, zr_tele_abort.
* Teleport admin menu made, but not coded.
2008.12.20 - 2.5.1.16
* Improved the teleporter. Startup delay, cooldown, separate team delays and limits. Admin commands made, but not coded yet.
2008.12.16 - 2.5.1.15 - Richard
* Removed unnecessary function call in OnPluginEnd causeing the periodical GameRules not available error.
2008.11.24 - 2.5.1.14 - Richard
* Made zr_ztele_humans cvar for allowing or disallowing humans to use the teleporter. Defaults to allow.
2008.11.17 - 2.5.1.13 - Richard
* Made a switch for printing suicide attempts to admin chat.
* Added suicide response to client chat too, not just the console.
2008.11.16 - 2.5.1.12 - Richard
* Applied game rules not available fix from Grey Echo.
2008.11.13 - 2.5.1.11 - Richard
* ZSpawn fix confirmed.
* Added debug messages on OnPlayerDisconnect and PlayerDeath. (zr_debug must be 2, might spam the console).
* Fixed invalid timer handle errors on OnClientDisconnect and PlayerDeath.
* Fixed client not in game error in ZR_DebugPrintToConsole.
2008.10.29 - 2.5.1.10 - Richard
* Improved handling of invalid handle errors on OnClientDisconnect and PlayerDeath.
CloseHandle sometimes cause errors when destroying timers. Solution: KillTimer.
* Added debug switch and a function for printing/logging messages to client consoles or the server.
* Added debug messages on zspawn.
* Fixed zr_spawn not spawning spectactors (if @all is used).
2008.10.11 - 2.5.1.9 - Richard
* Added CVAR for saving class selection after map changes. Default: off.
If default classes are used, this one should be off.
2008.10.11 - 2.5.1.8 - Richard
* Added CVAR for setting default class.
2008.10.11 - 2.5.1.7 - Richard
* Fixed bugs in IsClientPlayer
* Made a zombie admin menu (zr_admin).
2008.10.10 - 2.5.1.6 - Richard
* Fixed night vision state not remembered. If zomibes turn off zvision, nvgs
will be off next time too.
2008.10.08 - 2.5.1.5 - Richard
* Fixed invalid client index errors.
2008.10.08 - 2.5.1.4 - Richard
* Fixed zombie moans not looping when interval is 0 (disabled).
2008.10.08 - 2.5.1.3 - Richard
* Made the console commands zr_set_class_knockback and zr_get_class_knockback.
2008.10.07 - 2.5.1.2 - Richard
* Added support for overriding class nvgs with the CVAR.
-1: Disable override, 0/1: Off/On
2008.09.21 - 2.5.1.1 - mbalex
* Added centered counter for spawn protection.
* Made chat commands visible to other players.
* Made unlimited ammo and hit sounds scripts part of the patch.
* Added public CVars zombie_enabled and zombie_version.
* IsClientConnected must always be before IsClientInGame, because
IsClientInGame does not implicit call it.
2008.09.20 - 2.5.1
* Fixed spawn protection not protecting against zombies. (Richard)
* Made protected players invisible and move faster. (mbalex)
* Changed class knockback to be a multiplier of the default knockback. (Richard)
2008.09.17 - 2.5.1
* Added support for alpha values in classes. (mbalex)

View File

18
env/readme.txt vendored Normal file
View File

@ -0,0 +1,18 @@
Compiling:
- Windows: Use compile.bat in the source code repository.
- Linux: Use the makefile.
The binary will be made in <repos>/build.
The develop environment should be mostly stand-alone with SourcePawn compiler
some tools and include files. But there are some other stuff that's required
for this to work:
Linux users:
- Mercurial
- Make
Windows users:
- TortoiseHG (windows version of Mercurial, with both GUI and command line
tools).

BIN
env/win32/bin/bash.exe vendored Normal file

Binary file not shown.

BIN
env/win32/bin/cygiconv-2.dll vendored Normal file

Binary file not shown.

BIN
env/win32/bin/cygintl-8.dll vendored Normal file

Binary file not shown.

BIN
env/win32/bin/cygncurses-9.dll vendored Normal file

Binary file not shown.

BIN
env/win32/bin/cygpath.exe vendored Normal file

Binary file not shown.

BIN
env/win32/bin/cygreadline6.dll vendored Normal file

Binary file not shown.

BIN
env/win32/bin/cygwin1.dll vendored Normal file

Binary file not shown.

BIN
env/win32/bin/date.exe vendored Normal file

Binary file not shown.

BIN
env/win32/bin/echo.exe vendored Normal file

Binary file not shown.

BIN
env/win32/bin/spcomp.exe vendored Normal file

Binary file not shown.

View File

@ -1,31 +0,0 @@
#if defined _sourcebans_included
#endinput
#endif
#define _sourcebans_included
public SharedPlugin:__pl_sourcebans =
{
name = "SourceBans",
file = "sourcebans.smx",
required = 0
};
public __pl_sourcebans_SetNTVOptional()
{
MarkNativeAsOptional("SBBanPlayer");
}
/*********************************************************
* Ban Player from server
*
* @param client The client index of the admin who is banning the client
* @param target The client index of the player to ban
* @param time The time to ban the player for (in minutes, 0 = permanent)
* @param reason The reason to ban the player from the server
* @noreturn
*********************************************************/
native SBBanPlayer(client, target, time, String:reason[]);
//Yarr!

View File

@ -1,14 +1,12 @@
@echo off
REM Note: Copy this script to the source code repositroy and execute it
REM from that location.
REM To avoid complicated and maybe impossible tasks in windows batch scripts,
REM this script will execute another linux shell script using cygwin.
set BASH=%ZRDEVENV%\win32\bin\bash.exe
set DATEPATH=%ZRDEVENV%\win32\bin\date.exe
set BASH=env\win32\bin\bash.exe
set DATEPATH=env\win32\bin\date.exe
REM Converts a windows path to a linux path for cygwin (/cygdrive/c/...).
for /f %%s in ('%ZRDEVENV%\win32\bin\cygpath.exe -u "%DATEPATH%"') do set DATEPATH=%%s
for /f %%s in ('env\win32\bin\cygpath.exe -u "%DATEPATH%"') do set DATEPATH=%%s
%BASH% updateversion.sh %DATEPATH%