Mercurial > hg > dmlib
changeset 2585:ef6c826c5b7a
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:56:36 +0200 |
parents | 9f26a93d7e70 |
children | 9807ae37ad69 |
files | src/dmlib.h |
diffstat | 1 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmlib.h Thu Dec 08 14:25:08 2022 +0200 +++ b/src/dmlib.h Thu Dec 08 15:56:36 2022 +0200 @@ -138,8 +138,8 @@ #endif // Defaults -#define DM_PROG_AUTHOR "By Matti 'ccr' Hamalainen (C) Copyright 2002-2022 TNSP" -#define DM_PROG_LICENSE "This program is distributed under a 3-clause BSD -style license." +#define DM_PROG_AUTHOR "By Matti 'ccr' Hamalainen (C) Copyright 2002-2022 TNSP" +#define DM_PROG_LICENSE "This program is distributed under a 3-clause BSD -style license." /* Error codes @@ -147,7 +147,7 @@ enum { // General error codes DMERR_OK = 0, - DMERR_PROGRESS, // Status OK, but operation in progress + DMERR_PROGRESS, // Status OK, but operation in progress DMERR_INTERNAL, @@ -155,23 +155,23 @@ DMERR_FREAD, DMERR_FWRITE, DMERR_FSEEK, - DMERR_NOT_FOUND, // Resource/data not found + DMERR_NOT_FOUND, // Resource/data not found - DMERR_INVALID_DATA, // Some data was invalid - DMERR_MALLOC, // Memory allocation failure - DMERR_ALREADY_INIT, // Resource has already been initialized - DMERR_INIT_FAIL, // General initialization failure + DMERR_INVALID_DATA, // Some data was invalid + DMERR_MALLOC, // Memory allocation failure + DMERR_ALREADY_INIT, // Resource has already been initialized + DMERR_INIT_FAIL, // General initialization failure DMERR_INVALID_ARGS, - DMERR_NULLPTR, // NULL pointer specified in critical argument - DMERR_NOT_SUPPORTED,// Operation not supported + DMERR_NULLPTR, // NULL pointer specified in critical argument + DMERR_NOT_SUPPORTED, // Operation not supported DMERR_OUT_OF_DATA, DMERR_EXTRA_DATA, DMERR_BOUNDS, - DMERR_DATA_ERROR, // Data decoding/encoding/parsing error + DMERR_DATA_ERROR, // Data decoding/encoding/parsing error - DMERR_VERSION, // Unsupported data version + DMERR_VERSION, // Unsupported data version // PACK-file subsystem DMERR_NOTPACK, @@ -182,12 +182,12 @@ // Directory/path separator stuff -#define DM_DIR_SEPARATOR '/' +#define DM_DIR_SEPARATOR '/' // Resource management defines -#define DMRES_NAME_LEN 32 -#define DMRES_RES_FILE "res.txt" // Resource data file +#define DMRES_NAME_LEN 32 +#define DMRES_RES_FILE "res.txt" // Resource data file /* Define a boolean type @@ -207,9 +207,9 @@ /* Math constants */ -#define DM_PI 3.14159265358f -#define DM_PI2 6.28318530718f -#define DM_E 2.71828182846f +#define DM_PI 3.14159265358f +#define DM_PI2 6.28318530718f +#define DM_E 2.71828182846f /* Fixed point math types