A note hitting game for the mbed LPC 1768. User uses a joystick to hit notes as they come down the screen in 3 different lanes.
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed-rtos mbed wave_player
note_private.h@1:94b1ec213686, 2016-03-17 (annotated)
- Committer:
- jmpin
- Date:
- Thu Mar 17 21:12:59 2016 +0000
- Revision:
- 1:94b1ec213686
Game is pretty much finished, minus the sound coming from .wav files from the SD card
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jmpin | 1:94b1ec213686 | 1 | /* Gatech ECE2035 2014 FALL missile command |
jmpin | 1:94b1ec213686 | 2 | * Copyright (c) 2014 Gatech ECE2035 |
jmpin | 1:94b1ec213686 | 3 | * |
jmpin | 1:94b1ec213686 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
jmpin | 1:94b1ec213686 | 5 | * of this software and associated documentation files (the "Software"), to deal |
jmpin | 1:94b1ec213686 | 6 | * in the Software without restriction, including without limitation the rights |
jmpin | 1:94b1ec213686 | 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
jmpin | 1:94b1ec213686 | 8 | * copies of the Software, and to permit persons to whom the Software is |
jmpin | 1:94b1ec213686 | 9 | * furnished to do so, subject to the following conditions: |
jmpin | 1:94b1ec213686 | 10 | * |
jmpin | 1:94b1ec213686 | 11 | * The above copyright notice and this permission notice shall be included in |
jmpin | 1:94b1ec213686 | 12 | * all copies or substantial portions of the Software. |
jmpin | 1:94b1ec213686 | 13 | * |
jmpin | 1:94b1ec213686 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
jmpin | 1:94b1ec213686 | 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
jmpin | 1:94b1ec213686 | 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
jmpin | 1:94b1ec213686 | 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
jmpin | 1:94b1ec213686 | 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
jmpin | 1:94b1ec213686 | 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
jmpin | 1:94b1ec213686 | 20 | * SOFTWARE. |
jmpin | 1:94b1ec213686 | 21 | */ |
jmpin | 1:94b1ec213686 | 22 | #ifndef NOTE_PRIVATE_H |
jmpin | 1:94b1ec213686 | 23 | #define NOTE_PRIVATE_H |
jmpin | 1:94b1ec213686 | 24 | |
jmpin | 1:94b1ec213686 | 25 | #include "mbed.h" |
jmpin | 1:94b1ec213686 | 26 | #include "uLCD_4DGL.h" |
jmpin | 1:94b1ec213686 | 27 | #include "note_public.h" |
jmpin | 1:94b1ec213686 | 28 | extern uLCD_4DGL uLCD; |
jmpin | 1:94b1ec213686 | 29 | |
jmpin | 1:94b1ec213686 | 30 | //==== [private settings] ==== |
jmpin | 1:94b1ec213686 | 31 | |
jmpin | 1:94b1ec213686 | 32 | //==== [private type] ==== |
jmpin | 1:94b1ec213686 | 33 | |
jmpin | 1:94b1ec213686 | 34 | |
jmpin | 1:94b1ec213686 | 35 | //==== [private function] ==== |
jmpin | 1:94b1ec213686 | 36 | void note_create(void); |
jmpin | 1:94b1ec213686 | 37 | void note_draw(NOTE note, int color); |
jmpin | 1:94b1ec213686 | 38 | |
jmpin | 1:94b1ec213686 | 39 | #endif //NOTE_PRIVATE_H |
jmpin | 1:94b1ec213686 | 40 | |
jmpin | 1:94b1ec213686 | 41 |