OpenTTD Source
20241108-master-g80f628063a
|
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.