forked from gta-reversed/gta-reversed-modern
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most of
InteriorManager_c
(gta-reversed#589)
* Remove dead code * Fix `CPopCycle::PickPedMIToStreamInForCurrentZone` + Add some comments in Streaming * dllmain: Use VERIFY * Add `FurnitureEntity_c` * Install furniture stuff hooks * TList Iterator + Support for range-loop on TList * Rename some Interior_c members * `InteriorGroup_c`: Add `GetInteriors` * `GetBoundingBox` * `ActivatePeds` * `SetEntryExitPtr` * `GetPedsInteriorGroup` * Fix TList iterator constness * Fix List_c iterator not being std compatible * Most of `InteriorManager_c` * Fix build --------- Co-authored-by: yukani <yukani@zohomail.eu>
- Loading branch information
Showing
17 changed files
with
381 additions
and
180 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 |
---|---|---|
|
@@ -1228,6 +1228,7 @@ void InjectHooksMain() { | |
Events(); | ||
Fx(); | ||
Vehicle(); | ||
Interior(); | ||
Scripts(); | ||
} | ||
|
||
|
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
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
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
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,11 @@ | ||
#pragma once | ||
|
||
#include <Base.h> | ||
#include <ListItem_c.h> | ||
|
||
class CEntity; | ||
|
||
struct FurnitureEntity_c : ListItem_c<FurnitureEntity_c> { | ||
CEntity* m_entity; | ||
uint16 m_tileX, m_tileY; | ||
}; |
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
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
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
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
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.