project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 6078 8c0cc07731e5
parent 6018 3b86826f6665
child 6247 6dfad55fd71c
equal deleted inserted replaced
6077:d8fa5a85d24f 6078:8c0cc07731e5
    21 
    21 
    22 #import "OverlayViewController.h"
    22 #import "OverlayViewController.h"
    23 #import "InGameMenuViewController.h"
    23 #import "InGameMenuViewController.h"
    24 #import "HelpPageViewController.h"
    24 #import "HelpPageViewController.h"
    25 #import "AmmoMenuViewController.h"
    25 #import "AmmoMenuViewController.h"
    26 #import "PascalImports.h"
       
    27 #import "CommodityFunctions.h"
       
    28 #import "CGPointUtils.h"
    26 #import "CGPointUtils.h"
    29 #import "ObjcExports.h"
    27 #import "ObjcExports.h"
       
    28 
    30 
    29 
    31 #define HIDING_TIME_DEFAULT [NSDate dateWithTimeIntervalSinceNow:2.7]
    30 #define HIDING_TIME_DEFAULT [NSDate dateWithTimeIntervalSinceNow:2.7]
    32 #define HIDING_TIME_NEVER   [NSDate dateWithTimeIntervalSinceNow:10000]
    31 #define HIDING_TIME_NEVER   [NSDate dateWithTimeIntervalSinceNow:10000]
    33 #define doDim()             [dimTimer setFireDate: (IS_DUALHEAD()) ? HIDING_TIME_NEVER : HIDING_TIME_DEFAULT]
    32 #define doDim()             [dimTimer setFireDate: (IS_DUALHEAD()) ? HIDING_TIME_NEVER : HIDING_TIME_DEFAULT]
    34 #define doNotDim()          [dimTimer setFireDate:HIDING_TIME_NEVER]
    33 #define doNotDim()          [dimTimer setFireDate:HIDING_TIME_NEVER]