MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ReadDword

Method ReadDword

src/random_access_file.cpp:134–138  ·  view source on GitHub ↗

* Read a double word (32 bits) from the file (in low endian format). * @return Read word. */

Source from the content-addressed store, hash-verified

132 * @return Read word.
133 */
134uint32_t RandomAccessFile::ReadDword()
135{
136 uint b = this->ReadWord();
137 return (this->ReadWord() << 16) | b;
138}
139
140/**
141 * Read a block.

Callers 13

LoadNewGRFFileFromFileFunction · 0.80
LoadNewGRFSoundFunction · 0.80
ReadGRFSpriteOffsetsFunction · 0.80
LoadNextSpriteFunction · 0.80
BmpReadHeaderFunction · 0.80
LoadMethod · 0.80
GetMusicCatEntryNameFunction · 0.80
GetMusicCatEntryDataFunction · 0.80
OpenBankFileFunction · 0.80
LoadSpriteV2Function · 0.80
ImportGRFSoundFunction · 0.80
GRFSoundFunction · 0.80

Calls 1

ReadWordMethod · 0.95

Tested by

no test coverage detected