Synchro between computers. WIP

This commit is contained in:
Darks 2020-06-01 19:03:13 +02:00
parent e57bcaf56c
commit 41d4e29c49
Signed by: Darks
GPG Key ID: F61F10FA138E797C
6 changed files with 30 additions and 5 deletions

View File

@ -150,7 +150,7 @@ build-fx/assets/fonts/%.o: assets-fx/fonts/%
build-cg/assets/fonts/%.o: assets-cg/fonts/%
@ mkdir -p $(dir $@)
fxconv -f $< -o $@ $(FXCONVCG) name:font_$(basename $*) $(FONT.$*) \
charset:print grid.size:14x14 grid.padding:0 propotional:true profile:p4
charset:print grid.size:14x14 grid.padding:0 proportional:true profile:p4
# Binaries
build-fx/assets/bin/%.o: assets-fx/bin/%

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

16
include/config.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef _CONFIG_H
#define _CONFIG_H
enum {
WITCH_1 = 0,
WITCH_2,
WITCH_3,
WITCH_4,
WITCH_5,
WITCH_6,
WITCH_7,
WITCH_8,
N_WITCHES
};
#endif

9
include/engine.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef _ENGINE_H
#define _ENGINE_H
struct player_s {
char witch_id;
};
#endif

3
src/engine.c Normal file
View File

@ -0,0 +1,3 @@
#include <gint/display.h>
#include <gint/keyboard.h>
#include <libprof.h>

View File

@ -29,12 +29,9 @@ void draw() {
}
int main(void)
{
extern font_t font_touhou;
{
prof_init(1, 0);
// dfont(&font_touhou);
for(int i = 0; i < 100; i++) {
draw();
}