rename all files

This commit is contained in:
Gwenhael Le Moine 2024-09-24 10:46:08 +02:00
parent 1e96858588
commit 17fcd8d993
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
16 changed files with 23 additions and 23 deletions

View file

@ -9,12 +9,12 @@ PKG_CONFIG ?= pkg-config
MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES) MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES)
DOTOS = src/config.o \ DOTOS = src/ui48_config.o \
src/emulator.o \ src/emulator.o \
src/ui_sdl2.o \ src/ui48_sdl2.o \
src/ui_ncurses.o \ src/ui48_ncurses.o \
src/ui.o \ src/ui48_common.o \
src/main.o src/ui48_main.o
cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o /dev/null > /dev/null 2>&1; \ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o /dev/null > /dev/null 2>&1; \
then echo $(1); fi) then echo $(1); fi)

View file

@ -1,4 +1,4 @@
#include "config.h" #include "ui48_config.h"
#include "emulator.h" #include "emulator.h"
static config_t config; static config_t config;

View file

@ -3,7 +3,7 @@
#include <stdbool.h> #include <stdbool.h>
#include "config.h" #include "ui48_config.h"
// Keys // Keys
#define HPKEY_A 0 #define HPKEY_A 0

View file

@ -1,9 +1,9 @@
#include <stdlib.h> #include <stdlib.h>
#include "ui.h" #include "ui48_common.h"
#include "ui_inner.h" #include "ui48_inner.h"
#include "ui_sdl2.h" #include "ui48_sdl2.h"
#include "ui_ncurses.h" #include "ui48_ncurses.h"
letter_t small_font[ 128 ] = { letter_t small_font[ 128 ] = {
{0, 0, 0 }, {0, 0, 0 },

View file

@ -1,7 +1,7 @@
#ifndef _UI_H #ifndef _UI_H
#define _UI_H 1 #define _UI_H 1
#include "config.h" #include "ui48_config.h"
/*************************************************/ /*************************************************/
/* public API: if it's there it's used elsewhere */ /* public API: if it's there it's used elsewhere */

View file

@ -10,7 +10,7 @@
#include <getopt.h> #include <getopt.h>
#include "config.h" #include "ui48_config.h"
static config_t config = { static config_t config = {
.progname = ( char* )"ui48", .progname = ( char* )"ui48",

View file

@ -3,9 +3,9 @@
#include "emulator.h" #include "emulator.h"
#include "ui_bitmaps_misc.h" #include "ui48_bitmaps_misc.h"
#include "ui_bitmaps_small_font.h" #include "ui48_bitmaps_small_font.h"
#include "ui_bitmaps_big_font.h" #include "ui48_bitmaps_big_font.h"
// Colors // Colors
/* SX GX */ /* SX GX */

View file

@ -6,7 +6,7 @@
#include <sys/time.h> #include <sys/time.h>
#include "emulator.h" #include "emulator.h"
#include "ui.h" #include "ui48_common.h"
#define SPEED_HZ_UI 64 #define SPEED_HZ_UI 64

View file

@ -14,10 +14,10 @@
#include <curses.h> #include <curses.h>
#include "config.h" #include "ui48_config.h"
#include "emulator.h" #include "emulator.h"
#include "ui.h" #include "ui48_common.h"
#include "ui_inner.h" #include "ui48_inner.h"
#define COLORS ( config.model == MODEL_48GX ? colors_gx : colors_sx ) #define COLORS ( config.model == MODEL_48GX ? colors_gx : colors_sx )
#define BUTTONS ( config.model == MODEL_48GX ? buttons_gx : buttons_sx ) #define BUTTONS ( config.model == MODEL_48GX ? buttons_gx : buttons_sx )

View file

@ -2,10 +2,10 @@
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
#include "config.h" #include "ui48_config.h"
#include "emulator.h" #include "emulator.h"
#include "ui.h" #include "ui48_common.h"
#include "ui_inner.h" #include "ui48_inner.h"
#define COLORS ( config.model == MODEL_48GX ? colors_gx : colors_sx ) #define COLORS ( config.model == MODEL_48GX ? colors_gx : colors_sx )
#define BUTTONS ( config.model == MODEL_48GX ? buttons_gx : buttons_sx ) #define BUTTONS ( config.model == MODEL_48GX ? buttons_gx : buttons_sx )