Skip to content

Commit

Permalink
LASTEXPRESS: Move LOW_BYTE macro to helpers.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Templier committed Jul 17, 2012
1 parent 132dd5b commit e517c11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions engines/lastexpress/entities/entity_intern.h
Expand Up @@ -25,8 +25,6 @@

namespace LastExpress {

#define LOW_BYTE(w) ((unsigned char)(((unsigned long)(w)) & 0xff))

//////////////////////////////////////////////////////////////////////////
// Callbacks
#define ENTITY_CALLBACK(class, name, pointer) \
Expand Down
2 changes: 2 additions & 0 deletions engines/lastexpress/helpers.h
Expand Up @@ -27,6 +27,8 @@
// Misc helpers
//////////////////////////////////////////////////////////////////////////

#define LOW_BYTE(w) ((unsigned char)(((unsigned long)(w)) & 0xff))

// Misc
#define getArchive(name) _engine->getResourceManager()->getFileStream(name)
#define rnd(value) _engine->getRandom().getRandomNumber(value - 1)
Expand Down

0 comments on commit e517c11

Please sign in to comment.