project_files/HedgewarsMobile/Classes/MapConfigViewController.m
changeset 6832 fae8fd118da9
parent 6829 60b039d88dab
child 6869 a187c280dd3d
equal deleted inserted replaced
6831:f848120b3fcc 6832:fae8fd118da9
    12  * GNU General Public License for more details.
    12  * GNU General Public License for more details.
    13  *
    13  *
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    17  *
       
    18  * File created on 22/04/2010.
       
    19  */
    17  */
    20 
    18 
    21 
    19 
    22 #import "MapConfigViewController.h"
    20 #import "MapConfigViewController.h"
    23 #import <QuartzCore/QuartzCore.h>
    21 #import <QuartzCore/QuartzCore.h>
       
    22 
    24 
    23 
    25 #define scIndex         self.segmentedControl.selectedSegmentIndex
    24 #define scIndex         self.segmentedControl.selectedSegmentIndex
    26 #define isRandomness()  (segmentedControl.selectedSegmentIndex == 0 || segmentedControl.selectedSegmentIndex == 2)
    25 #define isRandomness()  (segmentedControl.selectedSegmentIndex == 0 || segmentedControl.selectedSegmentIndex == 2)
    27 
    26 
    28 @implementation MapConfigViewController
    27 @implementation MapConfigViewController