2023-04-17 08:56:38 +00:00
|
|
|
/************************************************************//**
|
|
|
|
*
|
|
|
|
* @file: orca.h
|
|
|
|
* @author: Martin Fouilleul
|
|
|
|
* @date: 13/04/2023
|
|
|
|
*
|
|
|
|
*****************************************************************/
|
|
|
|
#ifndef __ORCA_H_
|
|
|
|
#define __ORCA_H_
|
|
|
|
|
|
|
|
#include"util/typedefs.h"
|
|
|
|
#include"util/lists.h"
|
2023-04-17 16:13:07 +00:00
|
|
|
#include"util/memory.h"
|
2023-04-18 16:06:47 +00:00
|
|
|
#include"util/strings.h"
|
2023-04-18 16:43:06 +00:00
|
|
|
#include"util/utf8.h"
|
2023-06-25 17:57:28 +00:00
|
|
|
#include"platform/platform.h"
|
2023-04-18 16:06:47 +00:00
|
|
|
#include"platform/platform_log.h"
|
2023-04-18 16:36:21 +00:00
|
|
|
#include"platform/platform_assert.h"
|
2023-07-14 04:38:32 +00:00
|
|
|
#include"platform/platform_clock.h"
|
2023-06-09 15:28:33 +00:00
|
|
|
#include"platform/platform_io.h"
|
2023-04-18 16:43:06 +00:00
|
|
|
|
2023-08-03 09:37:32 +00:00
|
|
|
#include"math.h"
|
|
|
|
|
2023-08-09 15:30:35 +00:00
|
|
|
#include"graphics/graphics.h"
|
|
|
|
#include"ui/input_state.h"
|
|
|
|
#include"ui/ui.h"
|
|
|
|
|
2023-08-03 09:37:32 +00:00
|
|
|
#include"gl31.h"
|
|
|
|
|
2023-06-25 17:57:28 +00:00
|
|
|
#if COMPILER_CLANG
|
|
|
|
#define ORCA_EXPORT __attribute__((visibility("default")))
|
|
|
|
#else
|
|
|
|
#error "Orca apps can only be compiled with clang for now"
|
|
|
|
#endif
|
|
|
|
|
2023-08-03 09:37:32 +00:00
|
|
|
|
|
|
|
mg_surface mg_surface_canvas();
|
|
|
|
mg_surface mg_surface_gles();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-17 08:56:38 +00:00
|
|
|
#endif //__ORCA_H_
|