diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-08-14 14:29:04 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-08-14 14:29:04 +0200 |
| commit | db8bc5f9e386c76531dfe679df022dd05d3dd27a (patch) | |
| tree | 03ddd1ab050c79fa56e51a1f7c3d4c15bd1685b6 /Source/System.h | |
| parent | f97f48ca7cefd3380edc9bdaaebf17c16c5c871b (diff) | |
+ Documentation about sound sources.
* Sine-like effect used for runways now moved to SystemCalculateSine().
* Bugfix: ptrPlayer->FlightDataPage is now decreased if there aren't enough active aircraft.
* On main menu, 2 players option is now disabled if pad 2 is disconnected.
* More work on FPS measurement (not working yet).
* Number of used SPU voices is now returned on SfxUploadSound().
Diffstat (limited to 'Source/System.h')
| -rw-r--r-- | Source/System.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/System.h b/Source/System.h index cef7b4e..3bce5e4 100644 --- a/Source/System.h +++ b/Source/System.h @@ -105,6 +105,12 @@ 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); +// Returns frames per second. +volatile uint8_t SystemGetFPS(void); + +// Increase temp_fps in order to calculate frame rate. +void SystemAcknowledgeFrame(void); + void SystemCyclicHandler(void); void SystemClearBuffer(void); @@ -123,6 +129,10 @@ void SystemDevMenuToggle(void); void SystemDevMenu(void); +void SystemCalculateSine(void); + +unsigned char SystemGetSineValue(void); + /* ************************************** * Global Variables * * **************************************/ |
