ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

scummsys.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <math.h>
#include <new>
#include "common/c++11-compat.h"
#include <SDL_endian.h>
#include "common/forbidden.h"
Include dependency graph for scummsys.h:

Go to the source code of this file.

Defines

#define __has_feature(x)   0
#define GCC_ATLEAST(major, minor)   0
#define _USE_MATH_DEFINES
#define STATIC_ASSERT(expression, message)
 Generates a compile-time assertion.
#define M_E   2.7182818284590452354
#define M_LOG2E   1.4426950408889634074
#define M_LOG10E   0.43429448190325182765
#define M_LN2   0.69314718055994530942
#define M_LN10   2.30258509299404568402
#define M_PI   3.14159265358979323846
#define M_PI_2   1.57079632679489661923
#define M_PI_4   0.78539816339744830962
#define M_1_PI   0.31830988618379067154
#define M_2_PI   0.63661977236758134308
#define M_2_SQRTPI   1.12837916709551257390
#define M_SQRT2   1.41421356237309504880
#define M_SQRT1_2   0.70710678118654752440
#define SCUMMVM_USE_PRAGMA_PACK
#define SCUMM_LITTLE_ENDIAN
#define GCC_PRINTF(x, y)
#define PACKED_STRUCT
#define FORCEINLINE   inline
#define PLUGIN_EXPORT
#define NORETURN_PRE
#define NORETURN_POST
#define WARN_UNUSED_RESULT
#define STRINGBUFLEN   1024
#define LOCAL_PI   3.14159265358979323846
#define MAXPATHLEN   256

Typedefs

typedef unsigned char byte
typedef unsigned char uint8
typedef signed char int8
typedef unsigned short uint16
typedef signed short int16
typedef unsigned int uint32
typedef signed int int32
typedef unsigned int uint
typedef signed long long int64
typedef unsigned long long uint64
typedef uint32 uintptr

Define Documentation

#define __has_feature (   x  )     0

Definition at line 27 of file scummsys.h.

#define _USE_MATH_DEFINES

Definition at line 137 of file scummsys.h.

#define FORCEINLINE   inline

Definition at line 370 of file scummsys.h.

#define GCC_ATLEAST (   major,
  minor 
)    0

Definition at line 35 of file scummsys.h.

#define GCC_PRINTF (   x,
  y 
)

Definition at line 352 of file scummsys.h.

#define LOCAL_PI   3.14159265358979323846

Definition at line 420 of file scummsys.h.

#define M_1_PI   0.31830988618379067154

Definition at line 216 of file scummsys.h.

#define M_2_PI   0.63661977236758134308

Definition at line 220 of file scummsys.h.

#define M_2_SQRTPI   1.12837916709551257390

Definition at line 224 of file scummsys.h.

#define M_E   2.7182818284590452354

Definition at line 184 of file scummsys.h.

#define M_LN10   2.30258509299404568402

Definition at line 200 of file scummsys.h.

#define M_LN2   0.69314718055994530942

Definition at line 196 of file scummsys.h.

#define M_LOG10E   0.43429448190325182765

Definition at line 192 of file scummsys.h.

#define M_LOG2E   1.4426950408889634074

Definition at line 188 of file scummsys.h.

#define M_PI   3.14159265358979323846

Definition at line 204 of file scummsys.h.

#define M_PI_2   1.57079632679489661923

Definition at line 208 of file scummsys.h.

#define M_PI_4   0.78539816339744830962

Definition at line 212 of file scummsys.h.

#define M_SQRT1_2   0.70710678118654752440

Definition at line 232 of file scummsys.h.

#define M_SQRT2   1.41421356237309504880

Definition at line 228 of file scummsys.h.

#define MAXPATHLEN   256

Definition at line 424 of file scummsys.h.

#define NORETURN_POST

Definition at line 394 of file scummsys.h.

#define NORETURN_PRE

Definition at line 386 of file scummsys.h.

Definition at line 360 of file scummsys.h.

#define PLUGIN_EXPORT

Definition at line 378 of file scummsys.h.

#define SCUMM_LITTLE_ENDIAN

Definition at line 306 of file scummsys.h.

#define SCUMMVM_USE_PRAGMA_PACK

Definition at line 272 of file scummsys.h.

#define STATIC_ASSERT (   expression,
  message 
)
Value:
do { \
            extern int STATIC_ASSERT_##message[(expression) ? 1 : -1]; \
            (void)(STATIC_ASSERT_##message); \
        } while (false)

Generates a compile-time assertion.

Parameters:
expression An expression that can be evaluated at compile time.
message An underscore-delimited message to be presented at compile time if the expression evaluates to false.

Definition at line 170 of file scummsys.h.

#define STRINGBUFLEN   1024

Definition at line 414 of file scummsys.h.

#define WARN_UNUSED_RESULT

Definition at line 406 of file scummsys.h.


Typedef Documentation

typedef unsigned char byte

Definition at line 446 of file scummsys.h.

typedef signed short int16

Definition at line 450 of file scummsys.h.

typedef signed int int32

Definition at line 452 of file scummsys.h.

typedef signed long long int64

Definition at line 458 of file scummsys.h.

typedef signed char int8

Definition at line 448 of file scummsys.h.

typedef unsigned int uint

Definition at line 453 of file scummsys.h.

typedef unsigned short uint16

Definition at line 449 of file scummsys.h.

typedef unsigned int uint32

Definition at line 451 of file scummsys.h.

typedef unsigned long long uint64

Definition at line 459 of file scummsys.h.

typedef unsigned char uint8

Definition at line 447 of file scummsys.h.

typedef uint32 uintptr

Definition at line 479 of file scummsys.h.



Generated on Sat Feb 16 2019 05:02:43 for ResidualVM by doxygen 1.7.1
curved edge   curved edge