Initializes the BGI (BambooGizmoInterface) GUI system.
Takes BGIFontName (String) and BGIFontSize (Int).
Returns 1 on success, 0 if font creation fails.
BGI GUI
Parameters & Returns
Parameters
BGIFontNameString
BGIFontSizeInt
Returns
Int
Quick Summary
Initializes the BGI (BambooGizmoInterface) GUI system.
Takes BGIFontName (String) and BGIFontSize (Int).
Returns 1 on success, 0 if font creation fails.
Technical Exegesis...
Initializes the BambooGizmoInterface GUI library and all required subsystems. Sets up WinSock for networking (BBR_Network_Initialize), SoLoud audio engine (BBR_Audio_Initialize), COM for WebBrowser support (CoInitializeEx with COINIT_APARTMENTTHREADED), ATL module for ActiveX control hosting (AtlAxWinInit), Windows Common Controls including ICC_WIN95_CLASSES | ICC_LINK_CLASS | ICC_BAR_CLASSES | ICC_DATE_CLASSES, and GDI+ for image loading (PNG, JPG, GIF support via GdiplusStartup).
Initializes the BambooGizmoInterface GUI library and all required subsystems. Sets up WinSock for networking (BBR_Network_Initialize), SoLoud audio engine (BBR_Audio_Initialize), COM for WebBrowser support (CoInitializeEx with COINIT_APARTMENTTHREADED), ATL module for ActiveX control hosting (AtlAxWinInit), Windows Common Controls including ICC_WIN95_CLASSES | ICC_LINK_CLASS | ICC_BAR_CLASSES | ICC_DATE_CLASSES, and GDI+ for image loading (PNG, JPG, GIF support via GdiplusStartup). Creates the default GUI font using CreateFont with the specified font name and size. Detaches from console with FreeConsole to prevent hanging when launched from editor. Returns 1 on success, 0 if font creation fails.
Must be called before using any BGI functions. Initializes the same subsystems as BBR_Graphics but for GUI-only applications without DirectX 12. The font handle is stored globally and used for all GUI controls. Font parameters: BGIFontName (e.g., "Arial", "Segoe UI"), BGIFontSize (height in logical units). Call bgiCleanup when done to release all resources.