-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
453 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
/* | ||
* Half Life 1 SDK Copyright(c) Valve Corp. | ||
* | ||
* THIS DOCUMENT DESCRIBES A CONTRACT BETWEEN YOU AND VALVE CORPORATION ("Valve"). | ||
* PLEASE READ IT BEFORE DOWNLOADING OR USING THE HALF LIFE 1 SDK ("SDK"). BY | ||
* DOWNLOADING AND/OR USING THE HALF LIFE 1 SDK YOU ACCEPT THIS LICENSE. IF YOU DO | ||
* NOT AGREE TO THE TERMS OF THIS LICENSE PLEASE DON'T DOWNLOAD OR USE THE SDK. | ||
* | ||
* You may, free of charge, download and use the SDK to develop a modified Valve | ||
* game running on the Half-Life 1 engine. You may distribute your modified Valve | ||
* game in source and object code form, but only for free. Terms of use for Valve | ||
* games are found in the Steam Subscriber Agreement located here: | ||
* http://store.steampowered.com/subscriber_agreement/ | ||
* | ||
* You may copy, modify, and distribute the SDK and any modifications you make to | ||
* the SDK in source and object code form, but only for free. Any distribution of | ||
* this SDK must include this LICENSE file. | ||
* | ||
* Any distribution of the SDK or a substantial portion of the SDK must include | ||
* the above copyright notice and the following: | ||
* | ||
* DISCLAIMER OF WARRANTIES. THE HALF LIFE 1 SDK AND ANY OTHER MATERIAL | ||
* DOWNLOADED BY LICENSEE IS PROVIDED "AS IS". VALVE AND ITS SUPPLIERS | ||
* DISCLAIM ALL WARRANTIES WITH RESPECT TO THE SDK, EITHER EXPRESS OR IMPLIED, | ||
* INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, | ||
* NON-INFRINGEMENT, TITLE AND FITNESS FOR A PARTICULAR PURPOSE. | ||
* | ||
* LIMITATION OF LIABILITY. IN NO EVENT SHALL VALVE OR ITS SUPPLIERS BE LIABLE | ||
* FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER | ||
* (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, | ||
* BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY | ||
* LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE ENGINE AND/OR THE | ||
* SDK, EVEN IF VALVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. | ||
* | ||
* If you would like to use the SDK for a commercial purpose, please contact Valve | ||
* at [email protected]. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#ifdef __INTEL_COMPILER | ||
#pragma warning(push) | ||
#pragma warning(disable : 2021) | ||
#endif | ||
|
||
namespace cssdk | ||
{ | ||
enum class GameEventType { | ||
invalid = 0, | ||
WeaponFired, | ||
WeaponFiredOnEmpty, | ||
WeaponReloaded, | ||
|
||
HeGrenadeExploded, | ||
FlashbangGrenadeExploded, | ||
SmokeGrenadeExploded, | ||
GrenadeBounced, | ||
|
||
BeingShotAt, | ||
PlayerBlindedByFlashbang, | ||
PlayerFootstep, | ||
PlayerJumped, | ||
PlayerDied, | ||
PlayerLandedFromHeight, | ||
PlayerTookDamage, | ||
HostageDamaged, | ||
HostageKilled, | ||
|
||
Door, | ||
BreakGlass, | ||
BreakWood, | ||
BreakMetal, | ||
BreakFlesh, | ||
BreakConcrete, | ||
|
||
BombPlanted, | ||
BombDropped, | ||
BombPickedUp, | ||
BombBeep, | ||
BombDefusing, | ||
BombDefuseAborted, | ||
BombDefused, | ||
BombExploded, | ||
|
||
HostageUsed, | ||
HostageRescued, | ||
AllHostagesRescued, | ||
|
||
VipEscaped, | ||
VipAssassinated, | ||
TerroristsWin, | ||
CtsWin, | ||
RoundDraw, | ||
RoundWin, | ||
RoundLoss, | ||
RoundStart, | ||
PlayerSpawned, | ||
ClientCorpseSpawned, | ||
BuyTimeStart, | ||
PlayerLeftBuyZone, | ||
DeathCameraStart, | ||
KillAll, | ||
RoundTime, | ||
Die, | ||
Kill, | ||
Headshot, | ||
KillFlashbanged, | ||
TutorBuyMenuOpened, | ||
TutorAutoBuy, | ||
PlayerBoughtSomething, | ||
TutorNotBuyingAnything, | ||
TutorNeedToBuyPrimaryWeapon, | ||
TutorNeedToBuyPrimaryAmmo, | ||
TutorNeedToBuySecondaryAmmo, | ||
TutorNeedToBuyArmor, | ||
TutorNeedToBuyDefuseKit, | ||
TutorNeedToBuyGrenade, | ||
CareerTaskDone, | ||
|
||
StartRadio1, | ||
RadioCoverMe, | ||
RadioYouTakeThePoint, | ||
RadioHoldThisPosition, | ||
RadioRegroupTeam, | ||
RadioFollowMe, | ||
RadioTakingFire, | ||
StartRadio2, | ||
RadioGoGoGo, | ||
RadioTeamFallBack, | ||
RadioStickTogetherTeam, | ||
RadioGetInPositionAndWait, | ||
RadioStormTheFront, | ||
RadioReportInTeam, | ||
StartRadio3, | ||
RadioAffirmative, | ||
RadioEnemySpotted, | ||
RadioNeedBackup, | ||
RadioSectorClear, | ||
RadioInPosition, | ||
RadioReportingIn, | ||
RadioGetOutOfThere, | ||
RadioNegative, | ||
RadioEnemyDown, | ||
EndRadio, | ||
|
||
NewMatch, | ||
PlayerChangedTeam, | ||
BulletImpact, | ||
GameCommence, | ||
WeaponZoomed, | ||
HostageCalledForHelp, | ||
|
||
NUM_GAME_EVENTS, | ||
}; | ||
} | ||
|
||
#ifdef __INTEL_COMPILER | ||
#pragma warning(pop) | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.