mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:28:03 +02:00
repairs for recursive source files, move HF meta events to SE
This commit is contained in:
parent
0ddf665b86
commit
d38dd2c53a
10 changed files with 9 additions and 10 deletions
|
@ -12,7 +12,7 @@ macro(SETUP_HIFI_LIBRARY)
|
||||||
project(${TARGET_NAME})
|
project(${TARGET_NAME})
|
||||||
|
|
||||||
# grab the implemenation and header files
|
# grab the implemenation and header files
|
||||||
file(GLOB LIB_SRCS src/*.h src/*.cpp)
|
file(GLOB_RECURSE LIB_SRCS "src/*.h" "src/*.cpp")
|
||||||
set(LIB_SRCS ${LIB_SRCS})
|
set(LIB_SRCS ${LIB_SRCS})
|
||||||
|
|
||||||
# create a library and set the property so it can be referenced later
|
# create a library and set the property so it can be referenced later
|
||||||
|
|
|
@ -44,11 +44,7 @@ configure_file(InterfaceConfig.h.in "${PROJECT_BINARY_DIR}/includes/InterfaceCon
|
||||||
configure_file(InterfaceVersion.h.in "${PROJECT_BINARY_DIR}/includes/InterfaceVersion.h")
|
configure_file(InterfaceVersion.h.in "${PROJECT_BINARY_DIR}/includes/InterfaceVersion.h")
|
||||||
|
|
||||||
# grab the implementation and header files from src dirs
|
# grab the implementation and header files from src dirs
|
||||||
file(GLOB INTERFACE_SRCS src/*.cpp src/*.h)
|
file(GLOB_RECURSE INTERFACE_SRCS "src/*.cpp" "src/*.h")
|
||||||
foreach(SUBDIR avatar devices events renderer ui starfield location scripting voxels particles entities gpu)
|
|
||||||
file(GLOB_RECURSE SUBDIR_SRCS src/${SUBDIR}/*.cpp src/${SUBDIR}/*.h)
|
|
||||||
set(INTERFACE_SRCS ${INTERFACE_SRCS} "${SUBDIR_SRCS}")
|
|
||||||
endforeach(SUBDIR)
|
|
||||||
|
|
||||||
# Add SpeechRecognizer if on OS X, otherwise remove
|
# Add SpeechRecognizer if on OS X, otherwise remove
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
#include <AccountManager.h>
|
#include <AccountManager.h>
|
||||||
#include <AudioInjector.h>
|
#include <AudioInjector.h>
|
||||||
#include <EntityScriptingInterface.h>
|
#include <EntityScriptingInterface.h>
|
||||||
|
#include <HFActionEvent.h>
|
||||||
#include <LocalVoxelsList.h>
|
#include <LocalVoxelsList.h>
|
||||||
#include <Logging.h>
|
#include <Logging.h>
|
||||||
#include <NetworkAccessManager.h>
|
#include <NetworkAccessManager.h>
|
||||||
|
@ -77,8 +78,6 @@
|
||||||
#include "devices/OculusManager.h"
|
#include "devices/OculusManager.h"
|
||||||
#include "devices/TV3DManager.h"
|
#include "devices/TV3DManager.h"
|
||||||
|
|
||||||
#include "events/HFActionEvent.h"
|
|
||||||
|
|
||||||
#include "renderer/ProgramObject.h"
|
#include "renderer/ProgramObject.h"
|
||||||
|
|
||||||
#include "scripting/AccountScriptingInterface.h"
|
#include "scripting/AccountScriptingInterface.h"
|
||||||
|
|
|
@ -46,7 +46,7 @@ private:
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/// handles scripting of input controller commands from JS
|
/// handles scripting of input controller commands from JS
|
||||||
class ControllerScriptingInterface : public AbstractControllerScriptingInterface {
|
class ControllerScriptingInterface : public AbstractControllerScriptingInterface {
|
||||||
|
|
|
@ -88,6 +88,9 @@ public slots:
|
||||||
signals:
|
signals:
|
||||||
void keyPressEvent(const KeyEvent& event);
|
void keyPressEvent(const KeyEvent& event);
|
||||||
void keyReleaseEvent(const KeyEvent& event);
|
void keyReleaseEvent(const KeyEvent& event);
|
||||||
|
//
|
||||||
|
// void actionStartEvent(const HFActionEvent& event);
|
||||||
|
// void actionEndEvent(const HFActionEvent& event);
|
||||||
|
|
||||||
void mouseMoveEvent(const MouseEvent& event, unsigned int deviceID = 0);
|
void mouseMoveEvent(const MouseEvent& event, unsigned int deviceID = 0);
|
||||||
void mousePressEvent(const MouseEvent& event, unsigned int deviceID = 0);
|
void mousePressEvent(const MouseEvent& event, unsigned int deviceID = 0);
|
||||||
|
|
|
@ -36,12 +36,13 @@
|
||||||
#include "ArrayBufferViewClass.h"
|
#include "ArrayBufferViewClass.h"
|
||||||
#include "DataViewClass.h"
|
#include "DataViewClass.h"
|
||||||
#include "MenuItemProperties.h"
|
#include "MenuItemProperties.h"
|
||||||
#include "MIDIEvent.h"
|
|
||||||
#include "LocalVoxels.h"
|
#include "LocalVoxels.h"
|
||||||
#include "ScriptEngine.h"
|
#include "ScriptEngine.h"
|
||||||
#include "TypedArrays.h"
|
#include "TypedArrays.h"
|
||||||
#include "XMLHttpRequestClass.h"
|
#include "XMLHttpRequestClass.h"
|
||||||
|
|
||||||
|
#include "MIDIEvent.h"
|
||||||
|
|
||||||
VoxelsScriptingInterface ScriptEngine::_voxelsScriptingInterface;
|
VoxelsScriptingInterface ScriptEngine::_voxelsScriptingInterface;
|
||||||
EntityScriptingInterface ScriptEngine::_entityScriptingInterface;
|
EntityScriptingInterface ScriptEngine::_entityScriptingInterface;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue