forked from FWGS/xash3d-fwgs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into android-rebase
- Loading branch information
Showing
65 changed files
with
774 additions
and
309 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
custom: https://github.com/FWGS/xash3d-fwgs/blob/master/Documentation/donate.md |
Submodule gl4es
updated
7 files
+1 −1 | src/gl/buffers.c | |
+4 −0 | src/gl/fpe.c | |
+1 −1 | src/gl/fpe.h | |
+2 −2 | src/gl/framebuffers.c | |
+6 −1 | src/gl/shader_hacks.c | |
+2 −0 | src/gl/shaderconv.c | |
+1 −1 | src/glx/glx.c |
Submodule mainui
updated
10 files
+3 −3 | MenuStrings.cpp | |
+1 −1 | miniutl | |
+1 −0 | sdk_includes/engine/menu_int.h | |
+24 −9 | sdk_includes/engine/mobility_int.h | |
+0 −8 | sdk_includes/public/build.h | |
+0 −3 | sdk_includes/public/buildenums.h | |
+0 −180 | unicode_strtools.cpp | |
+0 −46 | unicode_strtools.h | |
+207 −0 | utflib.cpp | |
+40 −0 | utflib.h |
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,25 @@ | ||
# GetNativeObject API | ||
|
||
To be able to use platform-specific features or get optional engine interfaces, we've added a simple call to MobilityAPI on client DLL and PhysicsAPI for server DLL and extended MenuAPI for menu DLL. | ||
|
||
It's defined like this: | ||
|
||
``` | ||
void *pfnGetNativeObject( const char *name ); | ||
``` | ||
|
||
#### Cross-platform objects | ||
|
||
Only these objects are guaranteed to be available on all targets. | ||
|
||
| Object name | Interface | | ||
|-------------|-----------| | ||
| `VFileSystem009` | Provides C++ interface to filesystem, binary-compatible with Valve's VFileSystem009. | | ||
| `XashFileSystemXXX` | Provides C interface to filesystem. This interface is unstable and not recommended for generic use, outside of engine internals. For more info about current version look into `filesystem.h`. | | ||
|
||
#### Android-specific objects | ||
|
||
| Object name | Interface | | ||
|-------------|-----------| | ||
| `JNIEnv` | Allows interfacing with Java Native Interface. | | ||
| `ActivityClass` | Returns JNI object for engine Android activity class. | |
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
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.