Skip to content

Commit

Permalink
start함수 수정 커밋
Browse files Browse the repository at this point in the history
  • Loading branch information
컴터박 authored and 컴터박 committed Aug 3, 2018
1 parent 9f69243 commit 0369a45
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion MotherFuckingCodeProject/fucking_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ int prn_xy(char *print, int x, int y, int txtcolor, int bgcolor, bool enter);
void init();
void hidecursor();

void intro(void);
void load(void);

void drawPlayer(void);
void drawBullet(int i);
void title(void);
void start(void);


void control(void);
Expand Down
13 changes: 10 additions & 3 deletions MotherFuckingCodeProject/intro.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "fucking_header.h"

void intro() {
void load() {
//80x30
gotoxy(0, 0);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0 | (7 << 4)); //회색으로 변경
Expand Down Expand Up @@ -55,11 +55,18 @@ void intro() {
}

SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7 | (0 << 4));
title();

}

void title() {

//implement here

}

void start() {
load();
title();
//implement here
intro();

}
3 changes: 2 additions & 1 deletion MotherFuckingCodeProject/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ void init() {

int main() {
init();
title();

start();
control();
return DEF_RET_VAL;
}

0 comments on commit 0369a45

Please sign in to comment.