Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/GameInterface/DeltaArray.h
Show All 12 Lines | |||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#ifndef INCLUDED_DELTAARRAY | #ifndef INCLUDED_DELTAARRAY | ||||
#define INCLUDED_DELTAARRAY | #define INCLUDED_DELTAARRAY | ||||
#include <boost/unordered_map.hpp> | |||||
template<typename T> class DeltaArray2D | template<typename T> class DeltaArray2D | ||||
{ | { | ||||
public: | public: | ||||
virtual ~DeltaArray2D() {} | virtual ~DeltaArray2D() {} | ||||
T get(ssize_t x, ssize_t y); | T get(ssize_t x, ssize_t y); | ||||
void set(ssize_t x, ssize_t y, const T& val); | void set(ssize_t x, ssize_t y, const T& val); | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator