29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
LIB:
|
|
RageFlashUI library
|
|
|
|
LOCATION:
|
|
/rage/contrib/src/vcproj/RageFlashUI
|
|
|
|
DEPENDENCIES:
|
|
atl audioengine audiosoundtypes bank curve data diag file flash grcore input math obsolete paging profile rline rmcore script snu string system text vector xmldata
|
|
|
|
OVERVIEW:
|
|
A UI system built on top of rage/flash. This library is a copy of the MC4 UI code, stripped of explicit MC4 includes, but still containing huge amounts of MC specific code, which will be stripped out as the code is repurposed.
|
|
|
|
Benefit of using rageflashui:
|
|
* ease of sharing flashui based SNU (networking) code between projects
|
|
* contains common rage flash wrappers written by all games
|
|
* integrated string table support for localization
|
|
* xml based screen definition and event system
|
|
* possible to manipulate menu items and flow both from code and from rage script
|
|
|
|
USED BY:
|
|
RDR2
|
|
|
|
NOTES:
|
|
Still very much a work in progress. Here's the simplest version 1.0 implementation:
|
|
fuiManagerSingleton::Instantiate();
|
|
fuiManagerSingleton::GetInstance().Load();
|
|
fuiManagerSingleton::GetInstance().Update(TIME.GetUnwarpedSeconds()); // called every frame
|
|
fuiManagerSingleton::GetInstance().Draw(); // called every frame
|