Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MotionSensor
Title/Title.h@49:3f83ed62d123, 2019-05-09 (annotated)
- Committer:
- el17sm
- Date:
- Thu May 09 04:24:30 2019 +0000
- Revision:
- 49:3f83ed62d123
- Parent:
- 48:f7d9ae3e554d
- Child:
- 57:1c12361b6e3d
test doxygen
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el17sm | 32:fe6359ef9916 | 1 | #ifndef TITLE_H |
| el17sm | 32:fe6359ef9916 | 2 | #define TITLE_H |
| el17sm | 32:fe6359ef9916 | 3 | |
| el17sm | 32:fe6359ef9916 | 4 | #include "Player.h" |
| el17sm | 32:fe6359ef9916 | 5 | #include "N5110.h" |
| el17sm | 32:fe6359ef9916 | 6 | #include "Gamepad.h" |
| el17sm | 32:fe6359ef9916 | 7 | |
| el17sm | 32:fe6359ef9916 | 8 | class Title |
| el17sm | 32:fe6359ef9916 | 9 | { |
| el17sm | 32:fe6359ef9916 | 10 | private: |
| el17sm | 32:fe6359ef9916 | 11 | // Member Variables |
| el17sm | 32:fe6359ef9916 | 12 | int title_count; |
| el17sm | 32:fe6359ef9916 | 13 | int cursor_timer; |
| el17sm | 32:fe6359ef9916 | 14 | int title_option; |
| el17sm | 32:fe6359ef9916 | 15 | |
| el17sm | 49:3f83ed62d123 | 16 | // Methods |
| el17sm | 32:fe6359ef9916 | 17 | void draw_title_screen(N5110 &lcd); |
| el17sm | 32:fe6359ef9916 | 18 | void title_options_joystick(Gamepad &gamepad); |
| el17sm | 32:fe6359ef9916 | 19 | |
| el17sm | 32:fe6359ef9916 | 20 | void title_option_option(N5110 &lcd, Gamepad &gamepad, Player &player, float &global_contrast); |
| el17sm | 32:fe6359ef9916 | 21 | void title_option_credit(N5110 &lcd, Gamepad &gamepad); |
| el17sm | 47:6e31b195ce3c | 22 | void title_option_tutorial(N5110 &lcd, Gamepad &gamepad); |
| el17sm | 32:fe6359ef9916 | 23 | |
| el17sm | 48:f7d9ae3e554d | 24 | void print_tutorial_page_0(N5110 &lcd); |
| el17sm | 48:f7d9ae3e554d | 25 | void print_tutorial_page_1(N5110 &lcd); |
| el17sm | 48:f7d9ae3e554d | 26 | void print_tutorial_page_2(N5110 &lcd); |
| el17sm | 48:f7d9ae3e554d | 27 | |
| el17sm | 32:fe6359ef9916 | 28 | public: |
| el17sm | 32:fe6359ef9916 | 29 | // Constructor |
| el17sm | 32:fe6359ef9916 | 30 | Title(); |
| el17sm | 32:fe6359ef9916 | 31 | |
| el17sm | 32:fe6359ef9916 | 32 | // Accessor |
| el17sm | 32:fe6359ef9916 | 33 | int get_seed(); |
| el17sm | 32:fe6359ef9916 | 34 | |
| el17sm | 32:fe6359ef9916 | 35 | // Functions |
| el17sm | 32:fe6359ef9916 | 36 | void main(N5110 &lcd, Gamepad &gamepad, float &global_contrast); |
| el17sm | 32:fe6359ef9916 | 37 | }; |
| el17sm | 32:fe6359ef9916 | 38 | |
| el17sm | 32:fe6359ef9916 | 39 | #endif |