Operating System
Macros | Functions | Variables
stone.c File Reference
#include "../../include/utilities.h"
#include "stone.h"
#include "../../include/stdio.h"

Go to the source code of this file.

Macros

#define DELAY   (5 * 1e5)
 

Functions

 __asm__ ("jmpl $0, $stone\)
 
int getKbHit ()
 
void checkBound ()
 
int stone ()
 

Variables

int x
 
int y
 
int deltax
 
int deltay
 

Macro Definition Documentation

◆ DELAY

#define DELAY   (5 * 1e5)

Definition at line 6 of file stone.c.

Function Documentation

◆ __asm__()

__asm__ ( "jmpl  $0,
  $stone\ 
)

◆ checkBound()

void checkBound ( )

Definition at line 48 of file stone.c.

◆ getKbHit()

int getKbHit ( )

Definition at line 40 of file stone.c.

◆ stone()

int stone ( )

Definition at line 14 of file stone.c.

Variable Documentation

◆ deltax

int deltax

Definition at line 12 of file stone.c.

◆ deltay

int deltay

Definition at line 13 of file stone.c.

◆ x

int x

Definition at line 10 of file stone.c.

◆ y

int y

Definition at line 11 of file stone.c.