rename all files
This commit is contained in:
parent
1e96858588
commit
17fcd8d993
16 changed files with 23 additions and 23 deletions
10
Makefile
10
Makefile
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 },
|
|
@ -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 */
|
|
@ -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",
|
|
@ -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 */
|
|
@ -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
|
||||||
|
|
|
@ -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 )
|
|
@ -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 )
|
Loading…
Reference in a new issue