OpenTTD Source
20241120-master-g6d3adc6169
|
Class for backupping variables and making sure they are restored later. More...
#include "../debug.h"
Go to the source code of this file.
Data Structures | |
struct | Backup< T > |
Class to backup a specific variable and restore it later. More... | |
struct | AutoRestoreBackup< T > |
Class to backup a specific variable and restore it upon destruction of this object to prevent stack values going out of scope before resetting the global to its original value. More... | |
Class for backupping variables and making sure they are restored later.
Definition in file backup_type.hpp.