Moved some code to shared dir

This commit is contained in:
2023-02-06 22:22:19 -08:00
parent c70c4fe6c4
commit 192f6b7f59
18 changed files with 211 additions and 227 deletions

View File

@ -16,9 +16,9 @@ extern "C" {
#include <math.h>
#include <stdlib.h>
#include <assert.h>
#include <float.h>
typedef bool bool_t;
typedef float float_t;
}
#include <vector>

View File

@ -3,7 +3,7 @@
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#include "../../utils/common.hpp"
#include "dawnsharedlibs.hpp"
#include "../../utils/file.hpp"
#include "AudioFile.h"

View File

@ -5,7 +5,7 @@
* https://opensource.org/licenses/MIT
*/
#include "../../utils/common.hpp"
#include "dawnsharedlibs.hpp"
#include "../../utils/file.hpp"
#include "../../utils/image.hpp"

View File

@ -5,7 +5,7 @@
* https://opensource.org/licenses/MIT
*/
#include "../../utils/common.hpp"
#include "dawnsharedlibs.hpp"
#include "../../utils/file.hpp"
#include "../../utils/image.hpp"

View File

@ -5,7 +5,7 @@
* https://opensource.org/licenses/MIT
*/
#include "../../utils/common.hpp"
#include "dawnsharedlibs.hpp"
#include "../../utils/file.hpp"
#include "../../utils/image.hpp"
#ifndef STB_TRUETYPE_IMPLEMENTATION

View File

@ -5,7 +5,7 @@
* https://opensource.org/licenses/MIT
*/
#include "../../utils/common.hpp"
#include "dawnsharedlibs.hpp"
#include "../../utils/file.hpp"
#include "../../utils/csv.hpp"
#include "../../utils/xml.hpp"

View File

@ -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>

View File

@ -6,7 +6,7 @@
*/
#pragma once
#include "common.hpp"
#include "dawnsharedlibs.hpp"
#include "string.h"
#define CSV_ROW_COUNT_MAX 128

View File

@ -6,7 +6,7 @@
*/
#pragma once
#include "common.hpp"
#include "dawnsharedlibs.hpp"
#define FILE_CHILD_TYPE_DIR 0x00
#define FILE_CHILD_TYPE_FILE 0x01

View File

@ -6,7 +6,7 @@
*/
#pragma once
#include "common.hpp"
#include "dawnsharedlibs.hpp"
#include "file.hpp"
#include <stb_image.h>

View File

@ -6,7 +6,7 @@
*/
#pragma once
#include "common.hpp"
#include "dawnsharedlibs.hpp"
static inline void stringRemoveAll(char *string, char remove) {
size_t len = strlen(string);

View File

@ -6,7 +6,7 @@
*/
#pragma once
#include "common.hpp"
#include "dawnsharedlibs.hpp"
#include "file.hpp"
#define XML_DOING_NOTHING 0x00