Compare commits

..

No commits in common. "218074d2047aa8abac44fbb291d0ea6b2e65f32c" and "c127cd2d6170bc28704e178e3f707dc0fb535eaf" have entirely different histories.

7 changed files with 5 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
hanafuda_hachi_hachi_linux
hanafuda_hachi_hachi_mac
hanafuda_hachi_hachi_windows.exe
*.zip

View File

@ -24,9 +24,6 @@ $(GAME)_linux: *.c
$(GAME)_windows.exe: $(DATA_C) *.c
$(WIN_CC) *.c $(WIN_LIB) $(WIN_CFLAGS) -o $(GAME)_windows.exe
$(GAME)_mac: $(DATA_C) *.c
$(CC) *.c $(CFLAGS) -o $(GAME)_mac
clean:
rm -f ./$(GAME)_linux
rm -f ./$(GAME)_linux.zip
@ -39,15 +36,8 @@ $(GAME)_linux.zip: $(GAME)_linux
$(GAME)_windows.zip: $(GAME)_windows.exe
rm -f ./$(GAME)_windows.zip
zip -r $(GAME)_windows.zip $(GAME)_windows.exe COPYING img/*.png img/LICENSE
$(GAME)_mac.zip: $(GAME)_mac
rm -f ./$(GAME)_mac.zip
zip -r $(GAME)_mac.zip $(GAME)_mac COPYING img/*.png img/LICENSE
zip -r $(GAME)_windows.zip $(GAME)_windows.exe img/*.png
butler_upload: $(GAME)_linux.zip $(GAME)_windows.zip
$(BUTLER) push ./$(GAME)_linux.zip bassguitarbill/$(ITCH_CHANNEL):$(ITCH_CHANNEL_LINUX)
$(BUTLER) push ./$(GAME)_windows.zip bassguitarbill/$(ITCH_CHANNEL):$(ITCH_CHANNEL_WINDOWS)
butler_upload_mac: $(GAME)_mac.zip
$(BUTLER) push ./$(GAME)_mac.zip bassguitarbill/$(ITCH_CHANNEL):$(ITCH_CHANNEL_MAC)

Binary file not shown.

BIN
cover.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -14,7 +14,6 @@ typedef struct DialogOption DialogOption;
typedef struct Dialog Dialog;
#include "game.h"
#include "options.h"
#define DIALOG_OUTER_RECTANGLE (Rectangle) { 200, 200, 1000, 500 }
#define DIALOG_INNER_RECTANGLE (Rectangle) { 220, 220, 960, 460 }

View File

@ -56,12 +56,12 @@ void intro_display(Intro *intro) {
alpha = 0;
BeginDrawing();
DrawRectangle(0, 0, GetScreenWidth(), GetScreenHeight(), (Color) { 34, 32, 52, 255 });
DrawRectangle(0, 0, GetRenderWidth(), GetRenderHeight(), (Color) { 34, 32, 52, 255 });
DrawTexture(intro->textures[i],
(GetScreenWidth() / 2) - (intro->textures->width / 2),
(GetScreenHeight() / 2) - (intro->textures->height / 2),
GetRenderWidth() / 2 - intro->textures->width / 2,
GetRenderHeight() / 2 - intro->textures->height / 2,
WHITE);
DrawRectangle(0, 0, GetScreenWidth(), GetScreenHeight(), (Color) { 0, 0, 0, alpha });
DrawRectangle(0, 0, GetRenderWidth(), GetRenderHeight(), (Color) { 0, 0, 0, alpha });
EndDrawing();
}
}

View File

@ -33,6 +33,5 @@ void load_options_from_game(Game *g);
void save_options_to_game(Game *g);
void options_handle_input(Game *g);
void options_draw(Game *g);
void DrawTextCentered(char *text, int center_x, int y, int point, Color color);
#endif