-
Notifications
You must be signed in to change notification settings - Fork 123
Update VC/SA #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update VC/SA #185
Conversation
Added CPlaneBanner, CPlaneBanners, CPlaneTrail, CPlaneTrails for VC, and RwTextureRead/HasModelLoaded for SA
New events for 3D things rendering
@@ -21,6 +21,9 @@ namespace plugin { | |||
namespace Events { | |||
#ifdef GTASA | |||
static CdeclEvent <AddressList<0x53E293, H_CALL>, PRIORITY_AFTER, ArgPickNone, void()> drawingEvent; | |||
static CdeclEvent <AddressList<0x726AD0, H_CALL>, PRIORITY_AFTER, ArgPickNone, void()> RenderSpecialFxEvent; | |||
static ThiscallEvent <AddressList<0x53E175, H_CALL>, PRIORITY_AFTER, ArgPickNone, void()> RenderEffectsEvent; | |||
static CdeclEvent <AddressList<0x717150, H_CALL>, PRIORITY_AFTER, ArgPickNone, void()> movingThingsEvent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
White characters inconsistent with rest of the file.
@@ -134,6 +134,7 @@ class PLUGIN_API CStreaming { | |||
//! return modelIndex | |||
SUPPORTED_10US static int GetNextFileOnCd(int pos, bool bNotPriority); | |||
SUPPORTED_10US static bool HasSpecialCharLoaded(int slot); | |||
SUPPORTED_10US static bool HasModelLoaded(int32_t id) { return ms_aInfoForModel[id].m_nLoadState == LOADSTATE_LOADED; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why just 1.0US?
Why adding just to one game from trilogy?
public: | ||
static void Update(void); | ||
static void RegisterPoint(CVector pos, uint32_t trailIndex); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are unable to keep consistent coding style even with yourself.
Added CPlaneBanner, CPlaneBanners, CPlaneTrail, CPlaneTrails for VC, and RwTextureRead/HasModelLoaded for SA