OpenTTD Source  20241108-master-g80f628063a
newgrf_spritegroup.cpp File Reference

Handling of primarily NewGRF action 2. More...

#include "stdafx.h"
#include "debug.h"
#include "newgrf_spritegroup.h"
#include "newgrf_profiling.h"
#include "core/pool_func.hpp"
#include "safeguards.h"

Go to the source code of this file.

Functions

static uint32_t GetVariable (const ResolverObject &object, ScopeResolver *scope, uint8_t variable, uint32_t parameter, bool &available)
 
template<typename U , typename S >
static U EvalAdjustT (const DeterministicSpriteGroupAdjust &adjust, ScopeResolver *scope, U last_value, uint32_t value)
 
static bool RangeHighComparator (const DeterministicSpriteGroupRange &range, uint32_t value)
 

Variables

SpriteGroupPool _spritegroup_pool ("SpriteGroup")
 
TemporaryStorageArray< int32_t, 0x110 > _temp_store
 

Detailed Description

Handling of primarily NewGRF action 2.

Definition in file newgrf_spritegroup.cpp.