coastline 0.0.4
Loading...
Searching...
No Matches
ptr32.h File Reference

Pointers of 32 bits in the data the game reads from files and in its display lists. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TGR_PTR(T)
 A pointer of 32 bits to T.

Detailed Description

Pointers of 32 bits in the data the game reads from files and in its display lists.

The Nintendo 64 and the Windows libraries have 32-bit pointers, and TGR_PTR(T) is T *. The SDL game runs on 64-bit processors, where TGR_PTR(T) is a Ptr32, a signed 32-bit offset from an anchor in the static data of the program. Referenced objects are static data or mapped memory within 2 GiB of the anchor.

Macro Definition Documentation

◆ TGR_PTR

#define TGR_PTR ( T)
Value:
T *

A pointer of 32 bits to T.