diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-05-24 07:15:38 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-05-24 07:15:38 +0200 |
| commit | 8d2e08d7448e6c3514a747c0dff5db5f27eb8788 (patch) | |
| tree | f34b60609315c450ccc5a4f3a65fb29877386ad4 /Source/System.h | |
| parent | aefe5f8c1c45f4cdeafe08113953a9f03df3c644 (diff) | |
* Aircraft state was not being transferred ciclically from Game to Aircraft module.
* Improved detection of target reaching for Aircraft.c.
* Cursor is now displayed correctly on both 1-player and 2-player mode.
* Fixed behaviour for locking/unlocking aircraft.
* Fixed menus for 2-player mode.
* Minor fixes and improvements.
Diffstat (limited to 'Source/System.h')
| -rw-r--r-- | Source/System.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/System.h b/Source/System.h index 61ce6e2..dda7c01 100644 --- a/Source/System.h +++ b/Source/System.h @@ -37,13 +37,13 @@ bool SystemRefreshNeeded(void); bool SystemLoadFile(char *fname); // Loads a file into desired buffer -bool SystemLoadFileToBuffer(char * fname, uint8_t * buffer, uint32_t szBuffer); +bool SystemLoadFileToBuffer(char * fname, uint8_t* buffer, uint32_t szBuffer); // Clears VSync flag after each frame void SystemDisableScreenRefresh(void); // Returns file buffer address -uint8_t * SystemGetBufferAddress(void); +uint8_t* SystemGetBufferAddress(void); // Tells whether srand() has been called using a pseudo-random value bool SystemIsRandSeedSet(void); @@ -82,10 +82,10 @@ uint64_t SystemGetGlobalTimer(void); volatile bool SystemIsBusy(void); // Returns whether indicated value is contained inside buffer -bool SystemContains_u8(uint8_t value, uint8_t * buffer, size_t sz); +bool SystemContains_u8(uint8_t value, uint8_t* buffer, size_t sz); // Overload for uint16_t -bool SystemContains_u16(uint16_t value, uint16_t * buffer, size_t sz); +bool SystemContains_u16(uint16_t value, uint16_t* buffer, size_t sz); // Creates a timer instance wiht a determined value and associates it to a callback // Once time expires, callback is automatically called right after GfxDrawScene(). @@ -119,10 +119,10 @@ void SystemCheckStack(void); int32_t SystemIndexOfStringArray(char * str, char ** array); // Function overload for uint16_t data type. -int32_t SystemIndexOf_U16(uint16_t value, uint16_t * array, uint32_t sz); +int32_t SystemIndexOf_U16(uint16_t value, uint16_t* array, uint32_t sz); // Function overload for uint8_t data type. -int32_t SystemIndexOf_U8(uint8_t value, uint8_t * array, uint32_t from, uint32_t sz); +int32_t SystemIndexOf_U8(uint8_t value, uint8_t* array, uint32_t from, uint32_t sz); void SystemCyclicHandler(void); |
