Moved some code to shared dir
This commit is contained in:
@ -16,9 +16,9 @@ extern "C" {
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <float.h>
|
||||||
|
|
||||||
typedef bool bool_t;
|
typedef bool bool_t;
|
||||||
typedef float float_t;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// This software is released under the MIT License.
|
// This software is released under the MIT License.
|
||||||
// https://opensource.org/licenses/MIT
|
// https://opensource.org/licenses/MIT
|
||||||
|
|
||||||
#include "../../utils/common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "../../utils/file.hpp"
|
#include "../../utils/file.hpp"
|
||||||
#include "AudioFile.h"
|
#include "AudioFile.h"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* https://opensource.org/licenses/MIT
|
* https://opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../utils/common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "../../utils/file.hpp"
|
#include "../../utils/file.hpp"
|
||||||
#include "../../utils/image.hpp"
|
#include "../../utils/image.hpp"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* https://opensource.org/licenses/MIT
|
* https://opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../utils/common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "../../utils/file.hpp"
|
#include "../../utils/file.hpp"
|
||||||
#include "../../utils/image.hpp"
|
#include "../../utils/image.hpp"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* https://opensource.org/licenses/MIT
|
* https://opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../utils/common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "../../utils/file.hpp"
|
#include "../../utils/file.hpp"
|
||||||
#include "../../utils/image.hpp"
|
#include "../../utils/image.hpp"
|
||||||
#ifndef STB_TRUETYPE_IMPLEMENTATION
|
#ifndef STB_TRUETYPE_IMPLEMENTATION
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* https://opensource.org/licenses/MIT
|
* https://opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../utils/common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "../../utils/file.hpp"
|
#include "../../utils/file.hpp"
|
||||||
#include "../../utils/csv.hpp"
|
#include "../../utils/csv.hpp"
|
||||||
#include "../../utils/xml.hpp"
|
#include "../../utils/xml.hpp"
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2021 Dominic Masters
|
|
||||||
*
|
|
||||||
* This software is released under the MIT License.
|
|
||||||
* https://opensource.org/licenses/MIT
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
#include "dawnsharedlibs.hpp"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdbool.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <float.h>
|
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
#define CSV_ROW_COUNT_MAX 128
|
#define CSV_ROW_COUNT_MAX 128
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
|
|
||||||
#define FILE_CHILD_TYPE_DIR 0x00
|
#define FILE_CHILD_TYPE_DIR 0x00
|
||||||
#define FILE_CHILD_TYPE_FILE 0x01
|
#define FILE_CHILD_TYPE_FILE 0x01
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "file.hpp"
|
#include "file.hpp"
|
||||||
|
|
||||||
#include <stb_image.h>
|
#include <stb_image.h>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
|
|
||||||
static inline void stringRemoveAll(char *string, char remove) {
|
static inline void stringRemoveAll(char *string, char remove) {
|
||||||
size_t len = strlen(string);
|
size_t len = strlen(string);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "common.hpp"
|
#include "dawnsharedlibs.hpp"
|
||||||
#include "file.hpp"
|
#include "file.hpp"
|
||||||
|
|
||||||
#define XML_DOING_NOTHING 0x00
|
#define XML_DOING_NOTHING 0x00
|
||||||
|
Reference in New Issue
Block a user