Missing enums, classes, methods and funcs#292
Missing enums, classes, methods and funcs#292ANTINICKNAMES wants to merge 9 commits intoDK22Pac:masterfrom
Conversation
ANTINICKNAMES
commented
Mar 15, 2026
- Added missing Animation Enums
- Added Initialise method in CAEPedSpeechAudioEntity class.
- Added Load/Save funcs for CAERadioTrackManager, CGameLogic, CGarages, CPathFind, CPlayerInfo.
- Added CTagManager, CStuntJumpManager, CShopping, CPedType and SurfaceInfos_c classes. (untested)
- Added missing methods and classes for CPostEffects. (untested)
- Added data members for CTaskSimpleHoldEntity.
- Added missing CLines class.
- Fixed ScriptParams array in CTheScripts
- Added new Events: renderMirror, renderScene, renderEffects, drawFontsEvent
1. Added missing Animation Enums 2. Added Initialise method in CAEPedSpeechAudioEntity class. 3. Added Load/Save funcs for CAERadioTrackManager, CGameLogic, CGarages, CPathFind, CPlayerInfo. 4. Added CTagManager, CStuntJumpManager, CShopping, CPedType and SurfaceInfos_c classes. 5. Added missing methods and classes for CPostEffects. 6. Added data members for CTaskSimpleHoldEntity.
|
I know it's a (bit) messy... Let me know if something wrong. |
| #pragma once | ||
|
|
||
| // original name. prev name eAnimID | ||
| enum AnimationIds : int32_t { |
There was a problem hiding this comment.
Why plural form? It was "AnimationId" in reversed project
There was a problem hiding this comment.
Conflicts with typedef int AnimationId; from CTaskComplexPlayHandSignalAnim.
There was a problem hiding this comment.
Doh, because this is the same type.
https://github.com/gta-reversed/gta-reversed/blob/master/source/game_sa/Tasks/TaskTypes/TaskComplexPlayHandSignalAnim.h#L31
plugin_sa/game_sa/AnimationEnums.h
Outdated
| }; | ||
|
|
||
| /* | ||
| // [GROUP] i = 0 | GroupName : default | Group ID: 0 | Total Animations: 191 |
There was a problem hiding this comment.
Why there is ton of commented out crap?
| 0x53E83C, H_CALL, | ||
| 0x53EBA2, H_CALL>, PRIORITY_AFTER, ArgPickNone, void()> drawAfterFadeEvent; | ||
|
|
||
| static inline CdeclEvent <AddressList<0x53EBB1, H_CALL>, PRIORITY_AFTER, ArgPickNone, void()> drawFontsEvent; |
There was a problem hiding this comment.
Can you add same events for III and VC?
There was a problem hiding this comment.
Yep, except Mirror stuff cuz there's no mirrors in GTA3/VC.
| #include "meta/meta.CTheScripts.h" | ||
|
|
||
| SUPPORTED_10US extern int* ScriptParams; // 32 | ||
| SUPPORTED_10US extern int (&ScriptParams)[10]; // 32 |
There was a problem hiding this comment.
Comment says 32 and you are making it 10
There was a problem hiding this comment.
Next known address is jumptableLabels at 00A43CF8, which gives 128 bytes, divided by four: 32.
https://github.com/gta-reversed/gta-reversed/blob/master/source/game_sa/Scripts/RunningScript.h#L81
plugin_sa/game_sa/CPostEffects.h
Outdated
| struct imf { | ||
| float screenZ; | ||
| float recipCameraZ; | ||
| RwRaster* RasterDrawBuffer; |
There was a problem hiding this comment.
not aligned as everything else?
| float m_fHeadingChangeRate; | ||
| int field_564; | ||
| int field_568; | ||
| CEntity* m_standingOnEntity; |
| ANIM_ID_CAR_DOORLOCKED_RHS = 390, | ||
|
|
||
| // | ||
| // Add above |
There was a problem hiding this comment.
What does this comment mean?
