forked from ixray-team/ixray-1.6-stcop
-
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.
Add different script export container for xrFS_Factory
- Loading branch information
1 parent
d6885c9
commit 9967720
Showing
17 changed files
with
110 additions
and
26 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
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,8 @@ | ||
#include "stdafx.h" | ||
#include "xrServer_ScriptContainer.h" | ||
|
||
/*xr_hash_map<script_exporter_key_base, script_exporter_data*>& get_script_export_container_xrSE_Factory() | ||
{ | ||
static xr_hash_map<script_exporter_key_base, script_exporter_data*> script_exporter_container; | ||
return script_exporter_container; | ||
}*/ |
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,7 @@ | ||
#pragma once | ||
|
||
/*#define SCRIPT_EXPORT_CONTAINER get_script_export_container_xrSE_Factory() | ||
#include "../xrScripts/script_export_space.h" | ||
xr_hash_map<script_exporter_key_base, script_exporter_data*>& get_script_export_container_xrSE_Factory();*/ |
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,8 @@ | ||
#include "stdafx.h" | ||
#include "xrGame_Script_container.h" | ||
|
||
/*xr_hash_map<script_exporter_key_base, script_exporter_data*>& get_script_export_container_xrGame() | ||
{ | ||
static xr_hash_map<script_exporter_key_base, script_exporter_data*> script_exporter_container; | ||
return script_exporter_container; | ||
}*/ |
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,7 @@ | ||
#pragma once | ||
|
||
/*#define SCRIPT_EXPORT_CONTAINER get_script_export_container_xrGame() | ||
#include "../xrScripts/script_export_space.h" | ||
xr_hash_map<script_exporter_key_base, script_exporter_data*>& get_script_export_container_xrGame();*/ |
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 |
---|---|---|
@@ -1,8 +1,20 @@ | ||
#include "stdafx.h" | ||
#include "script_export_space.h" | ||
|
||
SCRIPTS_API xr_hash_map<script_exporter_key_base, script_exporter_data*>& get_script_export_container() | ||
SCRIPTS_API script_export_hashmap& get_script_export_container() | ||
{ | ||
static xr_hash_map<script_exporter_key_base, script_exporter_data*> script_exporter_container; | ||
static script_export_hashmap script_exporter_container; | ||
return script_exporter_container; | ||
} | ||
|
||
SCRIPTS_API script_export_hashmap& get_script_export_container_xrSE_Factory() | ||
{ | ||
static script_export_hashmap script_exporter_container; | ||
return script_exporter_container; | ||
} | ||
|
||
SCRIPTS_API script_export_hashmap& get_script_export_container_xrGame() | ||
{ | ||
static script_export_hashmap script_exporter_container; | ||
return script_exporter_container; | ||
} |
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
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