Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
filesystem: move to libtrx; pull SDL2
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Apr 29, 2024
1 parent bba944c commit 2f8b0c3
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 424 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ add_project_arguments(build_opts, language: 'c')
staticdeps = get_option('staticdeps')

null_dep = dependency('', required: false)
dep_sdl2 = dependency('SDL2', static: staticdeps)
dep_mathlibrary = c_compiler.find_library('m', static: staticdeps, required : false)

# autogenerated files
Expand Down Expand Up @@ -72,7 +73,6 @@ exe_sources = [
dll_sources = [
init,
'src/decomp/decomp.c',
'src/filesystem.c',
'src/game/box.c',
'src/game/camera.c',
'src/game/console.c',
Expand Down Expand Up @@ -107,7 +107,6 @@ dll_sources = [
'src/lib/winmm.c',
'src/main_dll.c',
'src/specific/s_audio_sample.c',
'src/specific/s_filesystem.c',
'src/specific/s_flagged_string.c',
'src/specific/s_input.c',
'src/specific/s_music_mm.c',
Expand All @@ -116,6 +115,7 @@ dll_sources = [
]

dependencies = [
dep_sdl2,
dep_mathlibrary,
]

Expand Down
207 changes: 0 additions & 207 deletions src/filesystem.c

This file was deleted.

57 changes: 0 additions & 57 deletions src/filesystem.h

This file was deleted.

3 changes: 2 additions & 1 deletion src/main_dll.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#include "filesystem.h"
#include "inject_exec.h"
#include "lib/winmm.h"
#include "shared/filesystem.h"
#include "shared/log.h"

#include <SDL2/SDL.h>
#include <stdio.h>
#include <windows.h>

Expand Down
Loading

0 comments on commit 2f8b0c3

Please sign in to comment.