2023-03-05 15:05:43 +00:00
|
|
|
/************************************************************//**
|
|
|
|
*
|
2023-08-09 11:06:32 +00:00
|
|
|
* @file: orca.h
|
2023-03-05 15:05:43 +00:00
|
|
|
* @author: Martin Fouilleul
|
|
|
|
* @date: 13/02/2021
|
|
|
|
* @revision:
|
|
|
|
*
|
|
|
|
*****************************************************************/
|
2023-08-09 11:06:32 +00:00
|
|
|
#ifndef __ORCA_H_
|
|
|
|
#define __ORCA_H_
|
2023-03-05 15:05:43 +00:00
|
|
|
|
2023-06-16 17:48:33 +00:00
|
|
|
#include"util/typedefs.h"
|
2023-08-14 08:26:11 +00:00
|
|
|
#include"util/macros.h"
|
2023-08-09 11:06:32 +00:00
|
|
|
#include"util/debug.h"
|
2023-06-16 17:48:33 +00:00
|
|
|
#include"util/lists.h"
|
|
|
|
#include"util/memory.h"
|
|
|
|
#include"util/strings.h"
|
|
|
|
#include"util/utf8.h"
|
|
|
|
#include"util/hash.h"
|
2023-08-14 08:26:11 +00:00
|
|
|
#include"util/algebra.h"
|
2023-03-05 15:05:43 +00:00
|
|
|
|
2023-08-09 11:06:32 +00:00
|
|
|
#include"platform/platform.h"
|
2023-06-16 17:48:33 +00:00
|
|
|
#include"platform/platform_clock.h"
|
|
|
|
#include"platform/platform_path.h"
|
|
|
|
#include"platform/platform_io.h"
|
2023-08-09 11:06:32 +00:00
|
|
|
|
2023-08-14 08:26:11 +00:00
|
|
|
#if !defined(OC_PLATFORM_ORCA) || !(OC_PLATFORM_ORCA)
|
2023-08-09 11:06:32 +00:00
|
|
|
#include"platform/platform_thread.h"
|
|
|
|
#endif
|
|
|
|
|
2023-08-14 08:26:11 +00:00
|
|
|
#include"app/app.h"
|
2023-03-05 15:05:43 +00:00
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
2023-08-09 11:06:32 +00:00
|
|
|
// graphics
|
2023-03-05 15:05:43 +00:00
|
|
|
//----------------------------------------------------------------
|
2023-08-09 11:06:32 +00:00
|
|
|
#include"graphics/graphics.h"
|
2023-03-05 15:05:43 +00:00
|
|
|
|
2023-08-14 08:26:11 +00:00
|
|
|
#if OC_PLATFORM_ORCA
|
2023-08-09 11:06:32 +00:00
|
|
|
//TODO: maybe make this conditional
|
|
|
|
#include"graphics/orca_gl31.h"
|
|
|
|
|
2023-08-14 08:26:11 +00:00
|
|
|
oc_surface oc_surface_canvas();
|
|
|
|
oc_surface oc_surface_gles();
|
2023-03-05 15:05:43 +00:00
|
|
|
|
2023-08-09 11:06:32 +00:00
|
|
|
#else
|
2023-08-14 08:26:11 +00:00
|
|
|
#ifdef OC_INCLUDE_GL_API
|
2023-08-09 11:06:32 +00:00
|
|
|
#include"graphics/gl_api.h"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
// UI
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
#include"ui/input_state.h"
|
|
|
|
#include"ui/ui.h"
|
2023-03-05 15:05:43 +00:00
|
|
|
|
2023-08-09 11:06:32 +00:00
|
|
|
#endif //__ORCA_H_
|