| 1 | |
| 2 | /** |
| 3 | * |
| 4 | * @file OpenJazz.h |
| 5 | * |
| 6 | * Part of the OpenJazz project |
| 7 | * |
| 8 | * @par History: |
| 9 | * - 23rd August 2005: Created OpenJazz.h |
| 10 | * - 31st January 2006: Created level.h from parts of OpenJazz.h |
| 11 | * - 31st January 2006: Created player.h from parts of OpenJazz.h |
| 12 | * - 3rd February 2009: Created menu.h from parts of OpenJazz.h |
| 13 | * - 3rd February 2009: Created file.h from parts of OpenJazz.h |
| 14 | * - 3rd February 2009: Created font.h from parts of OpenJazz.h |
| 15 | * - 4th February 2009: Created palette.h from parts of OpenJazz.h |
| 16 | * - 2nd March 2009: Created network.h from parts of OpenJazz.h |
| 17 | * - 2nd June 2009: Created sound.h from parts of OpenJazz.h |
| 18 | * - 3rd June 2009: Created network.h from parts of OpenJazz.h |
| 19 | * - 13th July 2009: Created controls.h from parts of OpenJazz.h |
| 20 | * - 13th July 2009: Created graphics.h from parts of OpenJazz.h |
| 21 | * - 30th April 2010: Created util.h from parts of OpenJazz.h |
| 22 | * - 30th April 2010: Created loop.h from parts of OpenJazz.h |
| 23 | * - 1st November 2023: Created types.h from parts of OpenJazz.h |
| 24 | * |
| 25 | * @par Licence: |
| 26 | * Copyright (c) 2005-2017 AJ Thomson |
| 27 | * |
| 28 | * OpenJazz is distributed under the terms of |
| 29 | * the GNU General Public License, version 2.0 |
| 30 | * |
| 31 | */ |
| 32 | |
| 33 | |
| 34 | #ifndef _OPENJAZZ_H |
| 35 | #define _OPENJAZZ_Hcxx . . $ `src/OpenJazz.h:35:9`! |
| 36 | |
| 37 | #ifndef EXTERN |
| 38 | #define EXTERNcxx . . $ `src/OpenJazz.h:38:10`! extern |
| 39 | #endif |
| 40 | |
| 41 | #include "types.h"cxx . . $ `<file>/src/types.h`/ |
| 42 | |
| 43 | // Constants |
| 44 | |
| 45 | // Standard string length |
| 46 | #define STRING_LENGTHcxx . . $ `src/OpenJazz.h:46:9`! 32 |
| 47 | |
| 48 | // Return values |
| 49 | #define E_N_OTHERcxx . . $ `src/OpenJazz.h:49:9`! -(0x26) |
| 50 | #define E_N_DISCONNECTcxx . . $ `src/OpenJazz.h:50:9`! -(0x25) |
| 51 | #define E_N_CONNECTcxx . . $ `src/OpenJazz.h:51:9`! -(0x24) |
| 52 | #define E_N_ADDRESScxx . . $ `src/OpenJazz.h:52:9`! -(0x23) |
| 53 | #define E_N_LISTENcxx . . $ `src/OpenJazz.h:53:9`! -(0x22) |
| 54 | #define E_N_BINDcxx . . $ `src/OpenJazz.h:54:9`! -(0x21) |
| 55 | #define E_N_SOCKETcxx . . $ `src/OpenJazz.h:55:9`! -(0x20) |
| 56 | #define E_DATAcxx . . $ `src/OpenJazz.h:56:9`! -(0x15) |
| 57 | #define E_VERSIONcxx . . $ `src/OpenJazz.h:57:9`! -(0x14) |
| 58 | #define E_TIMEOUTcxx . . $ `src/OpenJazz.h:58:9`! -(0x13) |
| 59 | #define E_DEMOTYPEcxx . . $ `src/OpenJazz.h:59:9`! -(0x12) |
| 60 | #define E_FILEcxx . . $ `src/OpenJazz.h:60:9`! -(0x11) |
| 61 | #define E_VIDEOcxx . . $ `src/OpenJazz.h:61:9`! -(0x10) |
| 62 | #define E_LOAD0cxx . . $ `src/OpenJazz.h:62:9`! -(0x0F) |
| 63 | #define E_LOAD1cxx . . $ `src/OpenJazz.h:63:9`! -(0x0E) |
| 64 | #define E_LOAD2cxx . . $ `src/OpenJazz.h:64:9`! -(0x0D) |
| 65 | #define E_LOAD3cxx . . $ `src/OpenJazz.h:65:9`! -(0x0C) |
| 66 | #define E_RETURNcxx . . $ `src/OpenJazz.h:66:9`! -(0x02) |
| 67 | #define E_QUITcxx . . $ `src/OpenJazz.h:67:9`! -(0x01) |
| 68 | |
| 69 | #define E_NONEcxx . . $ `src/OpenJazz.h:69:9`! 0 |
| 70 | |
| 71 | #define MAX_PALETTE_COLORScxx . . $ `src/OpenJazz.h:71:9`! 256 |
| 72 | |
| 73 | #endif |