mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-24 10:08:52 +00:00
More WIP
This commit is contained in:
parent
ad38c4fbdb
commit
442b91479e
5 changed files with 15 additions and 6 deletions
|
@ -1501,17 +1501,21 @@ void * AppThreadFunction(void * parm ) {
|
|||
//Using a symmetrical render target
|
||||
cylinderSize[0] = cylinderSize[1] = m_height = m_width = (int)(vrapi_GetSystemPropertyInt(&java, VRAPI_SYS_PROP_SUGGESTED_EYE_TEXTURE_WIDTH) * SS_MULTIPLIER);
|
||||
|
||||
//Use floor based tracking space
|
||||
vrapi_SetTrackingSpace(gAppState.Ovr, VRAPI_TRACKING_SPACE_LOCAL_FLOOR);
|
||||
|
||||
gAppState.CpuLevel = CPU_LEVEL;
|
||||
gAppState.GpuLevel = GPU_LEVEL;
|
||||
gAppState.MainThreadTid = gettid();
|
||||
|
||||
ovrEgl_CreateContext(&gAppState.Egl, NULL);
|
||||
|
||||
EglInitExtensions();
|
||||
|
||||
gAppState.CpuLevel = CPU_LEVEL;
|
||||
gAppState.GpuLevel = GPU_LEVEL;
|
||||
gAppState.MainThreadTid = gettid();
|
||||
//First handle any messages in the queue
|
||||
while ( gAppState.Ovr == NULL ) {
|
||||
processMessageQueue();
|
||||
}
|
||||
|
||||
//Use floor based tracking space
|
||||
vrapi_SetTrackingSpace(gAppState.Ovr, VRAPI_TRACKING_SPACE_LOCAL_FLOOR);
|
||||
|
||||
ovrRenderer_Create(m_width, m_height, &gAppState.Renderer, &java);
|
||||
|
||||
|
|
|
@ -2341,6 +2341,7 @@ static void CheckCmdLine()
|
|||
|
||||
void VR_DoomMain(int argc, char** argv)
|
||||
{
|
||||
progdir = "/sdcard/QzDoom/";
|
||||
Args = new FArgs(argc, argv);
|
||||
C_InitConsole (80*8, 25*8, false);
|
||||
D_DoomMain ();
|
||||
|
|
BIN
assets/res/lz_game_support.pk3
Normal file
BIN
assets/res/lz_game_support.pk3
Normal file
Binary file not shown.
BIN
assets/res/lzdoom.pk3
Normal file
BIN
assets/res/lzdoom.pk3
Normal file
Binary file not shown.
|
@ -163,6 +163,10 @@ import static android.system.Os.setenv;
|
|||
{
|
||||
copy_asset("/sdcard/QzDoom", "commandline.txt");
|
||||
|
||||
new File("/sdcard/QzDoom/res").mkdirs();
|
||||
copy_asset("/sdcard/QzDoom", "res/lzdoom.pk3");
|
||||
copy_asset("/sdcard/QzDoom", "res/lz_game_support.pk3");
|
||||
|
||||
//Read these from a file and pass through
|
||||
commandLineParams = new String("doom");
|
||||
|
||||
|
|
Loading…
Reference in a new issue