https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 8d66634ee4041e9463cc39c281dcc3960fef37e7 authored by danne on 26 December 2016, 21:02:31 UTC
simplified code(a1ex)
Tip revision: 8d66634
arkanoid.h
#ifndef _arkanoid_h_
#define _arkanoid_h_

typedef struct element
{
    int type;
    
    float x;
    float old_x;
    float y;
    float old_y;
    
    int w;
    int h;
    
    float deltaX;
    float deltaY;
    float speed;
    
    int color;
    
    int fade;
    int fade_delta;
    
    int c1;
    int deleted;
	
    struct element * next;
    struct element * prev;
} element;

#endif
back to top