Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Feb 18, 2025
1 parent efe5373 commit 5aba6a1
Show file tree
Hide file tree
Showing 52 changed files with 672 additions and 1,147 deletions.
4 changes: 0 additions & 4 deletions armorcore/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ let project = new Project(flags.name);
let g5 = false;

project.add_cfiles("sources/kinc/*");
project.add_cfiles("sources/kinc/threads/*");
project.add_include_dir("sources");

function add_backend(name) {
Expand Down Expand Up @@ -267,9 +266,6 @@ if (flags.with_audio) {
project.add_define("KINC_A2");
project.add_define("WITH_AUDIO");
project.add_define("arm_audio");

project.add_cfiles("sources/kinc/audio1/*");
project.add_cfiles("sources/kinc/audio2/*");
project.add_cfiles("sources/libs/stb_vorbis.c");
}

Expand Down
2 changes: 1 addition & 1 deletion armorcore/sources/backends/android/kinc/backend/system.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <kinc/surface.h>
#include <kinc/log.h>
#include <kinc/system.h>
#include <kinc/threads/mutex.h>
#include <kinc/mutex.h>
#include <kinc/video.h>
#include <kinc/window.h>
#include <unistd.h>
Expand Down
4 changes: 2 additions & 2 deletions armorcore/sources/backends/apple/kinc/backend/thread.m.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <stdio.h>
#include <string.h>
#include <Foundation/Foundation.h>
#include <kinc/threads/mutex.h>
#include <kinc/threads/thread.h>
#include <kinc/mutex.h>
#include <kinc/thread.h>
#include <pthread.h>
#include <stdio.h>
#include <wchar.h>
Expand Down
25 changes: 0 additions & 25 deletions armorcore/sources/backends/microsoft/kinc/backend/event.c.h

This file was deleted.

5 changes: 0 additions & 5 deletions armorcore/sources/backends/microsoft/kinc/backend/event.h

This file was deleted.

25 changes: 0 additions & 25 deletions armorcore/sources/backends/microsoft/kinc/backend/fiber.c.h

This file was deleted.

7 changes: 0 additions & 7 deletions armorcore/sources/backends/microsoft/kinc/backend/fiber.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,5 @@
#include <stdio.h>

#include "system_microsoft.c.h"
#include "event.c.h"
#include "fiber.c.h"
#include "mutex.c.h"
#include "semaphore.c.h"
#include "thread.c.h"
#include "threadlocal.c.h"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <kinc/threads/mutex.h>
#include <kinc/mutex.h>

void kinc_mutex_init(kinc_mutex_t *mutex) {
assert(sizeof(RTL_CRITICAL_SECTION) == sizeof(kinc_microsoft_critical_section_t));
Expand Down
22 changes: 0 additions & 22 deletions armorcore/sources/backends/microsoft/kinc/backend/semaphore.c.h

This file was deleted.

5 changes: 0 additions & 5 deletions armorcore/sources/backends/microsoft/kinc/backend/semaphore.h

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <kinc/threads/thread.h>
#include <kinc/thread.h>

void kinc_threads_init() {}

Expand Down
18 changes: 0 additions & 18 deletions armorcore/sources/backends/microsoft/kinc/backend/threadlocal.c.h

This file was deleted.

This file was deleted.

77 changes: 0 additions & 77 deletions armorcore/sources/backends/posix/kinc/backend/event.c.h

This file was deleted.

10 changes: 0 additions & 10 deletions armorcore/sources/backends/posix/kinc/backend/event.h

This file was deleted.

2 changes: 1 addition & 1 deletion armorcore/sources/backends/posix/kinc/backend/mutex.c.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <kinc/threads/mutex.h>
#include <kinc/mutex.h>
#include <assert.h>

void kinc_mutex_init(kinc_mutex_t *mutex) {
Expand Down
3 changes: 0 additions & 3 deletions armorcore/sources/backends/posix/kinc/backend/posixunit.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#include "event.c.h"
#include "mutex.c.h"
#include "semaphore.c.h"
#include "thread.c.h"
#include "threadlocal.c.h"
56 changes: 0 additions & 56 deletions armorcore/sources/backends/posix/kinc/backend/semaphore.c.h

This file was deleted.

15 changes: 0 additions & 15 deletions armorcore/sources/backends/posix/kinc/backend/semaphore.h

This file was deleted.

2 changes: 1 addition & 1 deletion armorcore/sources/backends/posix/kinc/backend/thread.c.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <kinc/threads/thread.h>
#include <kinc/thread.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
Expand Down
17 changes: 0 additions & 17 deletions armorcore/sources/backends/posix/kinc/backend/threadlocal.c.h

This file was deleted.

7 changes: 0 additions & 7 deletions armorcore/sources/backends/posix/kinc/backend/threadlocal.h

This file was deleted.

Loading

0 comments on commit 5aba6a1

Please sign in to comment.