Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
plugin-sdk/plugin_vc/game_vc/CWeaponEffects.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35 lines (30 sloc)
901 Bytes
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
| /* | |
| Plugin-SDK (Grand Theft Auto Vice City) header file | |
| Authors: GTA Community. See more here | |
| https://github.com/DK22Pac/plugin-sdk | |
| Do not delete this comment block. Respect others' work! | |
| */ | |
| #pragma once | |
| #include "PluginBase.h" | |
| #include "CVector.h" | |
| #include "CRGBA.h" | |
| #include "RenderWare.h" | |
| class CWeaponEffects { | |
| public: | |
| bool m_bActive; | |
| char _pad0[3]; | |
| CVector m_vecPosn; | |
| CRGBA m_Color; | |
| float m_fSize; | |
| float m_fRotation; | |
| //funcs | |
| CWeaponEffects(); | |
| static void ClearCrossHair(); | |
| static void Init(); | |
| static void MarkTarget(CVector pos, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha, float size); | |
| static void Render(); | |
| static void Shutdown(); | |
| }; | |
| VALIDATE_SIZE(CWeaponEffects, 0x1C); | |
| extern RwTexture*& gpCrossHairTex; // RwTexture* gpCrossHairTex | |
| extern CWeaponEffects& gCrossHair; // CWeaponEffects gCrossHair |