From a43504d78a5695ca07cf3706e34abfdfd5b4343b Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Fri, 13 Jun 2014 21:17:17 +0300 Subject: [PATCH] Moved build to premake4 - moved build to premake4 - fixed compiler warnings - increased pool size to fit 64bit ptrs --- .gitignore | 27 + Build/VC9/libtess2.sln | 20 - Build/VC9/libtess2.suo | Bin 7168 -> 0 bytes Build/VC9/libtess2.vcproj | 267 --- Build/Xcode/English.lproj/InfoPlist.strings | Bin 546 -> 0 bytes .../English.lproj/SDLMain.nib/classes.nib | 19 - .../Xcode/English.lproj/SDLMain.nib/info.nib | 21 - .../English.lproj/SDLMain.nib/objects.nib | Bin 2590 -> 0 bytes Build/Xcode/Info.plist | 28 - Build/Xcode/libtess2.xcodeproj/memon.pbxuser | 348 --- .../libtess2.xcodeproj/memon.perspectivev3 | 1538 ------------ .../Xcode/libtess2.xcodeproj/project.pbxproj | 385 --- .../contents.xcworkspacedata | 7 - .../UserInterfaceState.xcuserstate | 2073 ----------------- .../xcschemes/libtess2.xcscheme | 72 - .../xcschemes/xcschememanagement.plist | 22 - Build/Xcode/libtess2_Prefix.pch | 9 - Contrib/SDL/readme.txt | 6 - Example/SDLMain.h | 17 - Example/SDLMain.m | 436 ---- Example/{main.c => example.c} | 122 +- Include/tesselator.h | 16 +- Source/sweep.c | 1 + Source/tess.c | 5 + premake4.lua | 45 + 25 files changed, 148 insertions(+), 5336 deletions(-) delete mode 100644 Build/VC9/libtess2.sln delete mode 100644 Build/VC9/libtess2.suo delete mode 100644 Build/VC9/libtess2.vcproj delete mode 100755 Build/Xcode/English.lproj/InfoPlist.strings delete mode 100644 Build/Xcode/English.lproj/SDLMain.nib/classes.nib delete mode 100644 Build/Xcode/English.lproj/SDLMain.nib/info.nib delete mode 100644 Build/Xcode/English.lproj/SDLMain.nib/objects.nib delete mode 100644 Build/Xcode/Info.plist delete mode 100644 Build/Xcode/libtess2.xcodeproj/memon.pbxuser delete mode 100644 Build/Xcode/libtess2.xcodeproj/memon.perspectivev3 delete mode 100644 Build/Xcode/libtess2.xcodeproj/project.pbxproj delete mode 100644 Build/Xcode/libtess2.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 Build/Xcode/libtess2.xcodeproj/project.xcworkspace/xcuserdata/memon.xcuserdatad/UserInterfaceState.xcuserstate delete mode 100644 Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/libtess2.xcscheme delete mode 100644 Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/xcschememanagement.plist delete mode 100644 Build/Xcode/libtess2_Prefix.pch delete mode 100644 Contrib/SDL/readme.txt delete mode 100644 Example/SDLMain.h delete mode 100644 Example/SDLMain.m rename Example/{main.c => example.c} (83%) create mode 100644 premake4.lua diff --git a/.gitignore b/.gitignore index e43b0f9..a6db687 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,28 @@ +## Compiled source # +*.com +*.class +*.dll +*.exe +*.o +*.so +test + +## Logs and databases # +*.log +*.sql +*.sqlite + +## OS generated files # .DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +## Build dir +Build/* + +## xcode specific +*xcuserdata* diff --git a/Build/VC9/libtess2.sln b/Build/VC9/libtess2.sln deleted file mode 100644 index c6aa33b..0000000 --- a/Build/VC9/libtess2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtess2", "libtess2.vcproj", "{54B96EEE-1E45-4A06-9A01-C3218F0A8358}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {54B96EEE-1E45-4A06-9A01-C3218F0A8358}.Debug|Win32.ActiveCfg = Debug|Win32 - {54B96EEE-1E45-4A06-9A01-C3218F0A8358}.Debug|Win32.Build.0 = Debug|Win32 - {54B96EEE-1E45-4A06-9A01-C3218F0A8358}.Release|Win32.ActiveCfg = Release|Win32 - {54B96EEE-1E45-4A06-9A01-C3218F0A8358}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Build/VC9/libtess2.suo b/Build/VC9/libtess2.suo deleted file mode 100644 index 36963e6d64900c46b62e5331cc24547ff9771b14..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7168 zcmeI0OK%%h6vvNST3RTN76?!Zm=cvPh!xY)R}>&|615UhLemEeZ=Bc(j@>wlZJ-o3 ztPtz25E~E@E07RhfHe{->#ktOk}p8R?|)}5c19h0?7E1EoY9&4zUSO?&uiw_TL*vp z>W9O>TLj*)-F9blzwK@7Pf-^-c-(9k6}9hdZf*vhW>j}z8%f|Vczqze!#$L`?|tBd z;KSg4@F7rld>|~h(eZXz?IMATR^w?{+NN!da>K53%gJHL_WWb>(xXl=pZVsM@dH1n zb~EWMDHbpf#hR_!1*k7mo3;;wfrRfN+m+H0pJ2Yqgv$)~<=~PPtZo&1+sc#;yUe=; zPrkq2Wy4|UKgk@~O;Y;unX)m#6x0^2X)8RUdlh~fwq)PB1Z)6my`2f?KD<+sJN zKz8j>_a`6V+v3sNzkGrEA88v`TXYYBlE3zR3LFBT2A=_+1^s?Us6P+B0KN#O!IwZk z?n|9x2mT!ioE|xJ^NTOPJ^$k`#qVx>^!aVBqbK+?7aDR;t6Gz#yY~WG|23GibC$=N zYS>QGu35*R@9i&;N4&}M_FWj z-m0uwq)*max7X;IgkG8cBK0fGJbTw!acAu2Gvn4p`(@Lgfq@(XueyRiDR8c|%{UIl zbKYjDFFCJU=TuSuGs#GaRTW!jRI-v3Qd(5vYd*)(j3|9cO8T+@?IyAiFP#ATDfvw0OG(eKxyMq$uJQD* zb90MuQ4J=>y!$!7{H)(@89ArXTSdPn_gQq_(W5%J?#EvroZZb#ZXKNWUBYh+RwBP89B?FS=K!_Fi-0`w!VfKhXYt*3bH= z{>`HAx?|;mS3_H<*$1&!_-Y^aCtqnybtjGoyvCok4B94GtVQ3Ix^_wiAJICX(zS+M`2F+l%NxRpNmd8+bRSLBJWHn ze?{S>^yRO8+>xKFV(tEnvT|kOWn!fKpR79Y!x6$^llxC8PtY-oA63US9xp=L1VmZN1uSca&ny~DgEb|do#rgQ2sv4O;_DL2UO)dn{eZKGaKh` zkYLPC^1flOQ%({YP7wk0j98ZUN%}{4PY^FoQ9J8uS!y{uL9UeLK4%!4pgh6cGxiCw zrHIV8(w%eBzn!WycIzC^Ti_iucOSXHV0jy}HwV09#x8QBRZu!tvX4U_E9qpgx=DBE z`udw>RuSqg$&U}5mzMAEg%5e#3Fni`#QqX@yNvY)Hy|%?_g%*rxgYRO+UzHI_-|+b z(XWP#%bM1)bN%}W{-SRGQ}lDcp&ROFsarFQrRWb - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Build/Xcode/English.lproj/InfoPlist.strings b/Build/Xcode/English.lproj/InfoPlist.strings deleted file mode 100755 index b416943e8feccbbd60d264df880d5ea42f37c54c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 546 zcmbu5OACTf5QWdWUm-0edhH_GB=mrCk>*481WtQ7xAv@VDPDqWH+EM24$PZ~s!67u)8%OeR|0Md@}tKilb~&RrYF diff --git a/Build/Xcode/English.lproj/SDLMain.nib/classes.nib b/Build/Xcode/English.lproj/SDLMain.nib/classes.nib deleted file mode 100644 index 799eaad..0000000 --- a/Build/Xcode/English.lproj/SDLMain.nib/classes.nib +++ /dev/null @@ -1,19 +0,0 @@ -{ - IBClasses = ( - {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, - { - ACTIONS = { - help = id; - newGame = id; - openGame = id; - prefsMenu = id; - saveGame = id; - saveGameAs = id; - }; - CLASS = SDLMain; - LANGUAGE = ObjC; - SUPERCLASS = NSObject; - } - ); - IBVersion = 1; -} \ No newline at end of file diff --git a/Build/Xcode/English.lproj/SDLMain.nib/info.nib b/Build/Xcode/English.lproj/SDLMain.nib/info.nib deleted file mode 100644 index 1d6fb7e..0000000 --- a/Build/Xcode/English.lproj/SDLMain.nib/info.nib +++ /dev/null @@ -1,21 +0,0 @@ - - - - - IBDocumentLocation - 62 117 356 240 0 0 1152 848 - IBEditorPositions - - 29 - 62 362 195 44 0 0 1152 848 - - IBFramework Version - 291.0 - IBOpenObjects - - 29 - - IBSystem Version - 6L60 - - diff --git a/Build/Xcode/English.lproj/SDLMain.nib/objects.nib b/Build/Xcode/English.lproj/SDLMain.nib/objects.nib deleted file mode 100644 index 637801528a03f85f28a290e5ffde3716217cd1e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2590 zcmai0Ur1Y57(ZvGHPvX{x^|3KmO)4920}Z=I$xHka}{RndLQ;UuF0w1Hn}&uxtZ%; z#*vfDo(2oaLDO`IbX#{sD5X9Glz^L1K@hFJ=jNYE(&QmG-}!#u z-{1MZ>+5vxCP^&i*hEjzw!at-F~+(h+Q`7z_-zt(hIB`#=vT)45zUjJOx9BwOs5jL1&h(w3_4P~J#JZ`0(V9n0#EOOEGR|f|NC<8`&BAS=lO_H+Gc9dMsap@O|lF%oJ z3(qo3h;?w1MDHYY`;O~o*bn?iI03Lc88yBjG0o8(0!L6W__`{bIhjKD4V&B|HZh|l z)z{bOKA1*5s2aidnV)KiLLC#hZp27q%y`mm29tR!N1X~Z=1dYh)!a)>-LFkrQ^9aN z{v6%u5JKod)2M6q0w1T1Lv_ZVHH%qRHSnp&4I(S(x^u1F6!}t-v-|g}oEX&&(`9o7 zpR8GF4t;ktKGvN|k0-!%I4Y^vui8>nZ2@)g?;AGa4eOsi=UL6Vgjr!Tb?2 z75q?7C}v=@S%!7MOJhl51~vV25>q%y0dSA4*3j1FsGC0}E!P7|wYDk~KV3rv!-|kH z8m$=)?rcNRPJUvTF>9)I*{VuVI4lF*@(MRrzqN_pgHh`@K9 z#FMT4dn#4$yPkJ>{}ohb`+igJkge=aCqy7A=DE-F$3Q-=<^tGJ+{?ImzFOwxmC6B3 zx?#(7Ms*XWh7DEA^Ti_HEb)ype+1}z*^Ea!#hs&Ut<&xgh`UWz?aw20I|`|djhb!) z6`rr`8;GY5(I00TW|8cAiSO?4`6A!m;!lcvp~#ENe7VHe%lv7X@9pxnGT$ljt<8FF zor>x=NtBpQ>lPi-taj=jm2t;loalB?RlZpovPI{hMV_l6E1HIz?o`QA<}0N_falrF zY(QS}OR3=4lnG7YOMvrTfsf1gf8!-k@YlM`3vk%5mR!CqiQr9mxu*cM0|*Sio5xP} z-~_pRS1Md}`7=-mNInFsgy35ss;oGmGh+d;T-lw(fn9bYqG|8|TXO_~!d#(CYMqT} z5o3H1EZJ5ZeoWZXmQB&7+S}fdCwno++CrhwyiB{-vSY*^wgCof$&BfCOl`p%x=G^w z@wlQv z2V?#iiIWMnCuIoR8Hn{vlGwK_J0Zt|?xby)5EXYz8Gv*+#7-C{U@Fp8X{g;KQ|cnA zRMwPj3+8NHwytC;7>;$>hLm+wW#N=ph&?IwP0F#NtS!j@r;@O=tAxrvE4&GBJVvQk zrJ}>quS{1KRJS5IjJRkxT&4_M_X2m0lz7;DJUlpqq_lsu~ z{U=UR^o@9h;*fZi;;>kwxKHff78?}5D;6kzLzF4LCSIrb1F=c*1@V;Px5YZe?}$B1 z^icG(ctTNLoS`@ - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIdentifier - com.yourcompany.libtess2 - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSMainNibFile - SDLMain - NSPrincipalClass - NSApplication - - diff --git a/Build/Xcode/libtess2.xcodeproj/memon.pbxuser b/Build/Xcode/libtess2.xcodeproj/memon.pbxuser deleted file mode 100644 index 7b987c1..0000000 --- a/Build/Xcode/libtess2.xcodeproj/memon.pbxuser +++ /dev/null @@ -1,348 +0,0 @@ -// !$*UTF8*$! -{ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - activeBuildConfigurationName = Debug; - activeExecutable = 6B58CAF4101992A200956BA2 /* libtess2 */; - activeTarget = 8D1107260486CEB800E47090 /* libtess2 */; - addToTargets = ( - 8D1107260486CEB800E47090 /* libtess2 */, - ); - breakpoints = ( - ); - codeSenseManager = 6B58CB07101992A800956BA2 /* Code sense */; - executables = ( - 6B58CAF4101992A200956BA2 /* libtess2 */, - ); - perUserDictionary = { - PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { - PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; - PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; - PBXFileTableDataSourceColumnWidthsKey = ( - 20, - 646, - 20, - 48, - 43, - 43, - 20, - ); - PBXFileTableDataSourceColumnsKey = ( - PBXFileDataSource_FiletypeID, - PBXFileDataSource_Filename_ColumnID, - PBXFileDataSource_Built_ColumnID, - PBXFileDataSource_ObjectSize_ColumnID, - PBXFileDataSource_Errors_ColumnID, - PBXFileDataSource_Warnings_ColumnID, - PBXFileDataSource_Target_ColumnID, - ); - }; - PBXPerProjectTemplateStateSaveDate = 305475119; - PBXWorkspaceStateSaveDate = 305475119; - }; - perUserProjectItems = { - 6B33E35F1235077800141A9B = 6B33E35F1235077800141A9B /* PBXTextBookmark */; - 6B33E3621235299900141A9B = 6B33E3621235299900141A9B /* PBXTextBookmark */; - 6B33E3641235299900141A9B = 6B33E3641235299900141A9B /* PBXTextBookmark */; - 6B33E36C12352A0A00141A9B = 6B33E36C12352A0A00141A9B /* PBXTextBookmark */; - 6B33E36E12352BF000141A9B = 6B33E36E12352BF000141A9B /* PBXTextBookmark */; - 6B33E36F12352BF000141A9B = 6B33E36F12352BF000141A9B /* PBXTextBookmark */; - 6B33E37012352BF000141A9B = 6B33E37012352BF000141A9B /* PBXTextBookmark */; - 6B33E37412352C6900141A9B = 6B33E37412352C6900141A9B /* PBXTextBookmark */; - 6B33E37512352C6900141A9B = 6B33E37512352C6900141A9B /* PBXTextBookmark */; - 6B33E38312352D0F00141A9B = 6B33E38312352D0F00141A9B /* PBXTextBookmark */; - }; - sourceControlManager = 6B58CB06101992A800956BA2 /* Source Control */; - userBuildSettings = { - }; - }; - 6B33E35F1235077800141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB091019935200956BA2 /* main.c */; - name = "main.c: 13"; - rLen = 0; - rLoc = 217; - rType = 0; - vrLen = 658; - vrLoc = 746; - }; - 6B33E3621235299900141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B33E3631235299900141A9B /* isomesher_dc.h */; - name = "isomesher_dc.h: 54"; - rLen = 0; - rLoc = 1157; - rType = 0; - vrLen = 774; - vrLoc = 655; - }; - 6B33E3631235299900141A9B /* isomesher_dc.h */ = { - isa = PBXFileReference; - lastKnownFileType = sourcecode.c.h; - name = isomesher_dc.h; - path = /Users/memon/Downloads/isosurf/threed/isomesher_dc.h; - sourceTree = ""; - }; - 6B33E3641235299900141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B33E3651235299900141A9B /* isomesher_dc.cpp */; - name = "isomesher_dc.cpp: 22"; - rLen = 0; - rLoc = 644; - rType = 0; - vrLen = 1385; - vrLoc = 0; - }; - 6B33E3651235299900141A9B /* isomesher_dc.cpp */ = { - isa = PBXFileReference; - lastKnownFileType = sourcecode.cpp.cpp; - name = isomesher_dc.cpp; - path = /Users/memon/Downloads/isosurf/threed/isomesher_dc.cpp; - sourceTree = ""; - }; - 6B33E36C12352A0A00141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB4B1019948500956BA2 /* geom.h */; - name = "geom.h: 30"; - rLen = 0; - rLoc = 1649; - rType = 0; - vrLen = 1567; - vrLoc = 1806; - }; - 6B33E36E12352BF000141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB4D1019948500956BA2 /* mesh.h */; - name = "mesh.h: 118"; - rLen = 0; - rLoc = 5865; - rType = 0; - vrLen = 1596; - vrLoc = 5310; - }; - 6B33E36F12352BF000141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB501019948500956BA2 /* sweep.c */; - name = "sweep.c: 440"; - rLen = 0; - rLoc = 14876; - rType = 0; - vrLen = 1366; - vrLoc = 13947; - }; - 6B33E37012352BF000141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB531019948500956BA2 /* tess.h */; - name = "tess.h: 73"; - rLen = 0; - rLoc = 2671; - rType = 0; - vrLen = 1071; - vrLoc = 1824; - }; - 6B33E37412352C6900141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB521019948500956BA2 /* tess.c */; - name = "tess.c: 959"; - rLen = 0; - rLoc = 25081; - rType = 0; - vrLen = 643; - vrLoc = 24599; - }; - 6B33E37512352C6900141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB451019947700956BA2 /* tesselator.h */; - name = "tesselator.h: 147"; - rLen = 0; - rLoc = 6694; - rType = 0; - vrLen = 1977; - vrLoc = 4911; - }; - 6B33E38312352D0F00141A9B /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 6B58CB451019947700956BA2 /* tesselator.h */; - name = "tesselator.h: 137"; - rLen = 0; - rLoc = 6164; - rType = 0; - vrLen = 1837; - vrLoc = 5164; - }; - 6B58CAF4101992A200956BA2 /* libtess2 */ = { - isa = PBXExecutable; - activeArgIndices = ( - ); - argumentStrings = ( - ); - autoAttachOnCrash = 1; - breakpointsEnabled = 0; - configStateDict = { - }; - customDataFormattersEnabled = 1; - dataTipCustomDataFormattersEnabled = 1; - dataTipShowTypeColumn = 1; - dataTipSortType = 0; - debuggerPlugin = GDBDebugging; - disassemblyDisplayState = 0; - dylibVariantSuffix = ""; - enableDebugStr = 1; - environmentEntries = ( - ); - executableSystemSymbolLevel = 0; - executableUserSymbolLevel = 0; - libgmallocEnabled = 1; - name = libtess2; - savedGlobals = { - }; - showTypeColumn = 0; - sourceDirectories = ( - ); - }; - 6B58CB06101992A800956BA2 /* Source Control */ = { - isa = PBXSourceControlManager; - fallbackIsa = XCSourceControlManager; - isSCMEnabled = 0; - scmConfiguration = { - repositoryNamesForRoots = { - "" = ""; - }; - }; - }; - 6B58CB07101992A800956BA2 /* Code sense */ = { - isa = PBXCodeSenseManager; - indexTemplatePath = ""; - }; - 6B58CB091019935200956BA2 /* main.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {824, 4888}}"; - sepNavSelRange = "{217, 0}"; - sepNavVisRange = "{746, 658}"; - }; - }; - 6B58CB0A1019935200956BA2 /* SDLMain.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 495}}"; - sepNavSelRange = "{503, 0}"; - sepNavVisRange = "{0, 503}"; - }; - }; - 6B58CB0B1019935200956BA2 /* SDLMain.m */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {901, 5811}}"; - sepNavSelRange = "{2860, 0}"; - sepNavVisRange = "{2560, 353}"; - }; - }; - 6B58CB451019947700956BA2 /* tesselator.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {922, 2054}}"; - sepNavSelRange = "{6164, 0}"; - sepNavVisRange = "{5307, 1694}"; - }; - }; - 6B58CB461019948500956BA2 /* bucketalloc.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 2720}}"; - sepNavSelRange = "{1626, 0}"; - sepNavVisRange = "{402, 1384}"; - }; - }; - 6B58CB471019948500956BA2 /* bucketalloc.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 768}}"; - sepNavSelRange = "{1626, 0}"; - sepNavVisRange = "{322, 1384}"; - }; - }; - 6B58CB481019948500956BA2 /* dict.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 1504}}"; - sepNavSelRange = "{1620, 0}"; - sepNavVisRange = "{616, 1359}"; - }; - }; - 6B58CB491019948500956BA2 /* dict.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 1056}}"; - sepNavSelRange = "{1620, 0}"; - sepNavVisRange = "{241, 1508}"; - }; - }; - 6B58CB4A1019948500956BA2 /* geom.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 4000}}"; - sepNavSelRange = "{1649, 0}"; - sepNavVisRange = "{582, 1291}"; - }; - }; - 6B58CB4B1019948500956BA2 /* geom.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {824, 1001}}"; - sepNavSelRange = "{1649, 0}"; - sepNavVisRange = "{1806, 1567}"; - }; - }; - 6B58CB4C1019948500956BA2 /* mesh.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 13376}}"; - sepNavSelRange = "{1620, 0}"; - sepNavVisRange = "{241, 1505}"; - }; - }; - 6B58CB4D1019948500956BA2 /* mesh.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {824, 3432}}"; - sepNavSelRange = "{5865, 0}"; - sepNavVisRange = "{5310, 1596}"; - }; - }; - 6B58CB4E1019948500956BA2 /* priorityq.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 7808}}"; - sepNavSelRange = "{1620, 0}"; - sepNavVisRange = "{572, 1199}"; - }; - }; - 6B58CB4F1019948500956BA2 /* priorityq.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 1456}}"; - sepNavSelRange = "{1620, 0}"; - sepNavVisRange = "{322, 1617}"; - }; - }; - 6B58CB501019948500956BA2 /* sweep.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {824, 17264}}"; - sepNavSelRange = "{14876, 0}"; - sepNavVisRange = "{13947, 1366}"; - }; - }; - 6B58CB511019948500956BA2 /* sweep.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {742, 1152}}"; - sepNavSelRange = "{1620, 0}"; - sepNavVisRange = "{161, 1588}"; - }; - }; - 6B58CB521019948500956BA2 /* tess.c */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {824, 12805}}"; - sepNavSelRange = "{25081, 0}"; - sepNavVisRange = "{24599, 643}"; - }; - }; - 6B58CB531019948500956BA2 /* tess.h */ = { - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {824, 1183}}"; - sepNavSelRange = "{2671, 0}"; - sepNavVisRange = "{1824, 1071}"; - }; - }; - 8D1107260486CEB800E47090 /* libtess2 */ = { - activeExec = 0; - executables = ( - 6B58CAF4101992A200956BA2 /* libtess2 */, - ); - }; -} diff --git a/Build/Xcode/libtess2.xcodeproj/memon.perspectivev3 b/Build/Xcode/libtess2.xcodeproj/memon.perspectivev3 deleted file mode 100644 index 761e8b6..0000000 --- a/Build/Xcode/libtess2.xcodeproj/memon.perspectivev3 +++ /dev/null @@ -1,1538 +0,0 @@ - - - - - ActivePerspectiveName - Project - AllowedModules - - - BundleLoadPath - - MaxInstances - n - Module - PBXSmartGroupTreeModule - Name - Groups and Files Outline View - - - BundleLoadPath - - MaxInstances - n - Module - PBXNavigatorGroup - Name - Editor - - - BundleLoadPath - - MaxInstances - n - Module - XCTaskListModule - Name - Task List - - - BundleLoadPath - - MaxInstances - n - Module - XCDetailModule - Name - File and Smart Group Detail Viewer - - - BundleLoadPath - - MaxInstances - 1 - Module - PBXBuildResultsModule - Name - Detailed Build Results Viewer - - - BundleLoadPath - - MaxInstances - 1 - Module - PBXProjectFindModule - Name - Project Batch Find Tool - - - BundleLoadPath - - MaxInstances - n - Module - XCProjectFormatConflictsModule - Name - Project Format Conflicts List - - - BundleLoadPath - - MaxInstances - n - Module - PBXBookmarksModule - Name - Bookmarks Tool - - - BundleLoadPath - - MaxInstances - n - Module - PBXClassBrowserModule - Name - Class Browser - - - BundleLoadPath - - MaxInstances - n - Module - PBXCVSModule - Name - Source Code Control Tool - - - BundleLoadPath - - MaxInstances - n - Module - PBXDebugBreakpointsModule - Name - Debug Breakpoints Tool - - - BundleLoadPath - - MaxInstances - n - Module - XCDockableInspector - Name - Inspector - - - BundleLoadPath - - MaxInstances - n - Module - PBXOpenQuicklyModule - Name - Open Quickly Tool - - - BundleLoadPath - - MaxInstances - 1 - Module - PBXDebugSessionModule - Name - Debugger - - - BundleLoadPath - - MaxInstances - 1 - Module - PBXDebugCLIModule - Name - Debug Console - - - BundleLoadPath - - MaxInstances - n - Module - XCSnapshotModule - Name - Snapshots Tool - - - BundlePath - /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources - Description - AIODescriptionKey - DockingSystemVisible - - Extension - perspectivev3 - FavBarConfig - - PBXProjectModuleGUID - 6B58CB05101992A800956BA2 - XCBarModuleItemNames - - XCBarModuleItems - - - FirstTimeWindowDisplayed - - Identifier - com.apple.perspectives.project.defaultV3 - MajorVersion - 34 - MinorVersion - 0 - Name - All-In-One - Notifications - - OpenEditors - - PerspectiveWidths - - 1010 - 1010 - - Perspectives - - - ChosenToolbarItems - - XCToolbarPerspectiveControl - NSToolbarSeparatorItem - active-combo-popup - action - NSToolbarFlexibleSpaceItem - build-and-go - com.apple.ide.PBXToolbarStopButton - NSToolbarFlexibleSpaceItem - get-info - com.apple.pbx.toolbar.searchfield - - ControllerClassBaseName - - IconName - WindowOfProject - Identifier - perspective.project - IsVertical - - Layout - - - ContentConfiguration - - PBXBottomSmartGroupGIDs - - 1C37FBAC04509CD000000102 - 1C37FAAC04509CD000000102 - 1C08E77C0454961000C914BD - 1C37FABC05509CD000000102 - 1C37FABC05539CD112110102 - E2644B35053B69B200211256 - 1C37FABC04509CD000100104 - 1CC0EA4004350EF90044410B - 1CC0EA4004350EF90041110B - 1C77FABC04509CD000000102 - - PBXProjectModuleGUID - 1CA23ED40692098700951B8B - PBXProjectModuleLabel - Files - PBXProjectStructureProvided - yes - PBXSmartGroupTreeModuleColumnData - - PBXSmartGroupTreeModuleColumnWidthsKey - - 185 - - PBXSmartGroupTreeModuleColumnsKey_v4 - - MainColumn - - - PBXSmartGroupTreeModuleOutlineStateKey_v7 - - PBXSmartGroupTreeModuleOutlineStateExpansionKey - - 29B97314FDCFA39411CA2CEA - 6B58CB3D1019942B00956BA2 - - PBXSmartGroupTreeModuleOutlineStateSelectionKey - - - 16 - 1 - 0 - - - PBXSmartGroupTreeModuleOutlineStateVisibleRectKey - {{0, 0}, {185, 604}} - - PBXTopSmartGroupGIDs - - XCIncludePerspectivesSwitch - - - GeometryConfiguration - - Frame - {{0, 0}, {202, 622}} - GroupTreeTableConfiguration - - MainColumn - 185 - - RubberWindowFrame - 72 115 1010 663 0 0 1280 778 - - Module - PBXSmartGroupTreeModule - Proportion - 202pt - - - Dock - - - BecomeActive - - ContentConfiguration - - PBXProjectModuleGUID - 6B58CB00101992A800956BA2 - PBXProjectModuleLabel - SDLMain.m - PBXSplitModuleInNavigatorKey - - Split0 - - PBXProjectModuleGUID - 6B58CB01101992A800956BA2 - PBXProjectModuleLabel - SDLMain.m - _historyCapacity - 0 - bookmark - 6B58CC4B1019AD0500956BA2 - history - - 6B58CB3E1019943B00956BA2 - 6B58CB5C101999C500956BA2 - 6B58CB5D101999C500956BA2 - 6B58CB5E101999C500956BA2 - 6B58CB5F101999C500956BA2 - 6B58CB60101999C500956BA2 - 6B58CB61101999C500956BA2 - 6B58CB62101999C500956BA2 - 6B58CB63101999C500956BA2 - 6B58CB64101999C500956BA2 - 6B58CB65101999C500956BA2 - 6B58CB67101999C500956BA2 - 6B58CBA210199C0400956BA2 - 6B58CBCA1019A1D300956BA2 - 6B58CBE81019A65C00956BA2 - 6B58CBE91019A65C00956BA2 - 6B58CBF21019A6AF00956BA2 - 6B58CC141019A94D00956BA2 - 6B58CC391019AC4200956BA2 - 6B58CC481019AD0500956BA2 - 6B58CC491019AD0500956BA2 - - prevStack - - 6B58CB401019943B00956BA2 - 6B58CB6C101999C500956BA2 - 6B58CB6D101999C500956BA2 - 6B58CB6E101999C500956BA2 - 6B58CB6F101999C500956BA2 - 6B58CB70101999C500956BA2 - 6B58CB71101999C500956BA2 - 6B58CB72101999C500956BA2 - 6B58CB73101999C500956BA2 - 6B58CB74101999C500956BA2 - 6B58CB75101999C500956BA2 - 6B58CB76101999C500956BA2 - 6B58CB77101999C500956BA2 - 6B58CB78101999C500956BA2 - 6B58CB79101999C500956BA2 - 6B58CB7A101999C500956BA2 - 6B58CB7B101999C500956BA2 - 6B58CB7C101999C500956BA2 - 6B58CB7D101999C500956BA2 - 6B58CB7E101999C500956BA2 - 6B58CB7F101999C500956BA2 - 6B58CB81101999C500956BA2 - 6B58CB83101999C500956BA2 - 6B58CB84101999C500956BA2 - 6B58CB85101999C500956BA2 - 6B58CB86101999C500956BA2 - 6B58CB87101999C500956BA2 - 6B58CB88101999C500956BA2 - 6B58CB89101999C500956BA2 - 6B58CB8A101999C500956BA2 - 6B58CB8B101999C500956BA2 - 6B58CB8C101999C500956BA2 - 6B58CB8D101999C500956BA2 - 6B58CB8E101999C500956BA2 - 6B58CB8F101999C500956BA2 - 6B58CB90101999C500956BA2 - 6B58CBEC1019A65C00956BA2 - 6B58CBED1019A65C00956BA2 - 6B58CBEE1019A65C00956BA2 - 6B58CBEF1019A65C00956BA2 - 6B58CBF41019A6AF00956BA2 - 6B58CB80101999C500956BA2 - 6B58CC4A1019AD0500956BA2 - - - SplitCount - 1 - - StatusBarVisibility - - XCSharingToken - com.apple.Xcode.CommonNavigatorGroupSharingToken - - GeometryConfiguration - - Frame - {{0, 0}, {803, 498}} - RubberWindowFrame - 72 115 1010 663 0 0 1280 778 - - Module - PBXNavigatorGroup - Proportion - 498pt - - - Proportion - 119pt - Tabs - - - ContentConfiguration - - PBXProjectModuleGUID - 1CA23EDF0692099D00951B8B - PBXProjectModuleLabel - Detail - - GeometryConfiguration - - Frame - {{10, 27}, {803, 63}} - - Module - XCDetailModule - - - ContentConfiguration - - PBXProjectModuleGUID - 1CA23EE00692099D00951B8B - PBXProjectModuleLabel - Project Find - - GeometryConfiguration - - Frame - {{10, 31}, {603, 297}} - - Module - PBXProjectFindModule - - - ContentConfiguration - - PBXCVSModuleFilterTypeKey - 1032 - PBXProjectModuleGUID - 1CA23EE10692099D00951B8B - PBXProjectModuleLabel - SCM Results - - GeometryConfiguration - - Frame - {{10, 31}, {603, 297}} - - Module - PBXCVSModule - - - ContentConfiguration - - PBXProjectModuleGUID - XCMainBuildResultsModuleGUID - PBXProjectModuleLabel - Build - XCBuildResultsTrigger_Collapse - 1021 - XCBuildResultsTrigger_Open - 1011 - - GeometryConfiguration - - Frame - {{10, 27}, {803, 92}} - RubberWindowFrame - 72 115 1010 663 0 0 1280 778 - - Module - PBXBuildResultsModule - - - - - Proportion - 803pt - - - Name - Project - ServiceClasses - - XCModuleDock - PBXSmartGroupTreeModule - XCModuleDock - PBXNavigatorGroup - XCDockableTabModule - XCDetailModule - PBXProjectFindModule - PBXCVSModule - PBXBuildResultsModule - - TableOfContents - - 6B58CB421019943B00956BA2 - 1CA23ED40692098700951B8B - 6B58CB431019943B00956BA2 - 6B58CB00101992A800956BA2 - 6B58CB441019943B00956BA2 - 1CA23EDF0692099D00951B8B - 1CA23EE00692099D00951B8B - 1CA23EE10692099D00951B8B - XCMainBuildResultsModuleGUID - - ToolbarConfiguration - xcode.toolbar.config.defaultV3 - - - ChosenToolbarItems - - XCToolbarPerspectiveControl - NSToolbarSeparatorItem - active-combo-popup - NSToolbarFlexibleSpaceItem - build-and-go - com.apple.ide.PBXToolbarStopButton - debugger-restart-executable - debugger-pause - debugger-step-over - debugger-step-into - debugger-step-out - debugger-enable-breakpoints - NSToolbarFlexibleSpaceItem - com.apple.ide.XCBreakpointsToolbarItem - clear-log - - ControllerClassBaseName - PBXDebugSessionModule - IconName - DebugTabIcon - Identifier - perspective.debug - IsVertical - - Layout - - - ContentConfiguration - - PBXProjectModuleGUID - 1CCC7628064C1048000F2A68 - PBXProjectModuleLabel - Debugger Console - - GeometryConfiguration - - Frame - {{0, 0}, {1010, 174}} - - Module - PBXDebugCLIModule - Proportion - 174pt - - - ContentConfiguration - - Debugger - - HorizontalSplitView - - _collapsingFrameDimension - 0.0 - _indexOfCollapsedView - 0 - _percentageOfCollapsedView - 0.0 - isCollapsed - yes - sizes - - {{0, 0}, {493, 215}} - {{493, 0}, {517, 215}} - - - VerticalSplitView - - _collapsingFrameDimension - 0.0 - _indexOfCollapsedView - 0 - _percentageOfCollapsedView - 0.0 - isCollapsed - yes - sizes - - {{0, 0}, {1010, 215}} - {{0, 215}, {1010, 228}} - - - - LauncherConfigVersion - 8 - PBXProjectModuleGUID - 1CCC7629064C1048000F2A68 - PBXProjectModuleLabel - Debug - - GeometryConfiguration - - DebugConsoleVisible - None - DebugConsoleWindowFrame - {{200, 200}, {500, 300}} - DebugSTDIOWindowFrame - {{200, 200}, {500, 300}} - Frame - {{0, 179}, {1010, 443}} - PBXDebugSessionStackFrameViewKey - - DebugVariablesTableConfiguration - - Name - 120 - Value - 85 - Summary - 287 - - Frame - {{493, 0}, {517, 215}} - - - Module - PBXDebugSessionModule - Proportion - 443pt - - - Name - Debug - ServiceClasses - - XCModuleDock - PBXDebugCLIModule - PBXDebugSessionModule - PBXDebugProcessAndThreadModule - PBXDebugProcessViewModule - PBXDebugThreadViewModule - PBXDebugStackFrameViewModule - PBXNavigatorGroup - - TableOfContents - - 6B58CB9610199A0C00956BA2 - 1CCC7628064C1048000F2A68 - 1CCC7629064C1048000F2A68 - 6B58CB9710199A0C00956BA2 - 6B58CB9810199A0C00956BA2 - 6B58CB9910199A0C00956BA2 - 6B58CB9A10199A0C00956BA2 - 6B58CB9B10199A0C00956BA2 - - ToolbarConfiguration - xcode.toolbar.config.debugV3 - - - PerspectivesBarVisible - - ShelfIsVisible - - SourceDescription - file at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecification.xcperspec' - StatusbarIsVisible - - TimeStamp - 0.0 - ToolbarDisplayMode - 1 - ToolbarIsVisible - - ToolbarSizeMode - 1 - Type - Perspectives - UpdateMessage - - WindowJustification - 5 - WindowOrderList - - 6B58CBB610199FFF00956BA2 - 6B58CBB710199FFF00956BA2 - /Users/memon/Code/libtess2/Build/Xcode/libtess2.xcodeproj - - WindowString - 72 115 1010 663 0 0 1280 778 - WindowToolsV3 - - - Identifier - windowTool.debugger - Layout - - - Dock - - - ContentConfiguration - - Debugger - - HorizontalSplitView - - _collapsingFrameDimension - 0.0 - _indexOfCollapsedView - 0 - _percentageOfCollapsedView - 0.0 - isCollapsed - yes - sizes - - {{0, 0}, {317, 164}} - {{317, 0}, {377, 164}} - - - VerticalSplitView - - _collapsingFrameDimension - 0.0 - _indexOfCollapsedView - 0 - _percentageOfCollapsedView - 0.0 - isCollapsed - yes - sizes - - {{0, 0}, {694, 164}} - {{0, 164}, {694, 216}} - - - - LauncherConfigVersion - 8 - PBXProjectModuleGUID - 1C162984064C10D400B95A72 - PBXProjectModuleLabel - Debug - GLUTExamples (Underwater) - - GeometryConfiguration - - DebugConsoleDrawerSize - {100, 120} - DebugConsoleVisible - None - DebugConsoleWindowFrame - {{200, 200}, {500, 300}} - DebugSTDIOWindowFrame - {{200, 200}, {500, 300}} - Frame - {{0, 0}, {694, 380}} - RubberWindowFrame - 321 238 694 422 0 0 1440 878 - - Module - PBXDebugSessionModule - Proportion - 100% - - - Proportion - 100% - - - Name - Debugger - ServiceClasses - - PBXDebugSessionModule - - StatusbarIsVisible - 1 - TableOfContents - - 1CD10A99069EF8BA00B06720 - 1C0AD2AB069F1E9B00FABCE6 - 1C162984064C10D400B95A72 - 1C0AD2AC069F1E9B00FABCE6 - - ToolbarConfiguration - xcode.toolbar.config.debugV3 - WindowString - 321 238 694 422 0 0 1440 878 - WindowToolGUID - 1CD10A99069EF8BA00B06720 - WindowToolIsVisible - 0 - - - Identifier - windowTool.build - Layout - - - Dock - - - ContentConfiguration - - PBXProjectModuleGUID - 1CD0528F0623707200166675 - PBXProjectModuleLabel - <No Editor> - PBXSplitModuleInNavigatorKey - - Split0 - - PBXProjectModuleGUID - 1CD052900623707200166675 - - SplitCount - 1 - - StatusBarVisibility - 1 - - GeometryConfiguration - - Frame - {{0, 0}, {500, 215}} - RubberWindowFrame - 192 257 500 500 0 0 1280 1002 - - Module - PBXNavigatorGroup - Proportion - 218pt - - - BecomeActive - 1 - ContentConfiguration - - PBXProjectModuleGUID - XCMainBuildResultsModuleGUID - PBXProjectModuleLabel - Build - - GeometryConfiguration - - Frame - {{0, 222}, {500, 236}} - RubberWindowFrame - 192 257 500 500 0 0 1280 1002 - - Module - PBXBuildResultsModule - Proportion - 236pt - - - Proportion - 458pt - - - Name - Build Results - ServiceClasses - - PBXBuildResultsModule - - StatusbarIsVisible - 1 - TableOfContents - - 1C78EAA5065D492600B07095 - 1C78EAA6065D492600B07095 - 1CD0528F0623707200166675 - XCMainBuildResultsModuleGUID - - ToolbarConfiguration - xcode.toolbar.config.buildV3 - WindowString - 192 257 500 500 0 0 1280 1002 - - - Identifier - windowTool.find - Layout - - - Dock - - - Dock - - - ContentConfiguration - - PBXProjectModuleGUID - 1CDD528C0622207200134675 - PBXProjectModuleLabel - <No Editor> - PBXSplitModuleInNavigatorKey - - Split0 - - PBXProjectModuleGUID - 1CD0528D0623707200166675 - - SplitCount - 1 - - StatusBarVisibility - 1 - - GeometryConfiguration - - Frame - {{0, 0}, {781, 167}} - RubberWindowFrame - 62 385 781 470 0 0 1440 878 - - Module - PBXNavigatorGroup - Proportion - 781pt - - - Proportion - 50% - - - BecomeActive - 1 - ContentConfiguration - - PBXProjectModuleGUID - 1CD0528E0623707200166675 - PBXProjectModuleLabel - Project Find - - GeometryConfiguration - - Frame - {{8, 0}, {773, 254}} - RubberWindowFrame - 62 385 781 470 0 0 1440 878 - - Module - PBXProjectFindModule - Proportion - 50% - - - Proportion - 428pt - - - Name - Project Find - ServiceClasses - - PBXProjectFindModule - - StatusbarIsVisible - 1 - TableOfContents - - 1C530D57069F1CE1000CFCEE - 1C530D58069F1CE1000CFCEE - 1C530D59069F1CE1000CFCEE - 1CDD528C0622207200134675 - 1C530D5A069F1CE1000CFCEE - 1CE0B1FE06471DED0097A5F4 - 1CD0528E0623707200166675 - - WindowString - 62 385 781 470 0 0 1440 878 - WindowToolGUID - 1C530D57069F1CE1000CFCEE - WindowToolIsVisible - 0 - - - Identifier - windowTool.snapshots - Layout - - - Dock - - - Module - XCSnapshotModule - Proportion - 100% - - - Proportion - 100% - - - Name - Snapshots - ServiceClasses - - XCSnapshotModule - - StatusbarIsVisible - Yes - ToolbarConfiguration - xcode.toolbar.config.snapshots - WindowString - 315 824 300 550 0 0 1440 878 - WindowToolIsVisible - Yes - - - Identifier - windowTool.debuggerConsole - Layout - - - Dock - - - BecomeActive - 1 - ContentConfiguration - - PBXProjectModuleGUID - 1C78EAAC065D492600B07095 - PBXProjectModuleLabel - Debugger Console - - GeometryConfiguration - - Frame - {{0, 0}, {700, 358}} - RubberWindowFrame - 149 87 700 400 0 0 1440 878 - - Module - PBXDebugCLIModule - Proportion - 358pt - - - Proportion - 358pt - - - Name - Debugger Console - ServiceClasses - - PBXDebugCLIModule - - StatusbarIsVisible - 1 - TableOfContents - - 1C530D5B069F1CE1000CFCEE - 1C530D5C069F1CE1000CFCEE - 1C78EAAC065D492600B07095 - - ToolbarConfiguration - xcode.toolbar.config.consoleV3 - WindowString - 149 87 440 400 0 0 1440 878 - WindowToolGUID - 1C530D5B069F1CE1000CFCEE - WindowToolIsVisible - 0 - - - Identifier - windowTool.scm - Layout - - - Dock - - - ContentConfiguration - - PBXProjectModuleGUID - 1C78EAB2065D492600B07095 - PBXProjectModuleLabel - <No Editor> - PBXSplitModuleInNavigatorKey - - Split0 - - PBXProjectModuleGUID - 1C78EAB3065D492600B07095 - - SplitCount - 1 - - StatusBarVisibility - 1 - - GeometryConfiguration - - Frame - {{0, 0}, {452, 0}} - RubberWindowFrame - 743 379 452 308 0 0 1280 1002 - - Module - PBXNavigatorGroup - Proportion - 0pt - - - BecomeActive - 1 - ContentConfiguration - - PBXProjectModuleGUID - 1CD052920623707200166675 - PBXProjectModuleLabel - SCM - - GeometryConfiguration - - ConsoleFrame - {{0, 259}, {452, 0}} - Frame - {{0, 7}, {452, 259}} - RubberWindowFrame - 743 379 452 308 0 0 1280 1002 - TableConfiguration - - Status - 30 - FileName - 199 - Path - 197.09500122070312 - - TableFrame - {{0, 0}, {452, 250}} - - Module - PBXCVSModule - Proportion - 262pt - - - Proportion - 266pt - - - Name - SCM - ServiceClasses - - PBXCVSModule - - StatusbarIsVisible - 1 - TableOfContents - - 1C78EAB4065D492600B07095 - 1C78EAB5065D492600B07095 - 1C78EAB2065D492600B07095 - 1CD052920623707200166675 - - ToolbarConfiguration - xcode.toolbar.config.scmV3 - WindowString - 743 379 452 308 0 0 1280 1002 - - - Identifier - windowTool.breakpoints - IsVertical - 0 - Layout - - - Dock - - - BecomeActive - 1 - ContentConfiguration - - PBXBottomSmartGroupGIDs - - 1C77FABC04509CD000000102 - - PBXProjectModuleGUID - 1CE0B1FE06471DED0097A5F4 - PBXProjectModuleLabel - Files - PBXProjectStructureProvided - no - PBXSmartGroupTreeModuleColumnData - - PBXSmartGroupTreeModuleColumnWidthsKey - - 168 - - PBXSmartGroupTreeModuleColumnsKey_v4 - - MainColumn - - - PBXSmartGroupTreeModuleOutlineStateKey_v7 - - PBXSmartGroupTreeModuleOutlineStateExpansionKey - - 1C77FABC04509CD000000102 - - PBXSmartGroupTreeModuleOutlineStateSelectionKey - - - 0 - - - PBXSmartGroupTreeModuleOutlineStateVisibleRectKey - {{0, 0}, {168, 350}} - - PBXTopSmartGroupGIDs - - XCIncludePerspectivesSwitch - 0 - - GeometryConfiguration - - Frame - {{0, 0}, {185, 368}} - GroupTreeTableConfiguration - - MainColumn - 168 - - RubberWindowFrame - 315 424 744 409 0 0 1440 878 - - Module - PBXSmartGroupTreeModule - Proportion - 185pt - - - ContentConfiguration - - PBXProjectModuleGUID - 1CA1AED706398EBD00589147 - PBXProjectModuleLabel - Detail - - GeometryConfiguration - - Frame - {{190, 0}, {554, 368}} - RubberWindowFrame - 315 424 744 409 0 0 1440 878 - - Module - XCDetailModule - Proportion - 554pt - - - Proportion - 368pt - - - MajorVersion - 3 - MinorVersion - 0 - Name - Breakpoints - ServiceClasses - - PBXSmartGroupTreeModule - XCDetailModule - - StatusbarIsVisible - 1 - TableOfContents - - 1CDDB66807F98D9800BB5817 - 1CDDB66907F98D9800BB5817 - 1CE0B1FE06471DED0097A5F4 - 1CA1AED706398EBD00589147 - - ToolbarConfiguration - xcode.toolbar.config.breakpointsV3 - WindowString - 315 424 744 409 0 0 1440 878 - WindowToolGUID - 1CDDB66807F98D9800BB5817 - WindowToolIsVisible - 1 - - - Identifier - windowTool.debugAnimator - Layout - - - Dock - - - Module - PBXNavigatorGroup - Proportion - 100% - - - Proportion - 100% - - - Name - Debug Visualizer - ServiceClasses - - PBXNavigatorGroup - - StatusbarIsVisible - 1 - ToolbarConfiguration - xcode.toolbar.config.debugAnimatorV3 - WindowString - 100 100 700 500 0 0 1280 1002 - - - Identifier - windowTool.bookmarks - Layout - - - Dock - - - Module - PBXBookmarksModule - Proportion - 166pt - - - Proportion - 166pt - - - Name - Bookmarks - ServiceClasses - - PBXBookmarksModule - - StatusbarIsVisible - 0 - WindowString - 538 42 401 187 0 0 1280 1002 - - - Identifier - windowTool.projectFormatConflicts - Layout - - - Dock - - - Module - XCProjectFormatConflictsModule - Proportion - 100% - - - Proportion - 100% - - - Name - Project Format Conflicts - ServiceClasses - - XCProjectFormatConflictsModule - - StatusbarIsVisible - 0 - WindowContentMinSize - 450 300 - WindowString - 50 850 472 307 0 0 1440 877 - - - Identifier - windowTool.classBrowser - Layout - - - Dock - - - BecomeActive - 1 - ContentConfiguration - - OptionsSetName - Hierarchy, all classes - PBXProjectModuleGUID - 1CA6456E063B45B4001379D8 - PBXProjectModuleLabel - Class Browser - NSObject - - GeometryConfiguration - - ClassesFrame - {{0, 0}, {369, 96}} - ClassesTreeTableConfiguration - - PBXClassNameColumnIdentifier - 208 - PBXClassBookColumnIdentifier - 22 - - Frame - {{0, 0}, {616, 353}} - MembersFrame - {{0, 105}, {369, 395}} - MembersTreeTableConfiguration - - PBXMemberTypeIconColumnIdentifier - 22 - PBXMemberNameColumnIdentifier - 216 - PBXMemberTypeColumnIdentifier - 94 - PBXMemberBookColumnIdentifier - 22 - - PBXModuleWindowStatusBarHidden2 - 1 - RubberWindowFrame - 597 125 616 374 0 0 1280 1002 - - Module - PBXClassBrowserModule - Proportion - 354pt - - - Proportion - 354pt - - - Name - Class Browser - ServiceClasses - - PBXClassBrowserModule - - StatusbarIsVisible - 0 - TableOfContents - - 1C78EABA065D492600B07095 - 1C78EABB065D492600B07095 - 1CA6456E063B45B4001379D8 - - ToolbarConfiguration - xcode.toolbar.config.classbrowser - WindowString - 597 125 616 374 0 0 1280 1002 - - - Identifier - windowTool.refactoring - IncludeInToolsMenu - 0 - Layout - - - Dock - - - BecomeActive - 1 - GeometryConfiguration - - Frame - {0, 0}, {500, 335} - RubberWindowFrame - {0, 0}, {500, 335} - - Module - XCRefactoringModule - Proportion - 100% - - - Proportion - 100% - - - Name - Refactoring - ServiceClasses - - XCRefactoringModule - - WindowString - 200 200 500 356 0 0 1920 1200 - - - - diff --git a/Build/Xcode/libtess2.xcodeproj/project.pbxproj b/Build/Xcode/libtess2.xcodeproj/project.pbxproj deleted file mode 100644 index b75f3a3..0000000 --- a/Build/Xcode/libtess2.xcodeproj/project.pbxproj +++ /dev/null @@ -1,385 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; - 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; - 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */; }; - 6B33E3331235065700141A9B /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B33E3321235065700141A9B /* OpenGL.framework */; }; - 6B58CB0C1019935200956BA2 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB091019935200956BA2 /* main.c */; }; - 6B58CB0D1019935200956BA2 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB0B1019935200956BA2 /* SDLMain.m */; }; - 6B58CB121019938400956BA2 /* nanosvg.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB101019938400956BA2 /* nanosvg.c */; }; - 6B58CB541019948500956BA2 /* bucketalloc.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB461019948500956BA2 /* bucketalloc.c */; }; - 6B58CB551019948500956BA2 /* dict.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB481019948500956BA2 /* dict.c */; }; - 6B58CB561019948500956BA2 /* geom.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB4A1019948500956BA2 /* geom.c */; }; - 6B58CB571019948500956BA2 /* mesh.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB4C1019948500956BA2 /* mesh.c */; }; - 6B58CB581019948500956BA2 /* priorityq.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB4E1019948500956BA2 /* priorityq.c */; }; - 6B58CB591019948500956BA2 /* sweep.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB501019948500956BA2 /* sweep.c */; }; - 6B58CB5A1019948500956BA2 /* tess.c in Sources */ = {isa = PBXBuildFile; fileRef = 6B58CB521019948500956BA2 /* tess.c */; }; - 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, - ); - name = "Copy Frameworks into .app bundle"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; - 002F3AF009D08F1000EBEB88 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = ""; }; - 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 32CA4F630368D1EE00C91783 /* libtess2_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = libtess2_Prefix.pch; sourceTree = ""; }; - 6B33E3321235065700141A9B /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; - 6B58CB091019935200956BA2 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = main.c; path = ../../Example/main.c; sourceTree = SOURCE_ROOT; }; - 6B58CB0A1019935200956BA2 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDLMain.h; path = ../../Example/SDLMain.h; sourceTree = SOURCE_ROOT; }; - 6B58CB0B1019935200956BA2 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDLMain.m; path = ../../Example/SDLMain.m; sourceTree = SOURCE_ROOT; }; - 6B58CB101019938400956BA2 /* nanosvg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = nanosvg.c; path = ../../Contrib/nanosvg.c; sourceTree = SOURCE_ROOT; }; - 6B58CB111019938400956BA2 /* nanosvg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = nanosvg.h; path = ../../Contrib/nanosvg.h; sourceTree = SOURCE_ROOT; }; - 6B58CB451019947700956BA2 /* tesselator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = tesselator.h; path = ../../Include/tesselator.h; sourceTree = SOURCE_ROOT; }; - 6B58CB461019948500956BA2 /* bucketalloc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = bucketalloc.c; path = ../../Source/bucketalloc.c; sourceTree = SOURCE_ROOT; }; - 6B58CB471019948500956BA2 /* bucketalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bucketalloc.h; path = ../../Source/bucketalloc.h; sourceTree = SOURCE_ROOT; }; - 6B58CB481019948500956BA2 /* dict.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dict.c; path = ../../Source/dict.c; sourceTree = SOURCE_ROOT; }; - 6B58CB491019948500956BA2 /* dict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dict.h; path = ../../Source/dict.h; sourceTree = SOURCE_ROOT; }; - 6B58CB4A1019948500956BA2 /* geom.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = geom.c; path = ../../Source/geom.c; sourceTree = SOURCE_ROOT; }; - 6B58CB4B1019948500956BA2 /* geom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = geom.h; path = ../../Source/geom.h; sourceTree = SOURCE_ROOT; }; - 6B58CB4C1019948500956BA2 /* mesh.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mesh.c; path = ../../Source/mesh.c; sourceTree = SOURCE_ROOT; }; - 6B58CB4D1019948500956BA2 /* mesh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mesh.h; path = ../../Source/mesh.h; sourceTree = SOURCE_ROOT; }; - 6B58CB4E1019948500956BA2 /* priorityq.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = priorityq.c; path = ../../Source/priorityq.c; sourceTree = SOURCE_ROOT; }; - 6B58CB4F1019948500956BA2 /* priorityq.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = priorityq.h; path = ../../Source/priorityq.h; sourceTree = SOURCE_ROOT; }; - 6B58CB501019948500956BA2 /* sweep.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sweep.c; path = ../../Source/sweep.c; sourceTree = SOURCE_ROOT; }; - 6B58CB511019948500956BA2 /* sweep.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sweep.h; path = ../../Source/sweep.h; sourceTree = SOURCE_ROOT; }; - 6B58CB521019948500956BA2 /* tess.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tess.c; path = ../../Source/tess.c; sourceTree = SOURCE_ROOT; }; - 6B58CB531019948500956BA2 /* tess.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = tess.h; path = ../../Source/tess.h; sourceTree = SOURCE_ROOT; }; - 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; - 8D1107320486CEB800E47090 /* libtess2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = libtess2.app; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 8D11072E0486CEB800E47090 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, - 6B33E3331235065700141A9B /* OpenGL.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - 6B58CB0A1019935200956BA2 /* SDLMain.h */, - 6B58CB0B1019935200956BA2 /* SDLMain.m */, - ); - name = Classes; - sourceTree = ""; - }; - 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { - isa = PBXGroup; - children = ( - 002F39F909D0881F00EBEB88 /* SDL.framework */, - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, - 6B33E3321235065700141A9B /* OpenGL.framework */, - ); - name = "Linked Frameworks"; - sourceTree = ""; - }; - 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 29B97324FDCFA39411CA2CEA /* AppKit.framework */, - 29B97325FDCFA39411CA2CEA /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 8D1107320486CEB800E47090 /* libtess2.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* libtess2 */ = { - isa = PBXGroup; - children = ( - 6B58CB3D1019942B00956BA2 /* Libtess2 */, - 6B58CB101019938400956BA2 /* nanosvg.c */, - 6B58CB111019938400956BA2 /* nanosvg.h */, - 6B58CB091019935200956BA2 /* main.c */, - 080E96DDFE201D6D7F000001 /* Classes */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = libtess2; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 32CA4F630368D1EE00C91783 /* libtess2_Prefix.pch */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 8D1107310486CEB800E47090 /* Info.plist */, - 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, - 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, - 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, - ); - name = Frameworks; - sourceTree = ""; - }; - 6B58CB3D1019942B00956BA2 /* Libtess2 */ = { - isa = PBXGroup; - children = ( - 6B58CB461019948500956BA2 /* bucketalloc.c */, - 6B58CB471019948500956BA2 /* bucketalloc.h */, - 6B58CB481019948500956BA2 /* dict.c */, - 6B58CB491019948500956BA2 /* dict.h */, - 6B58CB4A1019948500956BA2 /* geom.c */, - 6B58CB4B1019948500956BA2 /* geom.h */, - 6B58CB4C1019948500956BA2 /* mesh.c */, - 6B58CB4D1019948500956BA2 /* mesh.h */, - 6B58CB4E1019948500956BA2 /* priorityq.c */, - 6B58CB4F1019948500956BA2 /* priorityq.h */, - 6B58CB501019948500956BA2 /* sweep.c */, - 6B58CB511019948500956BA2 /* sweep.h */, - 6B58CB521019948500956BA2 /* tess.c */, - 6B58CB531019948500956BA2 /* tess.h */, - 6B58CB451019947700956BA2 /* tesselator.h */, - ); - name = Libtess2; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 8D1107260486CEB800E47090 /* libtess2 */ = { - isa = PBXNativeTarget; - buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "libtess2" */; - buildPhases = ( - 8D1107290486CEB800E47090 /* Resources */, - 8D11072C0486CEB800E47090 /* Sources */, - 8D11072E0486CEB800E47090 /* Frameworks */, - 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = libtess2; - productInstallPath = "$(HOME)/Applications"; - productName = libtess2; - productReference = 8D1107320486CEB800E47090 /* libtess2.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0410; - }; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "libtess2" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - en, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* libtess2 */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 8D1107260486CEB800E47090 /* libtess2 */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 8D1107290486CEB800E47090 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, - 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 8D11072C0486CEB800E47090 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6B58CB0C1019935200956BA2 /* main.c in Sources */, - 6B58CB0D1019935200956BA2 /* SDLMain.m in Sources */, - 6B58CB121019938400956BA2 /* nanosvg.c in Sources */, - 6B58CB541019948500956BA2 /* bucketalloc.c in Sources */, - 6B58CB551019948500956BA2 /* dict.c in Sources */, - 6B58CB561019948500956BA2 /* geom.c in Sources */, - 6B58CB571019948500956BA2 /* mesh.c in Sources */, - 6B58CB581019948500956BA2 /* priorityq.c in Sources */, - 6B58CB591019948500956BA2 /* sweep.c in Sources */, - 6B58CB5A1019948500956BA2 /* tess.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */ = { - isa = PBXVariantGroup; - children = ( - 002F3AF009D08F1000EBEB88 /* English */, - ); - name = SDLMain.nib; - sourceTree = ""; - }; - 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 089C165DFE840E0CC02AAC07 /* English */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - C01FCF4B08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CONFIGURATION_BUILD_DIR = ../../Bin; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(HOME)/Applications"; - PRODUCT_NAME = libtess2; - WRAPPER_EXTENSION = app; - ZERO_LINK = YES; - }; - name = Debug; - }; - C01FCF4C08A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ( - ppc, - i386, - ); - CONFIGURATION_BUILD_DIR = ../../Bin; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_MODEL_TUNING = G5; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(HOME)/Applications"; - PRODUCT_NAME = libtess2; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(HOME)/Library/Frameworks", - /Library/Frameworks, - "$(FRAMEWORK_SEARCH_PATHS)", - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(HOME)/Library/Frameworks/SDL.framework/Headers", - /Library/Frameworks/SDL.framework/Headers, - "$(HEADER_SEARCH_PATHS)", - ); - MACOSX_DEPLOYMENT_TARGET = 10.6; - SDKROOT = macosx10.6; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(HOME)/Library/Frameworks", - /Library/Frameworks, - "$(FRAMEWORK_SEARCH_PATHS)", - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(HOME)/Library/Frameworks/SDL.framework/Headers", - /Library/Frameworks/SDL.framework/Headers, - "$(HEADER_SEARCH_PATHS)", - ); - MACOSX_DEPLOYMENT_TARGET = 10.6; - SDKROOT = macosx10.6; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "libtess2" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4B08A954540054247B /* Debug */, - C01FCF4C08A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "libtess2" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/Build/Xcode/libtess2.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Build/Xcode/libtess2.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 752d81d..0000000 --- a/Build/Xcode/libtess2.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Build/Xcode/libtess2.xcodeproj/project.xcworkspace/xcuserdata/memon.xcuserdatad/UserInterfaceState.xcuserstate b/Build/Xcode/libtess2.xcodeproj/project.xcworkspace/xcuserdata/memon.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 72981f3..0000000 --- a/Build/Xcode/libtess2.xcodeproj/project.xcworkspace/xcuserdata/memon.xcuserdatad/UserInterfaceState.xcuserstate +++ /dev/null @@ -1,2073 +0,0 @@ - - - - - $archiver - NSKeyedArchiver - $objects - - $null - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 2 - - - CF$UID - 3 - - - NS.objects - - - CF$UID - 4 - - - CF$UID - 147 - - - - 29D63372-45A9-453A-893B-7B4BB1455209 - IDEWorkspaceDocument - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 5 - - - CF$UID - 6 - - - CF$UID - 7 - - - CF$UID - 8 - - - CF$UID - 9 - - - CF$UID - 10 - - - CF$UID - 11 - - - CF$UID - 12 - - - NS.objects - - - CF$UID - 13 - - - CF$UID - 145 - - - CF$UID - 146 - - - CF$UID - 50 - - - CF$UID - 2 - - - CF$UID - 5 - - - CF$UID - 22 - - - CF$UID - 50 - - - - IDEWorkspaceTabController_02CAE73A-C833-4DE0-A43B-9EFC376AD5B5 - IDEWindowFrame - IDEOrderedWorkspaceTabControllers - IDEWindowInFullscreenMode - IDEWorkspaceWindowControllerUniqueIdentifier - IDEActiveWorkspaceTabController - IDEWindowToolbarIsVisible - IDEWindowTabBarIsVisible - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 14 - - - CF$UID - 15 - - - CF$UID - 16 - - - CF$UID - 17 - - - CF$UID - 18 - - - CF$UID - 19 - - - CF$UID - 20 - - - NS.objects - - - CF$UID - 21 - - - CF$UID - 22 - - - CF$UID - 23 - - - CF$UID - 36 - - - CF$UID - 74 - - - CF$UID - 50 - - - CF$UID - 83 - - - - AssistantEditorsLayout - IDEShowNavigator - IDEWorkspaceTabControllerUtilityAreaSplitView - IDENavigatorArea - IDEWorkspaceTabControllerDesignAreaSplitView - IDEShowUtilities - IDEEditorArea - 0 - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 24 - - - NS.objects - - - CF$UID - 25 - - - - DVTSplitViewItems - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 26 - - - CF$UID - 32 - - - - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 29 - - - CF$UID - 30 - - - - DVTIdentifier - DVTViewMagnitude - - 442 - - $classes - - NSDictionary - NSObject - - $classname - NSDictionary - - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 29 - - - CF$UID - 33 - - - - 224 - - $classes - - NSMutableArray - NSArray - NSObject - - $classname - NSMutableArray - - - $classes - - NSMutableDictionary - NSDictionary - NSObject - - $classname - NSMutableDictionary - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 37 - - - CF$UID - 38 - - - CF$UID - 39 - - - NS.objects - - - CF$UID - 40 - - - CF$UID - 37 - - - CF$UID - 58 - - - - Xcode.IDEKit.Navigator.Issues - SelectedNavigator - Xcode.IDEKit.Navigator.Structure - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 41 - - - CF$UID - 42 - - - CF$UID - 43 - - - CF$UID - 44 - - - CF$UID - 45 - - - CF$UID - 46 - - - CF$UID - 47 - - - CF$UID - 48 - - - CF$UID - 49 - - - NS.objects - - - CF$UID - 50 - - - CF$UID - 51 - - - CF$UID - 52 - - - CF$UID - 54 - - - CF$UID - 55 - - - CF$UID - 50 - - - CF$UID - 56 - - - CF$UID - 50 - - - CF$UID - 57 - - - - IDEErrorFilteringEnabled - IDEVisibleRect - IDECollapsedFiles - IDEExpandedIssues - IDESelectedNavigables - IDEShowsByType - IDECollapsedTypes - IDERecentFilteringEnabled - IDECollapsedGroups - - {{0, 0}, {259, 600}} - - $class - - CF$UID - 53 - - NS.objects - - - - $classes - - NSMutableSet - NSSet - NSObject - - $classname - NSMutableSet - - - $class - - CF$UID - 53 - - NS.objects - - - - $class - - CF$UID - 34 - - NS.objects - - - - $class - - CF$UID - 53 - - NS.objects - - - - $class - - CF$UID - 53 - - NS.objects - - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 59 - - - CF$UID - 60 - - - CF$UID - 61 - - - CF$UID - 62 - - - CF$UID - 63 - - - CF$UID - 64 - - - CF$UID - 65 - - - NS.objects - - - CF$UID - 66 - - - CF$UID - 50 - - - CF$UID - 67 - - - CF$UID - 50 - - - CF$UID - 50 - - - CF$UID - 69 - - - CF$UID - 71 - - - - IDEVisibleRect - IDEUnsavedDocumentFilteringEnabled - IDENavigatorExpandedItemsBeforeFilteringSet - IDERecentDocumentFilteringEnabled - IDESCMStatusFilteringEnabled - IDESelectedObjects - IDEExpandedItemsSet - {{0, 0}, {259, 622}} - - $class - - CF$UID - 68 - - NS.objects - - - - $classes - - NSSet - NSObject - - $classname - NSSet - - - $class - - CF$UID - 70 - - NS.objects - - - - $classes - - NSArray - NSObject - - $classname - NSArray - - - $class - - CF$UID - 68 - - NS.objects - - - CF$UID - 72 - - - - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 73 - - - - libtess2 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 24 - - - NS.objects - - - CF$UID - 75 - - - - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 76 - - - CF$UID - 78 - - - CF$UID - 80 - - - - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 17 - - - CF$UID - 77 - - - - 260 - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 20 - - - CF$UID - 79 - - - - 1106 - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 81 - - - CF$UID - 82 - - - - IDEUtilitiesArea - 260 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 84 - - - CF$UID - 85 - - - CF$UID - 86 - - - CF$UID - 87 - - - CF$UID - 88 - - - CF$UID - 89 - - - CF$UID - 90 - - - CF$UID - 91 - - - NS.objects - - - CF$UID - 92 - - - CF$UID - 98 - - - CF$UID - 110 - - - CF$UID - 22 - - - CF$UID - 21 - - - CF$UID - 136 - - - CF$UID - 144 - - - CF$UID - 50 - - - - layoutTree - IDEEditorMode_Standard - IDEEDitorArea_DebugArea - IDEShowEditor - EditorMode - DebuggerSplitView - DefaultPersistentRepresentations - ShowDebuggerArea - - $class - - CF$UID - 97 - - geniusEditorContextNode - - CF$UID - 0 - - primaryEditorContextNode - - CF$UID - 93 - - rootLayoutTreeNode - - CF$UID - 94 - - - - $class - - CF$UID - 96 - - children - - CF$UID - 0 - - contentType - 1 - documentArchivableRepresentation - - CF$UID - 0 - - orientation - 0 - parent - - CF$UID - 94 - - - - $class - - CF$UID - 96 - - children - - CF$UID - 95 - - contentType - 0 - documentArchivableRepresentation - - CF$UID - 0 - - orientation - 0 - parent - - CF$UID - 0 - - - - $class - - CF$UID - 70 - - NS.objects - - - CF$UID - 93 - - - - - $classes - - IDEWorkspaceTabControllerLayoutTreeNode - NSObject - - $classname - IDEWorkspaceTabControllerLayoutTreeNode - - - $classes - - IDEWorkspaceTabControllerLayoutTree - NSObject - - $classname - IDEWorkspaceTabControllerLayoutTree - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 99 - - - NS.objects - - - CF$UID - 100 - - - - EditorLayout_PersistentRepresentation - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 101 - - - NS.objects - - - CF$UID - 102 - - - - Main - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 103 - - - CF$UID - 104 - - - CF$UID - 105 - - - NS.objects - - - CF$UID - 106 - - - CF$UID - 21 - - - CF$UID - 108 - - - - EditorLayout_StateSavingStateDictionaries - EditorLayout_Selected - EditorLayout_Geometry - - $class - - CF$UID - 70 - - NS.objects - - - CF$UID - 107 - - - - - $class - - CF$UID - 35 - - NS.keys - - NS.objects - - - - $class - - CF$UID - 70 - - NS.objects - - - CF$UID - 109 - - - - {{0, 0}, {1106, 666}} - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 111 - - - CF$UID - 112 - - - CF$UID - 113 - - - CF$UID - 114 - - - CF$UID - 115 - - - CF$UID - 116 - - - NS.objects - - - CF$UID - 117 - - - CF$UID - 118 - - - CF$UID - 120 - - - CF$UID - 117 - - - CF$UID - 122 - - - CF$UID - 130 - - - - LayoutFocusMode - console - variables - LayoutMode - IDEDebugArea_SplitView - IDEDebuggerAreaSplitView - 1 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 119 - - - NS.objects - - - CF$UID - 21 - - - - ConsoleFilterMode - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 121 - - - NS.objects - - - CF$UID - 117 - - - - VariablesViewSelectedScope - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 24 - - - NS.objects - - - CF$UID - 123 - - - - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 124 - - - CF$UID - 127 - - - - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 125 - - - CF$UID - 126 - - - - VariablesView - 555 - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 128 - - - CF$UID - 129 - - - - ConsoleArea - 550 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 24 - - - NS.objects - - - CF$UID - 131 - - - - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 132 - - - CF$UID - 134 - - - - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 125 - - - CF$UID - 133 - - - - 555 - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 128 - - - CF$UID - 135 - - - - 550 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 24 - - - NS.objects - - - CF$UID - 137 - - - - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 138 - - - CF$UID - 141 - - - - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 139 - - - CF$UID - 140 - - - - IDEEditor - 203 - - $class - - CF$UID - 31 - - NS.keys - - - CF$UID - 27 - - - CF$UID - 28 - - - NS.objects - - - CF$UID - 142 - - - CF$UID - 143 - - - - IDEDebuggerArea - 115 - - $class - - CF$UID - 35 - - NS.keys - - NS.objects - - - {{0, 4}, {1366, 742}} - - $class - - CF$UID - 70 - - NS.objects - - - CF$UID - 5 - - - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 148 - - - CF$UID - 149 - - - CF$UID - 150 - - - CF$UID - 151 - - - CF$UID - 152 - - - CF$UID - 153 - - - CF$UID - 154 - - - CF$UID - 155 - - - CF$UID - 156 - - - CF$UID - 157 - - - NS.objects - - - CF$UID - 50 - - - CF$UID - 158 - - - CF$UID - 21 - - - CF$UID - 159 - - - CF$UID - 164 - - - CF$UID - 167 - - - CF$UID - 199 - - - CF$UID - 200 - - - CF$UID - 50 - - - CF$UID - 50 - - - - BreakpointsActivated - DefaultEditorStatesForURLs - DebuggingWindowBehavior - ActiveRunDestination - ActiveScheme - LastCompletedPersistentSchemeBasedActivityReport - DocumentWindows - RecentEditorDocumentURLs - AppFocusInMiniDebugging - MiniDebuggingConsole - - $class - - CF$UID - 35 - - NS.keys - - NS.objects - - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 160 - - - CF$UID - 161 - - - NS.objects - - - CF$UID - 162 - - - CF$UID - 163 - - - - IDEDeviceLocation - IDEDeviceArchitecture - dvtdevice-local-computer:localhost - i386 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 165 - - - NS.objects - - - CF$UID - 166 - - - - IDENameString - libtess2 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 168 - - - CF$UID - 169 - - - CF$UID - 170 - - - NS.objects - - - CF$UID - 171 - - - CF$UID - 197 - - - CF$UID - 198 - - - - IDEActivityReportCompletionSummaryStringSegments - IDEActivityReportOptions - IDEActivityReportTitle - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 172 - - - CF$UID - 179 - - - CF$UID - 183 - - - CF$UID - 188 - - - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 173 - - - CF$UID - 174 - - - CF$UID - 175 - - - NS.objects - - - CF$UID - 176 - - - CF$UID - 177 - - - CF$UID - 178 - - - - IDEActivityReportStringSegmentPriority - IDEActivityReportStringSegmentBackSeparator - IDEActivityReportStringSegmentStringValue - 2 - - Build - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 173 - - - CF$UID - 174 - - - CF$UID - 175 - - - NS.objects - - - CF$UID - 180 - - - CF$UID - 181 - - - CF$UID - 182 - - - - 4 - : - libtess2 - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 173 - - - CF$UID - 174 - - - CF$UID - 175 - - - NS.objects - - - CF$UID - 184 - - - CF$UID - 185 - - - CF$UID - 186 - - - - 1 - - - $class - - CF$UID - 187 - - NS.data - - YnBsaXN0MDDUAQIDBAUGOzxYJHZlcnNpb25YJG9iamVjdHNZJGFy - Y2hpdmVyVCR0b3ASAAGGoK0HCA8QGhscJCUrMTQ3VSRudWxs0wkK - CwwNDlxOU0F0dHJpYnV0ZXNWJGNsYXNzWE5TU3RyaW5ngAOADIAC - WVN1Y2NlZWRlZNMKERITFBdXTlMua2V5c1pOUy5vYmplY3RzgAui - FRaABIAFohgZgAaACVZOU0ZvbnRXTlNDb2xvctQKHR4fICEiI1ZO - U05hbWVWTlNTaXplWE5TZkZsYWdzgAiAByNAJgAAAAAAABENEF8Q - EUx1Y2lkYUdyYW5kZS1Cb2xk0iYnKClaJGNsYXNzbmFtZVgkY2xh - c3Nlc1ZOU0ZvbnSiKCpYTlNPYmplY3TTCiwtLi8wXE5TQ29sb3JT - cGFjZVdOU1doaXRlgAoQA0IwANImJzIzV05TQ29sb3KiMirSJic1 - NlxOU0RpY3Rpb25hcnmiNSrSJic4OV8QEk5TQXR0cmlidXRlZFN0 - cmluZ6I6Kl8QEk5TQXR0cmlidXRlZFN0cmluZ18QD05TS2V5ZWRB - cmNoaXZlctE9PlRyb290gAEACAARABoAIwAtADIANwBFAEsAUgBf - AGYAbwBxAHMAdQB/AIYAjgCZAJsAngCgAKIApQCnAKkAsAC4AMEA - yADPANgA2gDcAOUA6AD8AQEBDAEVARwBHwEoAS8BPAFEAUYBSAFL - AVABWAFbAWABbQFwAXUBigGNAaIBtAG3AbwAAAAAAAACAQAAAAAA - AAA/AAAAAAAAAAAAAAAAAAABvg== - - - - $classes - - NSMutableData - NSData - NSObject - - $classname - NSMutableData - - - $class - - CF$UID - 35 - - NS.keys - - - CF$UID - 173 - - - CF$UID - 189 - - - CF$UID - 190 - - - CF$UID - 175 - - - CF$UID - 191 - - - CF$UID - 192 - - - NS.objects - - - CF$UID - 193 - - - CF$UID - 117 - - - CF$UID - 194 - - - CF$UID - 196 - - - CF$UID - 117 - - - CF$UID - 117 - - - - IDEActivityReportStringSegmentType - IDEActivityReportStringSegmentDate - IDEActivityReportStringSegmentDateStyle - IDEActivityReportStringSegmentTimeStyle - 3 - - $class - - CF$UID - 195 - - NS.time - 400540032.95346999 - - - $classes - - NSDate - NSObject - - $classname - NSDate - - Today at 23:07 - 234 - libtess2 - - $class - - CF$UID - 34 - - NS.objects - - - CF$UID - 2 - - - - - $class - - CF$UID - 34 - - NS.objects - - - - $top - - State - - CF$UID - 1 - - - $version - 100000 - - diff --git a/Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/libtess2.xcscheme b/Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/libtess2.xcscheme deleted file mode 100644 index b6cf18d..0000000 --- a/Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/libtess2.xcscheme +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/xcschememanagement.plist b/Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 7ce5e7c..0000000 --- a/Build/Xcode/libtess2.xcodeproj/xcuserdata/memon.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - SchemeUserState - - libtess2.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - 8D1107260486CEB800E47090 - - primary - - - - - diff --git a/Build/Xcode/libtess2_Prefix.pch b/Build/Xcode/libtess2_Prefix.pch deleted file mode 100644 index 9ebeccb..0000000 --- a/Build/Xcode/libtess2_Prefix.pch +++ /dev/null @@ -1,9 +0,0 @@ -// -// Prefix header for all source files of the 'libtess2' target in the 'libtess2' project -// - -#include "SDL.h" - -#ifdef __OBJC__ - #import -#endif diff --git a/Contrib/SDL/readme.txt b/Contrib/SDL/readme.txt deleted file mode 100644 index 732aca3..0000000 --- a/Contrib/SDL/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ - -Windows -Download SDL Developer Libraries from http://www.libsdl.org and unzip them here. - -OSX -Download and install OSX SDL Developer Libraries from http://www.libsdl.org \ No newline at end of file diff --git a/Example/SDLMain.h b/Example/SDLMain.h deleted file mode 100644 index d18cac7..0000000 --- a/Example/SDLMain.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SDLMain.m - main entry point for our Cocoa-ized SDL app - Initial Version: Darrell Walisser - Non-NIB-Code & other changes: Max Horn - - Feel free to customize this file to suit your needs -*/ - -#import - -@interface SDLMain : NSObject -- (IBAction)prefsMenu:(id)sender; -- (IBAction)newGame:(id)sender; -- (IBAction)openGame:(id)sender; -- (IBAction)saveGame:(id)sender; -- (IBAction)saveGameAs:(id)sender; -- (IBAction)help:(id)sender; -@end diff --git a/Example/SDLMain.m b/Example/SDLMain.m deleted file mode 100644 index b1007e3..0000000 --- a/Example/SDLMain.m +++ /dev/null @@ -1,436 +0,0 @@ -/* SDLMain.m - main entry point for our Cocoa-ized SDL app - Initial Version: Darrell Walisser - Non-NIB-Code & other changes: Max Horn - - Feel free to customize this file to suit your needs -*/ - -#import "SDL.h" -#import "SDLMain.h" -#import /* for MAXPATHLEN */ -#import - -/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, - but the method still is there and works. To avoid warnings, we declare - it ourselves here. */ -@interface NSApplication(SDL_Missing_Methods) -- (void)setAppleMenu:(NSMenu *)menu; -@end - -/* Use this flag to determine whether we use SDLMain.nib or not */ -#define SDL_USE_NIB_FILE 1 - -/* Use this flag to determine whether we use CPS (docking) or not */ -#define SDL_USE_CPS 1 -#ifdef SDL_USE_CPS -/* Portions of CPS.h */ -typedef struct CPSProcessSerNum -{ - UInt32 lo; - UInt32 hi; -} CPSProcessSerNum; - -extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); -extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); -extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); - -#endif /* SDL_USE_CPS */ - -static int gArgc; -static char **gArgv; -static BOOL gFinderLaunch; -static BOOL gCalledAppMainline = FALSE; - -static NSString *getApplicationName(void) -{ - NSDictionary *dict; - NSString *appName = 0; - - /* Determine the application name */ - dict = (NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); - if (dict) - appName = [dict objectForKey: @"CFBundleName"]; - - if (![appName length]) - appName = [[NSProcessInfo processInfo] processName]; - - return appName; -} - -#if SDL_USE_NIB_FILE -/* A helper category for NSString */ -@interface NSString (ReplaceSubString) -- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; -@end -#endif - -@interface SDLApplication : NSApplication -@end - -@implementation SDLApplication -/* Invoked from the Quit menu item */ -- (void)terminate:(id)sender -{ - /* Post a SDL_QUIT event */ - SDL_Event event; - event.type = SDL_QUIT; - SDL_PushEvent(&event); -} -@end - -/* The main class of the application, the application's delegate */ -@implementation SDLMain - -- (IBAction)prefsMenu:(id)sender -{ - printf ("prefs menu\n"); -} - -- (IBAction)newGame:(id)sender -{ - printf ("new game\n"); - - NSRunAlertPanel (@"Get ready to blow up some... stuff!", - @"Click OK to begin total carnage. Click Cancel to prevent total carnage.", @"OK", @"Cancel", nil); -} - -- (IBAction)openGame:(id)sender -{ - NSString *path = nil; - NSOpenPanel *openPanel = [ NSOpenPanel openPanel ]; - - if ( [ openPanel runModalForDirectory:nil - file:@"SavedGame" types:nil ] ) { - - path = [ [ openPanel filenames ] objectAtIndex:0 ]; - } - - printf ("open game: %s\n", [ path cString ]); -} - -- (IBAction)saveGame:(id)sender -{ - NSString *path = nil; - NSSavePanel *savePanel = [ NSSavePanel savePanel ]; - - if ( [ savePanel runModalForDirectory:nil - file:@"SaveGameFile" ] ) { - - path = [ savePanel filename ]; - } - - printf ("save game: %s\n", [ path cString ]); -} - -- (IBAction)saveGameAs:(id)sender -{ - printf ("save game as\n"); -} - -- (IBAction)help:(id)sender -{ - NSRunAlertPanel (@"Oh help, where have ye gone?", - @"Sorry, there is no help available.\n\nThis message brought to you by We Don't Document, Inc.\n\n", @"Rats", @"Good, I never read it anyway", nil); -} - - -/* Set the working directory to the .app's parent directory */ -- (void) setupWorkingDirectory:(BOOL)shouldChdir -{ - if (shouldChdir) - { - char parentdir[MAXPATHLEN]; - CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); - CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); - if (CFURLGetFileSystemRepresentation(url2, true, (UInt8 *)parentdir, MAXPATHLEN)) { - assert ( chdir (parentdir) == 0 ); /* chdir to the binary app's parent */ - } - CFRelease(url); - CFRelease(url2); - } - -} - -#if SDL_USE_NIB_FILE - -/* Fix menu to contain the real app name instead of "SDL App" */ -- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName -{ - NSRange aRange; - NSEnumerator *enumerator; - NSMenuItem *menuItem; - - aRange = [[aMenu title] rangeOfString:@"SDL App"]; - if (aRange.length != 0) - [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; - - enumerator = [[aMenu itemArray] objectEnumerator]; - while ((menuItem = [enumerator nextObject])) - { - aRange = [[menuItem title] rangeOfString:@"SDL App"]; - if (aRange.length != 0) - [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; - if ([menuItem hasSubmenu]) - [self fixMenu:[menuItem submenu] withAppName:appName]; - } - [ aMenu sizeToFit ]; -} - -#else - -static void setApplicationMenu(void) -{ - /* warning: this code is very odd */ - NSMenu *appleMenu; - NSMenuItem *menuItem; - NSString *title; - NSString *appName; - - appName = getApplicationName(); - appleMenu = [[NSMenu alloc] initWithTitle:@""]; - - /* Add menu items */ - title = [@"About " stringByAppendingString:appName]; - [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; - - [appleMenu addItem:[NSMenuItem separatorItem]]; - - title = [@"Hide " stringByAppendingString:appName]; - [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; - - menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; - [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; - - [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; - - [appleMenu addItem:[NSMenuItem separatorItem]]; - - title = [@"Quit " stringByAppendingString:appName]; - [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; - - - /* Put menu into the menubar */ - menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; - [menuItem setSubmenu:appleMenu]; - [[NSApp mainMenu] addItem:menuItem]; - - /* Tell the application object that this is now the application menu */ - [NSApp setAppleMenu:appleMenu]; - - /* Finally give up our references to the objects */ - [appleMenu release]; - [menuItem release]; -} - -/* Create a window menu */ -static void setupWindowMenu(void) -{ - NSMenu *windowMenu; - NSMenuItem *windowMenuItem; - NSMenuItem *menuItem; - - windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; - - /* "Minimize" item */ - menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; - [windowMenu addItem:menuItem]; - [menuItem release]; - - /* Put menu into the menubar */ - windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; - [windowMenuItem setSubmenu:windowMenu]; - [[NSApp mainMenu] addItem:windowMenuItem]; - - /* Tell the application object that this is now the window menu */ - [NSApp setWindowsMenu:windowMenu]; - - /* Finally give up our references to the objects */ - [windowMenu release]; - [windowMenuItem release]; -} - -/* Replacement for NSApplicationMain */ -static void CustomApplicationMain (int argc, char **argv) -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - SDLMain *sdlMain; - - /* Ensure the application object is initialised */ - [SDLApplication sharedApplication]; - -#ifdef SDL_USE_CPS - { - CPSProcessSerNum PSN; - /* Tell the dock about us */ - if (!CPSGetCurrentProcess(&PSN)) - if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) - if (!CPSSetFrontProcess(&PSN)) - [SDLApplication sharedApplication]; - } -#endif /* SDL_USE_CPS */ - - /* Set up the menubar */ - [NSApp setMainMenu:[[NSMenu alloc] init]]; - setApplicationMenu(); - setupWindowMenu(); - - /* Create SDLMain and make it the app delegate */ - sdlMain = [[SDLMain alloc] init]; - [NSApp setDelegate:sdlMain]; - - /* Start the main event loop */ - [NSApp run]; - - [sdlMain release]; - [pool release]; -} - -#endif - - -/* - * Catch document open requests...this lets us notice files when the app - * was launched by double-clicking a document, or when a document was - * dragged/dropped on the app's icon. You need to have a - * CFBundleDocumentsType section in your Info.plist to get this message, - * apparently. - * - * Files are added to gArgv, so to the app, they'll look like command line - * arguments. Previously, apps launched from the finder had nothing but - * an argv[0]. - * - * This message may be received multiple times to open several docs on launch. - * - * This message is ignored once the app's mainline has been called. - */ -- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename -{ - const char *temparg; - size_t arglen; - char *arg; - char **newargv; - - if (!gFinderLaunch) /* MacOS is passing command line args. */ - return FALSE; - - if (gCalledAppMainline) /* app has started, ignore this document. */ - return FALSE; - - temparg = [filename UTF8String]; - arglen = SDL_strlen(temparg) + 1; - arg = (char *) SDL_malloc(arglen); - if (arg == NULL) - return FALSE; - - newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); - if (newargv == NULL) - { - SDL_free(arg); - return FALSE; - } - gArgv = newargv; - - SDL_strlcpy(arg, temparg, arglen); - gArgv[gArgc++] = arg; - gArgv[gArgc] = NULL; - return TRUE; -} - - -/* Called when the internal event loop has just started running */ -- (void) applicationDidFinishLaunching: (NSNotification *) note -{ - int status; - - /* Set the working directory to the .app's parent directory */ - [self setupWorkingDirectory:gFinderLaunch]; - -#if SDL_USE_NIB_FILE - /* Set the main menu to contain the real app name instead of "SDL App" */ - [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; -#endif - - /* Hand off to main application code */ - gCalledAppMainline = TRUE; - status = SDL_main (gArgc, gArgv); - - /* We're done, thank you for playing */ - exit(status); -} -@end - - -@implementation NSString (ReplaceSubString) - -- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString -{ - unsigned int bufferSize; - unsigned int selfLen = [self length]; - unsigned int aStringLen = [aString length]; - unichar *buffer; - NSRange localRange; - NSString *result; - - bufferSize = selfLen + aStringLen - aRange.length; - buffer = NSAllocateMemoryPages(bufferSize*sizeof(unichar)); - - /* Get first part into buffer */ - localRange.location = 0; - localRange.length = aRange.location; - [self getCharacters:buffer range:localRange]; - - /* Get middle part into buffer */ - localRange.location = 0; - localRange.length = aStringLen; - [aString getCharacters:(buffer+aRange.location) range:localRange]; - - /* Get last part into buffer */ - localRange.location = aRange.location + aRange.length; - localRange.length = selfLen - localRange.location; - [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; - - /* Build output string */ - result = [NSString stringWithCharacters:buffer length:bufferSize]; - - NSDeallocateMemoryPages(buffer, bufferSize); - - return result; -} - -@end - - - -#ifdef main -# undef main -#endif - - -/* Main entry point to executable - should *not* be SDL_main! */ -int main (int argc, char **argv) -{ - /* Copy the arguments into a global variable */ - /* This is passed if we are launched by double-clicking */ - if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { - gArgv = (char **) SDL_malloc(sizeof (char *) * 2); - gArgv[0] = argv[0]; - gArgv[1] = NULL; - gArgc = 1; - gFinderLaunch = YES; - } else { - int i; - gArgc = argc; - gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); - for (i = 0; i <= argc; i++) - gArgv[i] = argv[i]; - gFinderLaunch = NO; - } - -#if SDL_USE_NIB_FILE - [SDLApplication poseAsClass:[NSApplication class]]; - NSApplicationMain (argc, argv); -#else - CustomApplicationMain (argc, argv); -#endif - return 0; -} diff --git a/Example/main.c b/Example/example.c similarity index 83% rename from Example/main.c rename to Example/example.c index 659c3db..acbc388 100644 --- a/Example/main.c +++ b/Example/example.c @@ -3,8 +3,7 @@ #include #include #include -#include "SDL.h" -#include "SDL_Opengl.h" +#include #include "nanosvg.h" #include "tesselator.h" @@ -12,12 +11,14 @@ void* stdAlloc(void* userData, unsigned int size) { int* allocated = ( int*)userData; + TESS_NOTUSED(userData); *allocated += (int)size; return malloc(size); } void stdFree(void* userData, void* ptr) { + TESS_NOTUSED(userData); free(ptr); } @@ -31,18 +32,22 @@ struct MemPool void* poolAlloc( void* userData, unsigned int size ) { struct MemPool* pool = (struct MemPool*)userData; + size = (size+0x7) & ~0x7; if (pool->size + size < pool->cap) { unsigned char* ptr = pool->buf + pool->size; pool->size += size; return ptr; } + printf("out of mem: %d < %d!\n", pool->size + size, pool->cap); return 0; } void poolFree( void* userData, void* ptr ) { // empty + TESS_NOTUSED(userData); + TESS_NOTUSED(ptr); } @@ -50,37 +55,55 @@ void poolFree( void* userData, void* ptr ) #define USE_POOL 1 +int run = 1; + +static void key(GLFWwindow* window, int key, int scancode, int action, int mods) +{ + TESS_NOTUSED(scancode); + TESS_NOTUSED(mods); + if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) + glfwSetWindowShouldClose(window, GL_TRUE); + if (key == GLFW_KEY_SPACE && action == GLFW_PRESS) + run = !run; +} + int main(int argc, char *argv[]) { - int done; - SDL_Event event; - SDL_Surface* screen; - const SDL_VideoInfo* vi; + GLFWwindow* window; + const GLFWvidmode* mode; int width,height,i,j; struct SVGPath* bg; struct SVGPath* fg; struct SVGPath* it; float bounds[4],view[4],cx,cy,w,offx,offy; - float t = 0.0f; - Uint32 lastTime,time; + float t = 0.0f, pt = 0.0f; TESSalloc ma; TESStesselator* tess = 0; const int nvp = 6; unsigned char* vflags = 0; int nvflags = 0; - int run = 1; #ifdef USE_POOL struct MemPool pool; - unsigned char mem[1024*512]; + unsigned char mem[1024*1024]; #else int allocated = 0; #endif - + TESS_NOTUSED(argc); + TESS_NOTUSED(argv); + + if (!glfwInit()) { + printf("Failed to init GLFW."); + return -1; + } + + printf("loading...\n"); // Load assets - bg = svgParseFromFile("bg.svg"); + bg = svgParseFromFile("../Bin/bg.svg"); if (!bg) return -1; - fg = svgParseFromFile("fg.svg"); + fg = svgParseFromFile("../Bin/fg.svg"); if (!fg) return -1; + + printf("go...\n"); // Flip y for (it = bg; it != NULL; it = it->next) @@ -178,28 +201,17 @@ int main(int argc, char *argv[]) #endif - - if (SDL_Init(SDL_INIT_EVERYTHING) < 0) - { - fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError()); + mode = glfwGetVideoMode(glfwGetPrimaryMonitor()); + width = mode->width - 40; + height = mode->height - 80; + window = glfwCreateWindow(width, height, "Libtess2 Demo", NULL, NULL); + if (!window) { + glfwTerminate(); return -1; } - - // Init OpenGL - SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); - SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24); - SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8); - SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8); - SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8); - SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8); - - vi = SDL_GetVideoInfo(); - width = vi->current_w - 20; - height = vi->current_h - 80; - screen = SDL_SetVideoMode(width, height, 0, SDL_OPENGL); - if (!screen) return -1; - - SDL_WM_SetCaption("libtess2 Demo", 0); + + glfwSetKeyCallback(window, key); + glfwMakeContextCurrent(window); // Adjust bounds so that we get nice view of the bg. cx = (bounds[0]+bounds[2])/2; @@ -207,39 +219,16 @@ int main(int argc, char *argv[]) w = (bounds[2]-bounds[0])/2; view[0] = cx - w*1.2f; view[2] = cx + w*1.2f; - view[1] = cy - w*1.2f*height/width; - view[3] = cy + w*1.2f*height/width; + view[1] = cy - w*1.2f*(float)height/(float)width; + view[3] = cy + w*1.2f*(float)height/(float)width; - lastTime = SDL_GetTicks(); - done = 0; - while (!done) + glfwSetTime(0); + + while (!glfwWindowShouldClose(window)) { - while (SDL_PollEvent(&event)) - { - switch (event.type) - { - case SDL_MOUSEMOTION: - break; - case SDL_MOUSEBUTTONDOWN: - break; - case SDL_KEYDOWN: - if (event.key.keysym.sym == SDLK_ESCAPE) - done = 1; - else if (event.key.keysym.sym == SDLK_SPACE) - run ^= 1; - break; - case SDL_QUIT: - done = 1; - break; - default: - break; - } - } - - time = SDL_GetTicks(); - if (run) - t += (time-lastTime) / 1000.0f; - lastTime = time; + float ct = (float)glfwGetTime(); + if (run) t += ct - pt; + pt = ct; // Update and render glViewport(0, 0, width, height); @@ -375,7 +364,8 @@ int main(int argc, char *argv[]) } glEnable(GL_DEPTH_TEST); - SDL_GL_SwapBuffers(); + glfwSwapBuffers(window); + glfwPollEvents(); } if (tess) tessDeleteTess(tess); @@ -386,6 +376,6 @@ int main(int argc, char *argv[]) svgDelete(bg); svgDelete(fg); - SDL_Quit(); + glfwTerminate(); return 0; } diff --git a/Include/tesselator.h b/Include/tesselator.h index 60e0e9b..c27541e 100755 --- a/Include/tesselator.h +++ b/Include/tesselator.h @@ -102,7 +102,7 @@ enum TessWindingRule // const TESSindex count = elems[i * 2 + 1]; // glBegin(GL_LINE_LOOP); // for (int j = 0; j < count; j++) { -// glVertex2fv(&verts[(base+count) * vertexSize]); +// glVertex2fv(&verts[(base+j) * vertexSize]); // } // glEnd(); // } @@ -121,6 +121,8 @@ typedef struct TESSalloc TESSalloc; #define TESS_UNDEF (~(TESSindex)0) +#define TESS_NOTUSED(v) do { (void)(1 ? (void)0 : ( (void)(v) ) ); } while(0) + // Custom memory allocator interface. // The internal memory allocator allocates mesh edges, vertices and faces // as well as dictionary nodes and active regions in buckets and uses simple @@ -150,9 +152,19 @@ struct TESSalloc int regionBucketSize; // 256 int extraVertices; // Number of extra vertices allocated for the priority queue. }; - + + +// +// Example use: +// +// +// +// + // tessNewTess() - Creates a new tesselator. // Use tessDeleteTess() to delete the tesselator. +// Parameters: +// alloc - pointer to a filled TESSalloc struct or NULL to use default malloc based allocator. // Returns: // new tesselator object. TESStesselator* tessNewTess( TESSalloc* alloc ); diff --git a/Source/sweep.c b/Source/sweep.c index 816ab06..73da935 100755 --- a/Source/sweep.c +++ b/Source/sweep.c @@ -438,6 +438,7 @@ static void GetIntersectData( TESStesselator *tess, TESSvertex *isect, */ { TESSreal weights[4]; + TESS_NOTUSED( tess ); isect->coords[0] = isect->coords[1] = isect->coords[2] = 0; isect->idx = TESS_UNDEF; diff --git a/Source/tess.c b/Source/tess.c index ea39ee6..013b84c 100755 --- a/Source/tess.c +++ b/Source/tess.c @@ -46,6 +46,7 @@ #define Dot(u,v) (u[0]*v[0] + u[1]*v[1] + u[2]*v[2]) +#if defined(FOR_TRITE_TEST_PROGRAM) || defined(TRUE_PROJECT) static void Normalize( TESSreal v[3] ) { TESSreal len = v[0]*v[0] + v[1]*v[1] + v[2]*v[2]; @@ -56,6 +57,7 @@ static void Normalize( TESSreal v[3] ) v[1] /= len; v[2] /= len; } +#endif #define ABS(x) ((x) < 0 ? -(x) : (x)) @@ -438,16 +440,19 @@ int tessMeshSetWindingNumber( TESSmesh *mesh, int value, void* heapAlloc( void* userData, unsigned int size ) { + TESS_NOTUSED( userData ); return malloc( size ); } void* heapRealloc( void *userData, void* ptr, unsigned int size ) { + TESS_NOTUSED( userData ); return realloc( ptr, size ); } void heapFree( void* userData, void* ptr ) { + TESS_NOTUSED( userData ); free( ptr ); } diff --git a/premake4.lua b/premake4.lua new file mode 100644 index 0000000..69533c9 --- /dev/null +++ b/premake4.lua @@ -0,0 +1,45 @@ + +local action = _ACTION or "" + +solution "libtess2" + location ( "Build" ) + configurations { "Debug", "Release" } + platforms {"native", "x64", "x32"} + + configuration "Debug" + defines { "DEBUG" } + flags { "Symbols", "ExtraWarnings"} + + configuration "Release" + defines { "NDEBUG" } + flags { "Optimize", "ExtraWarnings"} + + + project "tess2" + language "C" + kind "StaticLib" + includedirs { "Include", "Source" } + files { "Source/*.c" } + targetdir("Build") + + -- more dynamic example + project "example" + kind "ConsoleApp" + language "C" + links { "tess2" } + files { "Example/example.c", "Contrib/*.c" } + includedirs { "Include", "Contrib" } + targetdir("Build") + + configuration { "linux" } + linkoptions { "`pkg-config --libs glfw3`" } + links { "GL", "GLU", "m", "GLEW" } + defines { "NANOVG_GLEW" } + + configuration { "windows" } + links { "glfw3", "gdi32", "winmm", "user32", "GLEW", "glu32","opengl32" } + defines { "NANOVG_GLEW" } + + configuration { "macosx" } + links { "glfw3" } + linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }