Missile Control Game with uLCD
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed wave_player
Fork of missile_command by
missile/missile_private.h@0:532cb55d6136, 2014-10-29 (annotated)
- Committer:
- arvahsu
- Date:
- Wed Oct 29 01:21:34 2014 +0000
- Revision:
- 0:532cb55d6136
- Child:
- 2:eba4ed0263a4
First public version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
arvahsu | 0:532cb55d6136 | 1 | /* Gatech ECE2035 2014 FALL missile command |
arvahsu | 0:532cb55d6136 | 2 | * Copyright (c) 2014 Gatech ECE2035 |
arvahsu | 0:532cb55d6136 | 3 | * |
arvahsu | 0:532cb55d6136 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
arvahsu | 0:532cb55d6136 | 5 | * of this software and associated documentation files (the "Software"), to deal |
arvahsu | 0:532cb55d6136 | 6 | * in the Software without restriction, including without limitation the rights |
arvahsu | 0:532cb55d6136 | 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
arvahsu | 0:532cb55d6136 | 8 | * copies of the Software, and to permit persons to whom the Software is |
arvahsu | 0:532cb55d6136 | 9 | * furnished to do so, subject to the following conditions: |
arvahsu | 0:532cb55d6136 | 10 | * |
arvahsu | 0:532cb55d6136 | 11 | * The above copyright notice and this permission notice shall be included in |
arvahsu | 0:532cb55d6136 | 12 | * all copies or substantial portions of the Software. |
arvahsu | 0:532cb55d6136 | 13 | * |
arvahsu | 0:532cb55d6136 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
arvahsu | 0:532cb55d6136 | 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
arvahsu | 0:532cb55d6136 | 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
arvahsu | 0:532cb55d6136 | 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
arvahsu | 0:532cb55d6136 | 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
arvahsu | 0:532cb55d6136 | 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
arvahsu | 0:532cb55d6136 | 20 | * SOFTWARE. |
arvahsu | 0:532cb55d6136 | 21 | */ |
arvahsu | 0:532cb55d6136 | 22 | #ifndef MISSILE_PRIVATE_H |
arvahsu | 0:532cb55d6136 | 23 | #define MISSILE_PRIVATE_H |
arvahsu | 0:532cb55d6136 | 24 | |
arvahsu | 0:532cb55d6136 | 25 | #include "mbed.h" |
arvahsu | 0:532cb55d6136 | 26 | #include "uLCD_4DGL.h" |
arvahsu | 0:532cb55d6136 | 27 | #include "globals.h" |
arvahsu | 0:532cb55d6136 | 28 | #include "missile_public.h" |
arvahsu | 0:532cb55d6136 | 29 | |
arvahsu | 0:532cb55d6136 | 30 | //==== [private settings] ==== |
arvahsu | 0:532cb55d6136 | 31 | #define MISSILE_COLOR 0xFF0000 |
arvahsu | 0:532cb55d6136 | 32 | |
arvahsu | 0:532cb55d6136 | 33 | //==== [private type] ==== |
arvahsu | 0:532cb55d6136 | 34 | |
arvahsu | 0:532cb55d6136 | 35 | |
arvahsu | 0:532cb55d6136 | 36 | //==== [private function] ==== |
arvahsu | 0:532cb55d6136 | 37 | void missile_create(void); |
arvahsu | 0:532cb55d6136 | 38 | void missile_update_position(void); |
arvahsu | 0:532cb55d6136 | 39 | void missile_draw(MISSILE missile, int color); |
arvahsu | 0:532cb55d6136 | 40 | |
arvahsu | 0:532cb55d6136 | 41 | #endif //MISSILE_PRIVATE_H |
arvahsu | 0:532cb55d6136 | 42 | |
arvahsu | 0:532cb55d6136 | 43 |