Add support for gamedata lookups from soundemittersystem library (#1787)
				
					
				
			* Add `soundemittersystem` library to game config signatures * Remove `GAMEBIN` by `soundemittersystem` module load
This commit is contained in:
		
							parent
							
								
									da3e868df5
								
							
						
					
					
						commit
						3100e23b87
					
				| @ -89,6 +89,7 @@ public: | ||||
| 	void *          serverFactory; | ||||
| 	void *          engineFactory; | ||||
| 	void *          matchmakingDSFactory; | ||||
| 	void *          soundemittersystemFactory; | ||||
| 	SMGlobalClass *	listeners; | ||||
| 
 | ||||
| 	// ConVar functions.
 | ||||
|  | ||||
| @ -610,6 +610,8 @@ SMCResult CGameConfig::ReadSMC_LeavingSection(const SMCStates *states) | ||||
| 				addrInBase = bridge->engineFactory; | ||||
| 			} else if (strcmp(s_TempSig.library, "matchmaking_ds") == 0) { | ||||
| 				addrInBase = bridge->matchmakingDSFactory; | ||||
| 			} else if (strcmp(s_TempSig.library, "soundemittersystem") == 0) { | ||||
| 				addrInBase = bridge->soundemittersystemFactory; | ||||
| 			} | ||||
| 			void *final_addr = NULL; | ||||
| 			if (addrInBase == NULL) | ||||
|  | ||||
| @ -633,6 +633,10 @@ void CoreProviderImpl::InitializeBridge() | ||||
| 		this->matchmakingDSFactory = (void*)Sys_GetFactory(mmlib); | ||||
| 	} | ||||
| 
 | ||||
| 	if (auto mmlib = ::filesystem->LoadModule("soundemittersystem" SOURCE_BIN_SUFFIX)) { | ||||
| 		this->soundemittersystemFactory = (void*)Sys_GetFactory(mmlib); | ||||
| 	} | ||||
| 
 | ||||
| 	logic_init_(this, &logicore); | ||||
| 
 | ||||
| 	// Join logic's SMGlobalClass instances.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user