Files @ r2980:c0fb57e5b1da
Branch filter:

Location: cpp/openttd-patchpack/source/callback_table.h

bjarni
(svn r3555) -Codechange: [Big Endian] removed defining OTTD_ALIGNMENT by default on Big Endian CPUs
this increased speed when reading unaligned data (like strings)
test showed this to increase speed by 5,6% when drawing the mini map on PPC OSX

the tradeoff is that now it will crash if a Big Endian computer don't support unaligned reading
but it should easily fixable in stdafx.h if it turns out to be a problem
/* $Id$ */

#ifndef CALLBACK_TABLE_H
#define CALLBACK_TABLE_H

#include "functions.h"

extern CommandCallback *_callback_table[];
extern const int _callback_table_count;

#endif /* CALLBACK_TABLE_H */