DEADSOFTWARE

cp866: move to common/
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 7 Apr 2021 07:58:57 +0000 (10:58 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 7 Apr 2021 07:58:57 +0000 (10:58 +0300)
src/common/cp866.c [moved from src/libs/cp866/cp866.c with 100% similarity]
src/common/cp866.h [moved from src/libs/cp866/cp866.h with 100% similarity]
src/config.c
src/files.c
src/gl/render.c
src/input.c
src/map.c
src/sdl2/main.c
src/soft/render.c

similarity index 100%
rename from src/libs/cp866/cp866.c
rename to src/common/cp866.c
similarity index 100%
rename from src/libs/cp866/cp866.h
rename to src/common/cp866.h
index 6ebb4255fed453583c5d95455e2652316985b4cb..86b6d227c96893cbc7cde91cdc83ca5c31a7f406 100644 (file)
@@ -22,7 +22,8 @@
 #include "system.h"
 #include "files.h"
 #include "input.h"
-#include "cp866.h"
+
+#include "common/cp866.h"
 
 static FILE *f;
 static int ch;
index deac9e3e2898da9726eeb48a4bc84d8d36b59ec8..8189375ee5814b9cba20e68889608cbfdaa85b90 100644 (file)
 #include <assert.h>
 #include "files.h"
 #include "error.h"
-#include "cp866.h"
 
 #include "map.h" // MAP_load
 
 #include "common/streams.h"
 #include "common/files.h"
 #include "common/wadres.h"
+#include "common/cp866.h"
 
 int d_start, d_end;
 static int m_start, m_end;
index d0aab9fac9cc1386fa741f932367de0a703b72c3..db23448f445dc9f999a4a87b710a6dbf5c9e4fd3 100644 (file)
@@ -37,7 +37,7 @@
 #include "view.h"
 #include "switch.h" // sw_secrets
 
-#include "cp866.h"
+#include "common/cp866.h"
 #include "common/endianness.h"
 
 #ifdef __APPLE__
index 0a74043ab2b9c681bf832db30e8bfef5c1521fe7..d76f6e51c63b7344d57ea2c27b3e7ae3af7a3dcb 100644 (file)
@@ -14,7 +14,8 @@
  */
 
 #include "input.h"
-#include "cp866.h"
+#include "common/cp866.h"
+
 #include <assert.h>
 
 static char keystate[KEY__LAST + 1];
index a5b5bd8a261d2ca75ad00e2cf377a06bdc8cea55..8f1fb68328006b9178b18ca1b9efcc0b794bec6d 100644 (file)
--- a/src/map.c
+++ b/src/map.c
 #include <string.h>
 #include <assert.h>
 #include "error.h"
-#include "cp866.h"
 
 #include "common/streams.h"
 #include "common/files.h"
+#include "common/cp866.h"
 
 enum {
   MB_COMMENT = -1, MB_END = 0,
index 1c20e9ea746035dd0a8a49bec7beed072f86b99b..9533040a3454bf9ae127a4651619ece810a5f1a0 100644 (file)
@@ -26,8 +26,6 @@
 #include "system.h"
 #include "input.h"
 
-#include "cp866.h"
-
 #include "player.h" // pl1 pl2
 #include "menu.h" // G_keyf
 #include "error.h" // logo
@@ -42,6 +40,8 @@
 #include "music.h" // S_initmusic S_updatemusic S_donemusic
 #include "render.h" // R_init R_draw R_done
 
+#include "common/cp866.h"
+
 #define TITLE_STR "Doom 2D (SDL2)"
 
 static Uint32 ticks;
index c1b54e504265c12e042bdf8366f24676899e82e8..6c804a9a0d5f1832085ba0c9e68119f5cd5f40f3 100644 (file)
@@ -41,7 +41,7 @@
 #include "music.h"
 #include "system.h"
 
-#include "cp866.h"
+#include "common/cp866.h"
 
 // game
 static vgaimg *scrnh[3]; // TITLEPIC INTERPIC ENDPIC