Changeset 855


Ignore:
Timestamp:
Aug 23, 2011, 8:36:09 PM (12 years ago)
Author:
sam
Message:

ios: update XCode project and fix a GL test compilation issue.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/ios/classes/MonsterzViewController.mm

    r739 r855  
    3434{
    3535    Ticker::Setup(30.0f);
    36     Video::Setup(320, 480);
     36    Video::Setup(vec2i(320, 480));
    3737
    38     new Interface();
    39     new DebugFps(20, 20);
     38    //new Interface();
     39    //new DebugFps(20, 20);
     40    new DebugQuad();
    4041
    4142    EAGLContext *aContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
  • trunk/monsterz/ios/info.plist

    r731 r855  
    2929        <key>UIStatusBarHidden</key>
    3030        <true/>
     31        <key>UISupportedInterfaceOrientations</key>
     32        <array/>
    3133</dict>
    3234</plist>
  • trunk/monsterz/ios/monsterz.xcodeproj/project.pbxproj

    r731 r855  
    44        classes = {
    55        };
    6         objectVersion = 45;
     6        objectVersion = 46;
    77        objects = {
    88
     
    1212                1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
    1313                1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
     14                22C714C713FB155B0023929C /* ground.png in Resources */ = {isa = PBXBuildFile; fileRef = 22C714C513FB155B0023929C /* ground.png */; };
     15                22C714C813FB155B0023929C /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 22C714C613FB155B0023929C /* logo.png */; };
     16                22F6649F13FB15CB005F963B /* log.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F6649D13FB15CB005F963B /* log.cpp */; };
     17                22F664A213FB15CB005F963B /* platform.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664A013FB15CB005F963B /* platform.cpp */; };
     18                22F664A613FB15CB005F963B /* shader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664A413FB15CB005F963B /* shader.cpp */; };
     19                22F664B213FB15CB005F963B /* fps.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664A813FB15CB005F963B /* fps.cpp */; };
     20                22F664B313FB15CB005F963B /* quad.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664AA13FB15CB005F963B /* quad.cpp */; };
     21                22F664B413FB15CB005F963B /* record.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664AC13FB15CB005F963B /* record.cpp */; };
     22                22F664B513FB15CB005F963B /* sphere.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664AE13FB15CB005F963B /* sphere.cpp */; };
     23                22F664B613FB15CB005F963B /* stats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664B013FB15CB005F963B /* stats.cpp */; };
     24                22F664B913FB15CB005F963B /* score.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22F664B713FB15CB005F963B /* score.cpp */; };
    1425                28AD733F0D9D9553002E5188 /* mainwindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* mainwindow.xib */; };
    1526                28EC4C5911D54ECE0027AA9F /* MonsterzViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 28EC4C5711D54ECE0027AA9F /* MonsterzViewController.mm */; };
     
    2637                CE86DBC71324077D004F76D1 /* font2.png in Resources */ = {isa = PBXBuildFile; fileRef = CE86DBAE1324077D004F76D1 /* font2.png */; };
    2738                CE86DBC81324077D004F76D1 /* icons.png in Resources */ = {isa = PBXBuildFile; fileRef = CE86DBAF1324077D004F76D1 /* icons.png */; };
    28                 CE86DBC91324077D004F76D1 /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = CE86DBB01324077D004F76D1 /* logo.png */; };
    2939                CE86DBCA1324077D004F76D1 /* tiles.png in Resources */ = {isa = PBXBuildFile; fileRef = CE86DBB11324077D004F76D1 /* tiles.png */; };
    3040                CE86DBCB1324077D004F76D1 /* title0.png in Resources */ = {isa = PBXBuildFile; fileRef = CE86DBB21324077D004F76D1 /* title0.png */; };
     
    4656                CE86DBDB1324077D004F76D1 /* titlestars.png in Resources */ = {isa = PBXBuildFile; fileRef = CE86DBC21324077D004F76D1 /* titlestars.png */; };
    4757                CEA12E5B1326F0BE001D45B5 /* audio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E0E1326F0BE001D45B5 /* audio.cpp */; };
    48                 CEA12E5C1326F0BE001D45B5 /* debugfps.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E121326F0BE001D45B5 /* debugfps.cpp */; };
    49                 CEA12E5D1326F0BE001D45B5 /* debugquad.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E141326F0BE001D45B5 /* debugquad.cpp */; };
    50                 CEA12E5E1326F0BE001D45B5 /* debugrecord.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E161326F0BE001D45B5 /* debugrecord.cpp */; };
    51                 CEA12E5F1326F0BE001D45B5 /* debugsphere.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E181326F0BE001D45B5 /* debugsphere.cpp */; };
    52                 CEA12E601326F0BE001D45B5 /* debugstats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E1A1326F0BE001D45B5 /* debugstats.cpp */; };
    5358                CEA12E611326F0BE001D45B5 /* dict.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E1C1326F0BE001D45B5 /* dict.cpp */; };
    5459                CEA12E631326F0BE001D45B5 /* emitter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E201326F0BE001D45B5 /* emitter.cpp */; };
     
    6671                CEA12E751326F0BF001D45B5 /* sampler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E411326F0BE001D45B5 /* sampler.cpp */; };
    6772                CEA12E761326F0BF001D45B5 /* scene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E431326F0BE001D45B5 /* scene.cpp */; };
    68                 CEA12E791326F0BF001D45B5 /* shader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E491326F0BE001D45B5 /* shader.cpp */; };
    6973                CEA12E7A1326F0BF001D45B5 /* text.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E4B1326F0BE001D45B5 /* text.cpp */; };
    7074                CEA12E7B1326F0BF001D45B5 /* ticker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA12E4D1326F0BE001D45B5 /* ticker.cpp */; };
     
    8993                1D6058910D05DD3D006BFB54 /* Monsterz.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Monsterz.app; sourceTree = BUILT_PRODUCTS_DIR; };
    9094                1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
     95                22C714C513FB155B0023929C /* ground.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ground.png; sourceTree = "<group>"; };
     96                22C714C613FB155B0023929C /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logo.png; sourceTree = "<group>"; };
     97                22F6649D13FB15CB005F963B /* log.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = log.cpp; path = ../../src/log.cpp; sourceTree = "<group>"; };
     98                22F6649E13FB15CB005F963B /* log.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = log.h; path = ../../src/log.h; sourceTree = "<group>"; };
     99                22F664A013FB15CB005F963B /* platform.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = platform.cpp; path = ../../src/platform.cpp; sourceTree = "<group>"; };
     100                22F664A113FB15CB005F963B /* platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = platform.h; path = ../../src/platform.h; sourceTree = "<group>"; };
     101                22F664A413FB15CB005F963B /* shader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = shader.cpp; sourceTree = "<group>"; };
     102                22F664A513FB15CB005F963B /* shader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = shader.h; sourceTree = "<group>"; };
     103                22F664A813FB15CB005F963B /* fps.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = fps.cpp; sourceTree = "<group>"; };
     104                22F664A913FB15CB005F963B /* fps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fps.h; sourceTree = "<group>"; };
     105                22F664AA13FB15CB005F963B /* quad.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = quad.cpp; sourceTree = "<group>"; };
     106                22F664AB13FB15CB005F963B /* quad.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = quad.h; sourceTree = "<group>"; };
     107                22F664AC13FB15CB005F963B /* record.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = record.cpp; sourceTree = "<group>"; };
     108                22F664AD13FB15CB005F963B /* record.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = record.h; sourceTree = "<group>"; };
     109                22F664AE13FB15CB005F963B /* sphere.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sphere.cpp; sourceTree = "<group>"; };
     110                22F664AF13FB15CB005F963B /* sphere.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sphere.h; sourceTree = "<group>"; };
     111                22F664B013FB15CB005F963B /* stats.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stats.cpp; sourceTree = "<group>"; };
     112                22F664B113FB15CB005F963B /* stats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stats.h; sourceTree = "<group>"; };
     113                22F664B713FB15CB005F963B /* score.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = score.cpp; path = ../score.cpp; sourceTree = "<group>"; };
     114                22F664B813FB15CB005F963B /* score.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = score.h; path = ../score.h; sourceTree = "<group>"; };
    91115                28AD733E0D9D9553002E5188 /* mainwindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = mainwindow.xib; sourceTree = "<group>"; };
    92116                28EC4C5611D54ECE0027AA9F /* MonsterzViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MonsterzViewController.h; sourceTree = "<group>"; };
     
    108132                CE86DBAE1324077D004F76D1 /* font2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = font2.png; path = ../gfx/font2.png; sourceTree = SOURCE_ROOT; };
    109133                CE86DBAF1324077D004F76D1 /* icons.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icons.png; path = ../gfx/icons.png; sourceTree = SOURCE_ROOT; };
    110                 CE86DBB01324077D004F76D1 /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = logo.png; path = ../gfx/logo.png; sourceTree = SOURCE_ROOT; };
    111134                CE86DBB11324077D004F76D1 /* tiles.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = tiles.png; path = ../gfx/tiles.png; sourceTree = SOURCE_ROOT; };
    112135                CE86DBB21324077D004F76D1 /* title0.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = title0.png; path = ../gfx/title0.png; sourceTree = SOURCE_ROOT; };
     
    131154                CEA12E101326F0BE001D45B5 /* bitfield.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bitfield.h; path = ../../src/bitfield.h; sourceTree = SOURCE_ROOT; };
    132155                CEA12E111326F0BE001D45B5 /* core.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = core.h; path = ../../src/core.h; sourceTree = SOURCE_ROOT; };
    133                 CEA12E121326F0BE001D45B5 /* debugfps.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugfps.cpp; path = ../../src/debugfps.cpp; sourceTree = SOURCE_ROOT; };
    134                 CEA12E131326F0BE001D45B5 /* debugfps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = debugfps.h; path = ../../src/debugfps.h; sourceTree = SOURCE_ROOT; };
    135                 CEA12E141326F0BE001D45B5 /* debugquad.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugquad.cpp; path = ../../src/debugquad.cpp; sourceTree = SOURCE_ROOT; };
    136                 CEA12E151326F0BE001D45B5 /* debugquad.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = debugquad.h; path = ../../src/debugquad.h; sourceTree = SOURCE_ROOT; };
    137                 CEA12E161326F0BE001D45B5 /* debugrecord.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugrecord.cpp; path = ../../src/debugrecord.cpp; sourceTree = SOURCE_ROOT; };
    138                 CEA12E171326F0BE001D45B5 /* debugrecord.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = debugrecord.h; path = ../../src/debugrecord.h; sourceTree = SOURCE_ROOT; };
    139                 CEA12E181326F0BE001D45B5 /* debugsphere.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugsphere.cpp; path = ../../src/debugsphere.cpp; sourceTree = SOURCE_ROOT; };
    140                 CEA12E191326F0BE001D45B5 /* debugsphere.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = debugsphere.h; path = ../../src/debugsphere.h; sourceTree = SOURCE_ROOT; };
    141                 CEA12E1A1326F0BE001D45B5 /* debugstats.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugstats.cpp; path = ../../src/debugstats.cpp; sourceTree = SOURCE_ROOT; };
    142                 CEA12E1B1326F0BE001D45B5 /* debugstats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = debugstats.h; path = ../../src/debugstats.h; sourceTree = SOURCE_ROOT; };
    143156                CEA12E1C1326F0BE001D45B5 /* dict.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = dict.cpp; path = ../../src/dict.cpp; sourceTree = SOURCE_ROOT; };
    144157                CEA12E1D1326F0BE001D45B5 /* dict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dict.h; path = ../../src/dict.h; sourceTree = SOURCE_ROOT; };
     
    174187                CEA12E431326F0BE001D45B5 /* scene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = scene.cpp; path = ../../src/scene.cpp; sourceTree = SOURCE_ROOT; };
    175188                CEA12E441326F0BE001D45B5 /* scene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = scene.h; path = ../../src/scene.h; sourceTree = SOURCE_ROOT; };
    176                 CEA12E491326F0BE001D45B5 /* shader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = shader.cpp; path = ../../src/shader.cpp; sourceTree = SOURCE_ROOT; };
    177                 CEA12E4A1326F0BE001D45B5 /* shader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = shader.h; path = ../../src/shader.h; sourceTree = SOURCE_ROOT; };
    178189                CEA12E4B1326F0BE001D45B5 /* text.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = text.cpp; path = ../../src/text.cpp; sourceTree = SOURCE_ROOT; };
    179190                CEA12E4C1326F0BE001D45B5 /* text.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = text.h; path = ../../src/text.h; sourceTree = SOURCE_ROOT; };
     
    244255                        sourceTree = "<group>";
    245256                };
     257                22C714C413FB155B0023929C /* title */ = {
     258                        isa = PBXGroup;
     259                        children = (
     260                                22C714C513FB155B0023929C /* ground.png */,
     261                                22C714C613FB155B0023929C /* logo.png */,
     262                        );
     263                        name = title;
     264                        path = ../gfx/title;
     265                        sourceTree = "<group>";
     266                };
     267                22F664A313FB15CB005F963B /* shader */ = {
     268                        isa = PBXGroup;
     269                        children = (
     270                                22F664A413FB15CB005F963B /* shader.cpp */,
     271                                22F664A513FB15CB005F963B /* shader.h */,
     272                        );
     273                        name = shader;
     274                        path = ../../src/shader;
     275                        sourceTree = "<group>";
     276                };
     277                22F664A713FB15CB005F963B /* debug */ = {
     278                        isa = PBXGroup;
     279                        children = (
     280                                22F664A813FB15CB005F963B /* fps.cpp */,
     281                                22F664A913FB15CB005F963B /* fps.h */,
     282                                22F664AA13FB15CB005F963B /* quad.cpp */,
     283                                22F664AB13FB15CB005F963B /* quad.h */,
     284                                22F664AC13FB15CB005F963B /* record.cpp */,
     285                                22F664AD13FB15CB005F963B /* record.h */,
     286                                22F664AE13FB15CB005F963B /* sphere.cpp */,
     287                                22F664AF13FB15CB005F963B /* sphere.h */,
     288                                22F664B013FB15CB005F963B /* stats.cpp */,
     289                                22F664B113FB15CB005F963B /* stats.h */,
     290                        );
     291                        name = debug;
     292                        path = ../../src/debug;
     293                        sourceTree = "<group>";
     294                };
    246295                29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
    247296                        isa = PBXGroup;
     
    293342                        isa = PBXGroup;
    294343                        children = (
     344                                22F664A713FB15CB005F963B /* debug */,
     345                                22F664A313FB15CB005F963B /* shader */,
     346                                22F664A013FB15CB005F963B /* platform.cpp */,
     347                                22F664A113FB15CB005F963B /* platform.h */,
     348                                22F6649D13FB15CB005F963B /* log.cpp */,
     349                                22F6649E13FB15CB005F963B /* log.h */,
    295350                                CEA12E0E1326F0BE001D45B5 /* audio.cpp */,
    296351                                CEA12E0F1326F0BE001D45B5 /* audio.h */,
    297352                                CEA12E101326F0BE001D45B5 /* bitfield.h */,
    298353                                CEA12E111326F0BE001D45B5 /* core.h */,
    299                                 CEA12E121326F0BE001D45B5 /* debugfps.cpp */,
    300                                 CEA12E131326F0BE001D45B5 /* debugfps.h */,
    301                                 CEA12E141326F0BE001D45B5 /* debugquad.cpp */,
    302                                 CEA12E151326F0BE001D45B5 /* debugquad.h */,
    303                                 CEA12E161326F0BE001D45B5 /* debugrecord.cpp */,
    304                                 CEA12E171326F0BE001D45B5 /* debugrecord.h */,
    305                                 CEA12E181326F0BE001D45B5 /* debugsphere.cpp */,
    306                                 CEA12E191326F0BE001D45B5 /* debugsphere.h */,
    307                                 CEA12E1A1326F0BE001D45B5 /* debugstats.cpp */,
    308                                 CEA12E1B1326F0BE001D45B5 /* debugstats.h */,
    309354                                CEA12E1C1326F0BE001D45B5 /* dict.cpp */,
    310355                                CEA12E1D1326F0BE001D45B5 /* dict.h */,
     
    340385                                CEA12E431326F0BE001D45B5 /* scene.cpp */,
    341386                                CEA12E441326F0BE001D45B5 /* scene.h */,
    342                                 CEA12E491326F0BE001D45B5 /* shader.cpp */,
    343                                 CEA12E4A1326F0BE001D45B5 /* shader.h */,
    344387                                CEA12E4B1326F0BE001D45B5 /* text.cpp */,
    345388                                CEA12E4C1326F0BE001D45B5 /* text.h */,
     
    365408                        isa = PBXGroup;
    366409                        children = (
     410                                22C714C413FB155B0023929C /* title */,
    367411                                CE608AD813244071006A700F /* ascii.png */,
    368412                                CE86DBAA1324077D004F76D1 /* background.png */,
     
    372416                                CE86DBAE1324077D004F76D1 /* font2.png */,
    373417                                CE86DBAF1324077D004F76D1 /* icons.png */,
    374                                 CE86DBB01324077D004F76D1 /* logo.png */,
    375418                                CE86DBB11324077D004F76D1 /* tiles.png */,
    376419                                CE86DBB21324077D004F76D1 /* title0.png */,
     
    398441                        isa = PBXGroup;
    399442                        children = (
     443                                22F664B713FB15CB005F963B /* score.cpp */,
     444                                22F664B813FB15CB005F963B /* score.h */,
    400445                                CEA12E821326F117001D45B5 /* board.cpp */,
    401446                                CEA12E831326F117001D45B5 /* board.h */,
     
    440485                29B97313FDCFA39411CA2CEA /* Project object */ = {
    441486                        isa = PBXProject;
     487                        attributes = {
     488                                LastUpgradeCheck = 0410;
     489                        };
    442490                        buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "monsterz" */;
    443                         compatibilityVersion = "Xcode 3.1";
     491                        compatibilityVersion = "Xcode 3.2";
    444492                        developmentRegion = English;
    445493                        hasScannedForEncodings = 1;
     
    472520                                CE86DBC71324077D004F76D1 /* font2.png in Resources */,
    473521                                CE86DBC81324077D004F76D1 /* icons.png in Resources */,
    474                                 CE86DBC91324077D004F76D1 /* logo.png in Resources */,
    475522                                CE86DBCA1324077D004F76D1 /* tiles.png in Resources */,
    476523                                CE86DBCB1324077D004F76D1 /* title0.png in Resources */,
     
    492539                                CE86DBDB1324077D004F76D1 /* titlestars.png in Resources */,
    493540                                CE608AD913244071006A700F /* ascii.png in Resources */,
     541                                22C714C713FB155B0023929C /* ground.png in Resources */,
     542                                22C714C813FB155B0023929C /* logo.png in Resources */,
    494543                        );
    495544                        runOnlyForDeploymentPostprocessing = 0;
     
    507556                                28EC4C5911D54ECE0027AA9F /* MonsterzViewController.mm in Sources */,
    508557                                CEA12E5B1326F0BE001D45B5 /* audio.cpp in Sources */,
    509                                 CEA12E5C1326F0BE001D45B5 /* debugfps.cpp in Sources */,
    510                                 CEA12E5D1326F0BE001D45B5 /* debugquad.cpp in Sources */,
    511                                 CEA12E5E1326F0BE001D45B5 /* debugrecord.cpp in Sources */,
    512                                 CEA12E5F1326F0BE001D45B5 /* debugsphere.cpp in Sources */,
    513                                 CEA12E601326F0BE001D45B5 /* debugstats.cpp in Sources */,
    514558                                CEA12E611326F0BE001D45B5 /* dict.cpp in Sources */,
    515559                                CEA12E631326F0BE001D45B5 /* emitter.cpp in Sources */,
     
    527571                                CEA12E751326F0BF001D45B5 /* sampler.cpp in Sources */,
    528572                                CEA12E761326F0BF001D45B5 /* scene.cpp in Sources */,
    529                                 CEA12E791326F0BF001D45B5 /* shader.cpp in Sources */,
    530573                                CEA12E7A1326F0BF001D45B5 /* text.cpp in Sources */,
    531574                                CEA12E7B1326F0BF001D45B5 /* ticker.cpp in Sources */,
     
    542585                                CEA12F3D1326F118001D45B5 /* thumbs.cpp in Sources */,
    543586                                CEA12F3E1326F118001D45B5 /* title.cpp in Sources */,
     587                                22F6649F13FB15CB005F963B /* log.cpp in Sources */,
     588                                22F664A213FB15CB005F963B /* platform.cpp in Sources */,
     589                                22F664A613FB15CB005F963B /* shader.cpp in Sources */,
     590                                22F664B213FB15CB005F963B /* fps.cpp in Sources */,
     591                                22F664B313FB15CB005F963B /* quad.cpp in Sources */,
     592                                22F664B413FB15CB005F963B /* record.cpp in Sources */,
     593                                22F664B513FB15CB005F963B /* sphere.cpp in Sources */,
     594                                22F664B613FB15CB005F963B /* stats.cpp in Sources */,
     595                                22F664B913FB15CB005F963B /* score.cpp in Sources */,
    544596                        );
    545597                        runOnlyForDeploymentPostprocessing = 0;
     
    552604                        buildSettings = {
    553605                                ALWAYS_SEARCH_USER_PATHS = NO;
     606                                "CODE_SIGN_IDENTITY[sdk=*]" = "";
    554607                                COPY_PHASE_STRIP = NO;
    555608                                GCC_DYNAMIC_NO_PIC = NO;
     
    571624                        buildSettings = {
    572625                                ALWAYS_SEARCH_USER_PATHS = NO;
     626                                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
    573627                                COPY_PHASE_STRIP = YES;
    574628                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
     
    589643                        buildSettings = {
    590644                                ARCHS = "$(ARCHS_STANDARD_32_BIT)";
    591                                 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
     645                                "CODE_SIGN_IDENTITY[sdk=*]" = "iPhone Developer";
    592646                                GCC_C_LANGUAGE_STANDARD = c99;
    593647                                GCC_INPUT_FILETYPE = automatic;
    594648                                GCC_PREPROCESSOR_DEFINITIONS = (
    595649                                        DEBUG,
    596                                         HAVE_GLES_1X,
     650                                        HAVE_GLES_2X,
    597651                                );
     652                                GCC_VERSION = com.apple.compilers.llvmgcc42;
    598653                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
    599654                                GCC_WARN_UNUSED_VARIABLE = YES;
    600                                 PREBINDING = NO;
    601655                                SDKROOT = iphoneos;
    602656                        };
     
    610664                                GCC_C_LANGUAGE_STANDARD = c99;
    611665                                GCC_INPUT_FILETYPE = automatic;
    612                                 GCC_PREPROCESSOR_DEFINITIONS = HAVE_GLES_1X;
     666                                GCC_PREPROCESSOR_DEFINITIONS = HAVE_GLES_2X;
     667                                GCC_VERSION = com.apple.compilers.llvmgcc42;
    613668                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
    614669                                GCC_WARN_UNUSED_VARIABLE = YES;
    615670                                OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
    616                                 PREBINDING = NO;
    617671                                SDKROOT = iphoneos;
    618672                        };
  • trunk/src/debug/quad.cpp

    r851 r855  
    431431     * Renders an orange square.
    432432     */
    433 #if !defined ANDROID_NDK
     433#if !defined ANDROID_NDK && !defined __APPLE__
    434434    glColor4f(orange.x, orange.y, orange.z, orange.w);
    435435    glEnableClientState(GL_VERTEX_ARRAY);
     
    449449     * Renders a multicoloured square with varying colors.
    450450     */
    451 #if !defined ANDROID_NDK
     451#if !defined ANDROID_NDK && !defined __APPLE__
    452452    glEnableClientState(GL_VERTEX_ARRAY);
    453453    glEnableClientState(GL_COLOR_ARRAY);
     
    470470     * animated distorted checkerboard.
    471471     */
    472 #if !defined ANDROID_NDK
     472#if !defined ANDROID_NDK && !defined __APPLE__
    473473    glEnable(GL_TEXTURE_2D);
    474474    glBindTexture(GL_TEXTURE_2D, data->texture[0]);
Note: See TracChangeset for help on using the changeset viewer.