Changeset 1510
- Timestamp:
- Jun 22, 2012, 5:13:30 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 9 added
- 4 deleted
- 15 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r1447 r1510 44 44 lolremez-$(LOLREMEZ_VERSION)/ 45 45 cp $(top_srcdir)/src/lol/math/real.h \ 46 $(top_srcdir)/src/lol/math/ matrix.h \46 $(top_srcdir)/src/lol/math/vector.h \ 47 47 $(top_srcdir)/src/lol/math/remez.h \ 48 48 lolremez-$(LOLREMEZ_VERSION)/lol/math/ -
trunk/orbital/Lolnament.h
r1504 r1510 384 384 private: 385 385 //mesh used to render Lolnament 386 Mesh m_ref_mesh;386 EasyMesh m_ref_mesh; 387 387 //List of Pos/Rot/Etc... currently applied to the Lolnament's meshes. 388 388 Array<transient_infos> m_point_list; -
trunk/orbital/Makefile.am
r1479 r1510 6 6 particlesystem.h tank.h player.h gun.h snake.h starfield.h \ 7 7 \ 8 shiny.lolfx\8 Lolnament.h \ 9 9 \ 10 mesh.cpp mesh.h mesh-compiler.cpp mesh-compiler.h \ 11 generated/mesh-scanner.cpp generated/mesh-parser.cpp \ 10 generated/location.hh generated/position.hh generated/stack.hh \ 12 11 \ 13 12 gun.cpp gun.h gun-compiler.cpp gun-compiler.h \ 14 generated/gun-scanner.cpp generated/gun-parser.cpp 13 generated/gun-scanner.cpp \ 14 generated/gun-parser.cpp generated/gun-parser.h 15 15 orbital_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ 16 16 orbital_LDADD = … … 25 25 $(MKDIR_P) generated 26 26 rm -f generated/[a-zA-Z]* 27 flex -o generated/mesh-scanner.cpp mesh-scanner.l28 27 flex -o generated/gun-scanner.cpp gun-scanner.l 29 bison -o generated/mesh-parser.cpp --defines=generated/mesh-parser.h \30 -d -b generated/mesh mesh-parser.y31 28 bison -o generated/gun-parser.cpp --defines=generated/gun-parser.h \ 32 29 -d -b generated/gun gun-parser.y … … 34 31 endif 35 32 36 EXTRA_DIST = mesh-scanner.l mesh-parser.y \ 37 gun-scanner.l gun-parser.y 33 EXTRA_DIST = gun-scanner.l gun-parser.y 38 34 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \ 39 35 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \ -
trunk/orbital/orbital.h
r1492 r1510 10 10 #define __ORBITAL_H__ 11 11 12 #include "mesh.h"13 12 #include "particlesystem.h" 14 13 #include "gun.h" … … 32 31 33 32 private: 34 Mesh m;33 EasyMesh m; 35 34 float m_auto_cam_timer; 36 35 vec3 m_angular_velocity; -
trunk/orbital/orbital.vcxproj
r1492 r1510 28 28 </ItemGroup> 29 29 <ItemGroup> 30 <ClInclude Include="generated\mesh-parser.h" />31 30 <ClInclude Include="generated\gun-parser.h" /> 32 31 <ClInclude Include="gun.h" /> 33 32 <ClInclude Include="Lolnament.h" /> 34 <ClInclude Include="mesh-compiler.h" />35 33 <ClInclude Include="gun-compiler.h" /> 36 <ClInclude Include="mesh.h" />37 34 <ClInclude Include="orbital.h" /> 38 35 <ClInclude Include="particlesystem.h" /> … … 43 40 </ItemGroup> 44 41 <ItemGroup> 45 <ClCompile Include="generated\mesh-parser.cpp" />46 42 <ClCompile Include="generated\gun-parser.cpp" /> 47 <ClCompile Include="generated\mesh-scanner.cpp" />48 43 <ClCompile Include="generated\gun-scanner.cpp" /> 49 <ClCompile Include="mesh-compiler.cpp" /> 50 <ClCompile Include="mesh.cpp" /> 44 <ClCompile Include="generated\location.hh" /> 45 <ClCompile Include="generated\position.hh" /> 46 <ClCompile Include="generated\stack.hh" /> 51 47 <ClCompile Include="gun-compiler.cpp" /> 52 48 <ClCompile Include="gun.cpp" /> 53 49 <ClCompile Include="orbital.cpp" /> 54 </ItemGroup>55 <ItemGroup>56 <LolFxCompile Include="shiny.lolfx" />57 50 </ItemGroup> 58 51 <ItemGroup> … … 62 55 </ItemGroup> 63 56 <ItemGroup> 64 <None Include="generated\location.hh" />65 <None Include="generated\position.hh" />66 <None Include="generated\stack.hh" />67 <None Include="mesh-scanner.l" />68 57 <None Include="gun-scanner.l" /> 69 <None Include="mesh-parser.y" />70 58 <None Include="gun-parser.y" /> 71 59 </ItemGroup> -
trunk/orbital/orbital.vcxproj.filters
r1492 r1510 3 3 <ItemGroup> 4 4 <ClInclude Include="gun.h" /> 5 <ClInclude Include="mesh.h" />6 5 <ClInclude Include="player.h" /> 7 6 <ClInclude Include="tank.h" /> 8 7 <ClInclude Include="starfield.h" /> 9 8 <ClInclude Include="snake.h" /> 10 <ClInclude Include="mesh-compiler.h" />11 9 <ClInclude Include="gun-compiler.h" /> 12 <ClInclude Include="generated\mesh-parser.h">13 <Filter>generated</Filter>14 </ClInclude>15 10 <ClInclude Include="generated\gun-parser.h"> 16 11 <Filter>generated</Filter> … … 26 21 <ItemGroup> 27 22 <ClCompile Include="orbital.cpp" /> 28 <ClCompile Include="mesh-compiler.cpp" />29 <ClCompile Include="mesh.cpp" />30 23 <ClCompile Include="gun-compiler.cpp" /> 31 24 <ClCompile Include="gun.cpp" /> 32 <ClCompile Include="generated\mesh-parser.cpp">33 <Filter>generated</Filter>34 </ClCompile>35 25 <ClCompile Include="generated\gun-parser.cpp"> 36 <Filter>generated</Filter>37 </ClCompile>38 <ClCompile Include="generated\mesh-scanner.cpp">39 26 <Filter>generated</Filter> 40 27 </ClCompile> … … 42 29 <Filter>generated</Filter> 43 30 </ClCompile> 31 <ClCompile Include="generated\location.hh"> 32 <Filter>generated</Filter> 33 </ClCompile> 34 <ClCompile Include="generated\position.hh"> 35 <Filter>generated</Filter> 36 </ClCompile> 37 <ClCompile Include="generated\stack.hh"> 38 <Filter>generated</Filter> 39 </ClCompile> 44 40 </ItemGroup> 45 41 <ItemGroup> 46 <LolFxCompile Include="shiny.lolfx" />47 </ItemGroup>48 <ItemGroup>49 <None Include="mesh-scanner.l" />50 42 <None Include="gun-scanner.l" /> 51 <None Include="mesh-parser.y" />52 43 <None Include="gun-parser.y" /> 53 <None Include="generated\location.hh">54 <Filter>generated</Filter>55 </None>56 <None Include="generated\position.hh">57 <Filter>generated</Filter>58 </None>59 <None Include="generated\stack.hh">60 <Filter>generated</Filter>61 </None>62 44 </ItemGroup> 63 45 <ItemGroup> -
trunk/orbital/particlesystem.h
r1442 r1510 72 72 73 73 private: 74 Mesh m_mesh;74 EasyMesh m_mesh; 75 75 Array<vec3, vec3, float> m_particles; 76 76 float m_angle; -
trunk/orbital/player.h
r1494 r1510 215 215 private: 216 216 int m_type; 217 Mesh m_ship_mesh, m_option_mesh, m_laser_mesh, m_exhaust_mesh;217 EasyMesh m_ship_mesh, m_option_mesh, m_laser_mesh, m_exhaust_mesh; 218 218 Stick *m_stick; 219 219 -
trunk/orbital/snake.h
r1494 r1510 181 181 182 182 private: 183 Mesh m_head, m_body, m_tail;183 EasyMesh m_head, m_body, m_tail; 184 184 float m_steer; 185 185 /* List of nodes (position, self-rotation angle, life, damage) */ -
trunk/orbital/starfield.h
r1446 r1510 72 72 73 73 private: 74 Mesh m_mesh;74 EasyMesh m_mesh; 75 75 Array<vec3, vec3, float> m_stars; 76 76 bool m_ready; -
trunk/orbital/tank.h
r1494 r1510 71 71 72 72 private: 73 Mesh m_body, m_turret;73 EasyMesh m_body, m_turret; 74 74 vec3 m_target; 75 75 float m_turret_angle; -
trunk/src/Makefile.am
r1479 r1510 16 16 lol/math/vector.h lol/math/half.h lol/math/real.h lol/math/remez.h \ 17 17 \ 18 generated/location.hh generated/position.hh generated/stack.hh \ 19 \ 18 20 application/application.cpp application/application.h \ 19 21 eglapp.cpp eglapp.h \ 22 \ 23 easymesh/easymesh.cpp easymesh/easymesh.h \ 24 easymesh/shiny.lolfx \ 25 easymesh/easymesh-compiler.cpp easymesh/easymesh-compiler.h \ 26 generated/easymesh-parser.cpp generated/easymesh-parser.h \ 27 generated/easymesh-scanner.cpp \ 20 28 \ 21 29 $(ps3_sources) \ … … 60 68 echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@ 61 69 70 if TRUE 71 generated: .FORCE 72 $(MKDIR_P) generated 73 rm -f generated/[a-zA-Z]* 74 flex -o generated/easymesh-scanner.cpp easymesh/easymesh-scanner.l 75 bison -o generated/easymesh-parser.cpp --defines=generated/easymesh-parser.h \ 76 -d -b generated/easymesh easymesh/easymesh-parser.y 77 .FORCE: 78 endif 79 80 EXTRA_DIST = easymesh/easymesh-scanner.l easymesh/easymesh-parser.y 81 62 82 sdl_sources = \ 63 83 image/codec/sdl-image.cpp \ -
trunk/src/core.h
r1455 r1510 113 113 #include "image/image.h" 114 114 #include "application/application.h" 115 #include "easymesh/easymesh.h" 115 116 116 117 // Managers -
trunk/src/easymesh/easymesh-parser.y
r1509 r1510 1 1 %{ 2 2 // 3 // Orbital3 // Lol Engine 4 4 // 5 // Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 5 // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net> 6 // (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 6 7 // (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com> 7 // (c) 2012 Sam Hocevar <sam@hocevar.net> 8 // This program is free software; you can redistribute it and/or 9 // modify it under the terms of the Do What The Fuck You Want To 10 // Public License, Version 2, as published by Sam Hocevar. See 11 // http://sam.zoy.org/projects/COPYING.WTFPL for more details. 8 12 // 9 13 … … 13 17 14 18 #include "core.h" 15 #include "loldebug.h" 16 17 using namespace lol; 18 19 #include "../mesh.h" 19 #include "easymesh/easymesh.h" 20 20 21 21 #include <string> 22 22 23 %} 23 24 … … 26 27 %defines 27 28 %skeleton "lalr1.cc" 28 %name-prefix=" orbital"29 %define parser_class_name " MeshParser"29 %name-prefix="lol" 30 %define parser_class_name "EasyMeshParser" 30 31 %locations 31 %parse-param { class MeshCompiler& mc }32 %parse-param { class EasyMeshCompiler& mc } 32 33 %error-verbose 33 34 … … 63 64 64 65 %{ 65 #include " ../mesh-compiler.h"66 #include "easymesh/easymesh-compiler.h" 66 67 67 68 #undef yylex … … 174 175 %% 175 176 176 void orbital::MeshParser::error(constMeshParser::location_type& l,177 void lol::EasyMeshParser::error(const EasyMeshParser::location_type& l, 177 178 const std::string& m) 178 179 { -
trunk/src/easymesh/easymesh-scanner.l
r1509 r1510 1 1 %{ 2 2 // 3 // Orbital3 // Lol Engine 4 4 // 5 // Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 5 // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net> 6 // (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 6 7 // (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com> 7 // (c) 2012 Sam Hocevar <sam@hocevar.net> 8 // This program is free software; you can redistribute it and/or 9 // modify it under the terms of the Do What The Fuck You Want To 10 // Public License, Version 2, as published by Sam Hocevar. See 11 // http://sam.zoy.org/projects/COPYING.WTFPL for more details. 8 12 // 9 13 … … 13 17 14 18 #include "core.h" 15 #include " loldebug.h"19 #include "easymesh/easymesh-compiler.h" 16 20 17 using namespace lol; 18 19 #include "../mesh-compiler.h" 20 21 typedef orbital::MeshParser::token token; 22 typedef orbital::MeshParser::token_type token_type; 21 typedef lol::EasyMeshParser::token token; 22 typedef lol::EasyMeshParser::token_type token_type; 23 23 24 24 #ifndef YY_DECL 25 # define YY_DECL orbital::MeshParser::token_type \26 orbital::MeshScanner::lex(orbital::MeshParser::semantic_type* yylval, \27 orbital::MeshParser::location_type* yylloc)25 # define YY_DECL lol::EasyMeshParser::token_type \ 26 lol::EasyMeshScanner::lex(lol::EasyMeshParser::semantic_type* yylval, \ 27 lol::EasyMeshParser::location_type* yylloc) 28 28 #endif 29 29 … … 33 33 %} 34 34 35 %option c++ prefix=" Mesh"35 %option c++ prefix="EasyMesh" 36 36 %option batch yywrap nounput stack 37 37 … … 109 109 %% 110 110 111 orbital::MeshScanner::MeshScanner(char const *command)112 : MeshFlexLexer(0, 0),111 lol::EasyMeshScanner::EasyMeshScanner(char const *command) 112 : EasyMeshFlexLexer(0, 0), 113 113 m_input(command) 114 114 { 115 115 } 116 116 117 orbital::MeshScanner::~MeshScanner()117 lol::EasyMeshScanner::~EasyMeshScanner() 118 118 { 119 119 } 120 120 121 int orbital::MeshScanner::LexerInput(char* buf, int max_size)121 int lol::EasyMeshScanner::LexerInput(char* buf, int max_size) 122 122 { 123 123 buf[0] = m_input[0]; … … 130 130 #undef yylex 131 131 #endif 132 int MeshFlexLexer::yylex()132 int EasyMeshFlexLexer::yylex() 133 133 { 134 std::cerr << "in MeshFlexLexer::yylex() !" << std::endl;134 std::cerr << "in EasyMeshFlexLexer::yylex() !" << std::endl; 135 135 return 0; 136 136 } 137 137 138 int MeshFlexLexer::yywrap()138 int EasyMeshFlexLexer::yywrap() 139 139 { 140 140 return 1; -
trunk/src/generated/easymesh-parser.cpp
r1509 r1510 32 32 33 33 // Take the name prefix into account. 34 #define yylex orbitallex34 #define yylex lollex 35 35 36 36 /* First part of user declarations. */ 37 37 38 38 /* Line 293 of lalr1.cc */ 39 #line 1 " mesh-parser.y"39 #line 1 "easymesh/easymesh-parser.y" 40 40 41 41 // 42 // Orbital42 // Lol Engine 43 43 // 44 // Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 44 // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net> 45 // (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 45 46 // (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com> 46 // (c) 2012 Sam Hocevar <sam@hocevar.net> 47 // This program is free software; you can redistribute it and/or 48 // modify it under the terms of the Do What The Fuck You Want To 49 // Public License, Version 2, as published by Sam Hocevar. See 50 // http://sam.zoy.org/projects/COPYING.WTFPL for more details. 47 51 // 48 52 … … 52 56 53 57 #include "core.h" 54 #include "loldebug.h" 55 56 using namespace lol; 57 58 #include "../mesh.h" 58 #include "easymesh/easymesh.h" 59 59 60 60 #include <string> 61 61 62 62 63 63 64 /* Line 293 of lalr1.cc */ 64 #line 6 5 "generated/mesh-parser.cpp"65 66 67 #include " mesh-parser.h"65 #line 66 "generated/easymesh-parser.cpp" 66 67 68 #include "easymesh-parser.h" 68 69 69 70 /* User implementation prologue. */ 70 71 71 72 /* Line 299 of lalr1.cc */ 72 #line 6 4 "mesh-parser.y"73 74 #include " ../mesh-compiler.h"73 #line 65 "easymesh/easymesh-parser.y" 74 75 #include "easymesh/easymesh-compiler.h" 75 76 76 77 #undef yylex … … 79 80 80 81 /* Line 299 of lalr1.cc */ 81 #line 8 2 "generated/mesh-parser.cpp"82 #line 83 "generated/easymesh-parser.cpp" 82 83 83 84 #ifndef YY_ … … 162 163 163 164 164 namespace orbital {165 namespace lol { 165 166 166 167 /* Line 382 of lalr1.cc */ 167 #line 16 8 "generated/mesh-parser.cpp"168 #line 169 "generated/easymesh-parser.cpp" 168 169 169 170 /* Return YYSTR after stripping away unnecessary quotes and … … 173 174 YYSTR is taken from yytname. */ 174 175 std::string 175 MeshParser::yytnamerr_ (const char *yystr)176 EasyMeshParser::yytnamerr_ (const char *yystr) 176 177 { 177 178 if (*yystr == '"') … … 206 207 207 208 /// Build a parser object. 208 MeshParser::MeshParser (classMeshCompiler& mc_yyarg)209 EasyMeshParser::EasyMeshParser (class EasyMeshCompiler& mc_yyarg) 209 210 : 210 211 #if YYDEBUG … … 216 217 } 217 218 218 MeshParser::~MeshParser ()219 EasyMeshParser::~EasyMeshParser () 219 220 { 220 221 } … … 226 227 227 228 inline void 228 MeshParser::yy_symbol_value_print_ (int yytype,229 EasyMeshParser::yy_symbol_value_print_ (int yytype, 229 230 const semantic_type* yyvaluep, const location_type* yylocationp) 230 231 { … … 240 241 241 242 void 242 MeshParser::yy_symbol_print_ (int yytype,243 EasyMeshParser::yy_symbol_print_ (int yytype, 243 244 const semantic_type* yyvaluep, const location_type* yylocationp) 244 245 { … … 252 253 253 254 void 254 MeshParser::yydestruct_ (const char* yymsg,255 EasyMeshParser::yydestruct_ (const char* yymsg, 255 256 int yytype, semantic_type* yyvaluep, location_type* yylocationp) 256 257 { … … 270 271 271 272 void 272 MeshParser::yypop_ (unsigned int n)273 EasyMeshParser::yypop_ (unsigned int n) 273 274 { 274 275 yystate_stack_.pop (n); … … 279 280 #if YYDEBUG 280 281 std::ostream& 281 MeshParser::debug_stream () const282 EasyMeshParser::debug_stream () const 282 283 { 283 284 return *yycdebug_; … … 285 286 286 287 void 287 MeshParser::set_debug_stream (std::ostream& o)288 EasyMeshParser::set_debug_stream (std::ostream& o) 288 289 { 289 290 yycdebug_ = &o; … … 291 292 292 293 293 MeshParser::debug_level_type294 MeshParser::debug_level () const294 EasyMeshParser::debug_level_type 295 EasyMeshParser::debug_level () const 295 296 { 296 297 return yydebug_; … … 298 299 299 300 void 300 MeshParser::set_debug_level (debug_level_type l)301 EasyMeshParser::set_debug_level (debug_level_type l) 301 302 { 302 303 yydebug_ = l; … … 305 306 306 307 inline bool 307 MeshParser::yy_pact_value_is_default_ (int yyvalue)308 EasyMeshParser::yy_pact_value_is_default_ (int yyvalue) 308 309 { 309 310 return yyvalue == yypact_ninf_; … … 311 312 312 313 inline bool 313 MeshParser::yy_table_value_is_error_ (int yyvalue)314 EasyMeshParser::yy_table_value_is_error_ (int yyvalue) 314 315 { 315 316 return yyvalue == yytable_ninf_; … … 317 318 318 319 int 319 MeshParser::parse ()320 EasyMeshParser::parse () 320 321 { 321 322 /// Lookahead and lookahead in internal form. … … 466 467 467 468 /* Line 690 of lalr1.cc */ 468 #line 8 8 "mesh-parser.y"469 #line 89 "easymesh/easymesh-parser.y" 469 470 { mc.m_mesh.OpenBrace(); } 470 471 break; … … 473 474 474 475 /* Line 690 of lalr1.cc */ 475 #line 9 2 "mesh-parser.y"476 #line 93 "easymesh/easymesh-parser.y" 476 477 { mc.m_mesh.CloseBrace(); } 477 478 break; … … 480 481 481 482 /* Line 690 of lalr1.cc */ 482 #line 10 7 "mesh-parser.y"483 #line 108 "easymesh/easymesh-parser.y" 483 484 { mc.m_mesh.SetCurColor(vec4((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3)); } 484 485 break; … … 487 488 488 489 /* Line 690 of lalr1.cc */ 489 #line 10 8 "mesh-parser.y"490 #line 109 "easymesh/easymesh-parser.y" 490 491 { uint32_t x = (yysemantic_stack_[(2) - (2)].u32val); 491 492 vec4 v(x >> 24, (x >> 16) & 0xff, (x >> 8) & 0xff, x & 0xff); … … 496 497 497 498 /* Line 690 of lalr1.cc */ 498 #line 11 1 "mesh-parser.y"499 #line 112 "easymesh/easymesh-parser.y" 499 500 { mc.m_mesh.SetCurColor2(vec4((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3)); } 500 501 break; … … 503 504 504 505 /* Line 690 of lalr1.cc */ 505 #line 11 2 "mesh-parser.y"506 #line 113 "easymesh/easymesh-parser.y" 506 507 { uint32_t x = (yysemantic_stack_[(2) - (2)].u32val); 507 508 vec4 v(x >> 24, (x >> 16) & 0xff, (x >> 8) & 0xff, x & 0xff); … … 512 513 513 514 /* Line 690 of lalr1.cc */ 514 #line 11 8 "mesh-parser.y"515 #line 119 "easymesh/easymesh-parser.y" 515 516 { mc.m_mesh.Chamfer((yysemantic_stack_[(2) - (2)].args).f0); } 516 517 break; … … 519 520 520 521 /* Line 690 of lalr1.cc */ 521 #line 1 19 "mesh-parser.y"522 #line 120 "easymesh/easymesh-parser.y" 522 523 { mc.m_mesh.Translate(vec3((yysemantic_stack_[(2) - (2)].args).f0, 0, 0)); } 523 524 break; … … 526 527 527 528 /* Line 690 of lalr1.cc */ 528 #line 12 0 "mesh-parser.y"529 #line 121 "easymesh/easymesh-parser.y" 529 530 { mc.m_mesh.Translate(vec3(0, (yysemantic_stack_[(2) - (2)].args).f0, 0)); } 530 531 break; … … 533 534 534 535 /* Line 690 of lalr1.cc */ 535 #line 12 1 "mesh-parser.y"536 #line 122 "easymesh/easymesh-parser.y" 536 537 { mc.m_mesh.Translate(vec3(0, 0, (yysemantic_stack_[(2) - (2)].args).f0)); } 537 538 break; … … 540 541 541 542 /* Line 690 of lalr1.cc */ 542 #line 12 2 "mesh-parser.y"543 #line 123 "easymesh/easymesh-parser.y" 543 544 { mc.m_mesh.Translate(vec3((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2)); } 544 545 break; … … 547 548 548 549 /* Line 690 of lalr1.cc */ 549 #line 12 3 "mesh-parser.y"550 #line 124 "easymesh/easymesh-parser.y" 550 551 { mc.m_mesh.RotateX((yysemantic_stack_[(2) - (2)].args).f0); } 551 552 break; … … 554 555 555 556 /* Line 690 of lalr1.cc */ 556 #line 12 4 "mesh-parser.y"557 #line 125 "easymesh/easymesh-parser.y" 557 558 { mc.m_mesh.RotateY((yysemantic_stack_[(2) - (2)].args).f0); } 558 559 break; … … 561 562 562 563 /* Line 690 of lalr1.cc */ 563 #line 12 5 "mesh-parser.y"564 #line 126 "easymesh/easymesh-parser.y" 564 565 { mc.m_mesh.RotateZ((yysemantic_stack_[(2) - (2)].args).f0); } 565 566 break; … … 568 569 569 570 /* Line 690 of lalr1.cc */ 570 #line 12 6 "mesh-parser.y"571 #line 127 "easymesh/easymesh-parser.y" 571 572 { mc.m_mesh.TaperX((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2); } 572 573 break; … … 575 576 576 577 /* Line 690 of lalr1.cc */ 577 #line 12 7 "mesh-parser.y"578 #line 128 "easymesh/easymesh-parser.y" 578 579 { mc.m_mesh.TaperY((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2); } 579 580 break; … … 582 583 583 584 /* Line 690 of lalr1.cc */ 584 #line 12 8 "mesh-parser.y"585 #line 129 "easymesh/easymesh-parser.y" 585 586 { mc.m_mesh.TaperZ((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2); } 586 587 break; … … 589 590 590 591 /* Line 690 of lalr1.cc */ 591 #line 1 29 "mesh-parser.y"592 #line 130 "easymesh/easymesh-parser.y" 592 593 { mc.m_mesh.Scale(vec3((yysemantic_stack_[(2) - (2)].args).f0, 0, 0)); } 593 594 break; … … 596 597 597 598 /* Line 690 of lalr1.cc */ 598 #line 13 0 "mesh-parser.y"599 #line 131 "easymesh/easymesh-parser.y" 599 600 { mc.m_mesh.Scale(vec3(0, (yysemantic_stack_[(2) - (2)].args).f0, 0)); } 600 601 break; … … 603 604 604 605 /* Line 690 of lalr1.cc */ 605 #line 13 1 "mesh-parser.y"606 #line 132 "easymesh/easymesh-parser.y" 606 607 { mc.m_mesh.Scale(vec3(0, 0, (yysemantic_stack_[(2) - (2)].args).f0)); } 607 608 break; … … 610 611 611 612 /* Line 690 of lalr1.cc */ 612 #line 13 2 "mesh-parser.y"613 #line 133 "easymesh/easymesh-parser.y" 613 614 { mc.m_mesh.Scale(vec3((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2)); } 614 615 break; … … 617 618 618 619 /* Line 690 of lalr1.cc */ 619 #line 13 3 "mesh-parser.y"620 #line 134 "easymesh/easymesh-parser.y" 620 621 { mc.m_mesh.MirrorX(); } 621 622 break; … … 624 625 625 626 /* Line 690 of lalr1.cc */ 626 #line 13 4 "mesh-parser.y"627 #line 135 "easymesh/easymesh-parser.y" 627 628 { mc.m_mesh.MirrorY(); } 628 629 break; … … 631 632 632 633 /* Line 690 of lalr1.cc */ 633 #line 13 5 "mesh-parser.y"634 #line 136 "easymesh/easymesh-parser.y" 634 635 { mc.m_mesh.MirrorZ(); } 635 636 break; … … 638 639 639 640 /* Line 690 of lalr1.cc */ 640 #line 1 39 "mesh-parser.y"641 #line 140 "easymesh/easymesh-parser.y" 641 642 { mc.m_mesh.AppendCylinder((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, 642 643 (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3, … … 647 648 648 649 /* Line 690 of lalr1.cc */ 649 #line 14 2 "mesh-parser.y"650 #line 143 "easymesh/easymesh-parser.y" 650 651 { mc.m_mesh.AppendBox(vec3((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2)); } 651 652 break; … … 654 655 655 656 /* Line 690 of lalr1.cc */ 656 #line 14 3 "mesh-parser.y"657 #line 144 "easymesh/easymesh-parser.y" 657 658 { mc.m_mesh.AppendSmoothChamfBox(vec3((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, 658 659 (yysemantic_stack_[(2) - (2)].args).f2), (yysemantic_stack_[(2) - (2)].args).f3); } … … 662 663 663 664 /* Line 690 of lalr1.cc */ 664 #line 14 5 "mesh-parser.y"665 #line 146 "easymesh/easymesh-parser.y" 665 666 { mc.m_mesh.AppendFlatChamfBox(vec3((yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, 666 667 (yysemantic_stack_[(2) - (2)].args).f2), (yysemantic_stack_[(2) - (2)].args).f3); } … … 670 671 671 672 /* Line 690 of lalr1.cc */ 672 #line 14 7 "mesh-parser.y"673 #line 148 "easymesh/easymesh-parser.y" 673 674 { mc.m_mesh.AppendSphere((yysemantic_stack_[(2) - (2)].args).f0, 674 675 vec3((yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3)); } … … 678 679 679 680 /* Line 690 of lalr1.cc */ 680 #line 1 49 "mesh-parser.y"681 #line 150 "easymesh/easymesh-parser.y" 681 682 { mc.m_mesh.AppendStar((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2, 682 683 (int)(yysemantic_stack_[(2) - (2)].args).f3, (int)(yysemantic_stack_[(2) - (2)].args).f4); } … … 686 687 687 688 /* Line 690 of lalr1.cc */ 688 #line 15 1 "mesh-parser.y"689 #line 152 "easymesh/easymesh-parser.y" 689 690 { mc.m_mesh.AppendExpandedStar((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, 690 691 (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3); } … … 694 695 695 696 /* Line 690 of lalr1.cc */ 696 #line 15 3 "mesh-parser.y"697 #line 154 "easymesh/easymesh-parser.y" 697 698 { mc.m_mesh.AppendDisc((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (int)(yysemantic_stack_[(2) - (2)].args).f2); } 698 699 break; … … 701 702 702 703 /* Line 690 of lalr1.cc */ 703 #line 15 4 "mesh-parser.y"704 #line 155 "easymesh/easymesh-parser.y" 704 705 { mc.m_mesh.AppendSimpleTriangle((yysemantic_stack_[(2) - (2)].args).f0, (int)(yysemantic_stack_[(2) - (2)].args).f1); } 705 706 break; … … 708 709 709 710 /* Line 690 of lalr1.cc */ 710 #line 15 5 "mesh-parser.y"711 #line 156 "easymesh/easymesh-parser.y" 711 712 { mc.m_mesh.AppendSimpleQuad((yysemantic_stack_[(2) - (2)].args).f0, (int)(yysemantic_stack_[(2) - (2)].args).f1); } 712 713 break; … … 715 716 716 717 /* Line 690 of lalr1.cc */ 717 #line 15 6 "mesh-parser.y"718 #line 157 "easymesh/easymesh-parser.y" 718 719 { mc.m_mesh.AppendCog((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3, 719 720 (yysemantic_stack_[(2) - (2)].args).f4, (yysemantic_stack_[(2) - (2)].args).f5, (yysemantic_stack_[(2) - (2)].args).f6, (int)(yysemantic_stack_[(2) - (2)].args).f7); } … … 723 724 724 725 /* Line 690 of lalr1.cc */ 725 #line 16 0 "mesh-parser.y"726 #line 161 "easymesh/easymesh-parser.y" 726 727 { (yyval.args).f0 = (yysemantic_stack_[(1) - (1)].fval); } 727 728 break; … … 730 731 731 732 /* Line 690 of lalr1.cc */ 732 #line 16 1 "mesh-parser.y"733 #line 162 "easymesh/easymesh-parser.y" 733 734 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f1 = (yysemantic_stack_[(2) - (2)].fval); } 734 735 break; … … 737 738 738 739 /* Line 690 of lalr1.cc */ 739 #line 16 2 "mesh-parser.y"740 #line 163 "easymesh/easymesh-parser.y" 740 741 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f2 = (yysemantic_stack_[(2) - (2)].fval); } 741 742 break; … … 744 745 745 746 /* Line 690 of lalr1.cc */ 746 #line 16 3 "mesh-parser.y"747 #line 164 "easymesh/easymesh-parser.y" 747 748 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f3 = (yysemantic_stack_[(2) - (2)].fval); } 748 749 break; … … 751 752 752 753 /* Line 690 of lalr1.cc */ 753 #line 16 4 "mesh-parser.y"754 #line 165 "easymesh/easymesh-parser.y" 754 755 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f4 = (yysemantic_stack_[(2) - (2)].fval); } 755 756 break; … … 758 759 759 760 /* Line 690 of lalr1.cc */ 760 #line 16 5 "mesh-parser.y"761 #line 166 "easymesh/easymesh-parser.y" 761 762 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f5 = (yysemantic_stack_[(2) - (2)].fval); } 762 763 break; … … 765 766 766 767 /* Line 690 of lalr1.cc */ 767 #line 16 6 "mesh-parser.y"768 #line 167 "easymesh/easymesh-parser.y" 768 769 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f6 = (yysemantic_stack_[(2) - (2)].fval); } 769 770 break; … … 772 773 773 774 /* Line 690 of lalr1.cc */ 774 #line 16 7 "mesh-parser.y"775 #line 168 "easymesh/easymesh-parser.y" 775 776 { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f7 = (yysemantic_stack_[(2) - (2)].fval); } 776 777 break; … … 779 780 780 781 /* Line 690 of lalr1.cc */ 781 #line 17 0 "mesh-parser.y"782 #line 171 "easymesh/easymesh-parser.y" 782 783 { (yyval.fval) = (yysemantic_stack_[(1) - (1)].fval); } 783 784 break; … … 786 787 787 788 /* Line 690 of lalr1.cc */ 788 #line 17 1 "mesh-parser.y"789 #line 172 "easymesh/easymesh-parser.y" 789 790 { (yyval.fval) = -(yysemantic_stack_[(2) - (2)].fval); } 790 791 break; … … 793 794 794 795 /* Line 690 of lalr1.cc */ 795 #line 79 6 "generated/mesh-parser.cpp"796 #line 797 "generated/easymesh-parser.cpp" 796 797 default: 797 798 break; … … 971 972 // Generate an error message. 972 973 std::string 973 MeshParser::yysyntax_error_ (int yystate, int yytoken)974 EasyMeshParser::yysyntax_error_ (int yystate, int yytoken) 974 975 { 975 976 std::string yyres; … … 1067 1068 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing 1068 1069 STATE-NUM. */ 1069 const signed char MeshParser::yypact_ninf_ = -45;1070 const signed char EasyMeshParser::yypact_ninf_ = -45; 1070 1071 const signed char 1071 MeshParser::yypact_[] =1072 EasyMeshParser::yypact_[] = 1072 1073 { 1073 1074 34, -29, 70, -6, -6, -6, -6, -45, -6, -6, … … 1087 1088 default is an error. */ 1088 1089 const unsigned char 1089 MeshParser::yydefact_[] =1090 EasyMeshParser::yydefact_[] = 1090 1091 { 1091 1092 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, … … 1103 1104 /* YYPGOTO[NTERM-NUM]. */ 1104 1105 const signed char 1105 MeshParser::yypgoto_[] =1106 EasyMeshParser::yypgoto_[] = 1106 1107 { 1107 1108 -45, -45, -4, -45, -45, -45, -45, -17, -45, -45, … … 1111 1112 /* YYDEFGOTO[NTERM-NUM]. */ 1112 1113 const signed char 1113 MeshParser::yydefgoto_[] =1114 EasyMeshParser::yydefgoto_[] = 1114 1115 { 1115 1116 -1, 33, 34, 35, 36, 96, 37, 38, 39, 40, … … 1120 1121 positive, shift that token. If negative, reduce the rule which 1121 1122 number is the opposite. If YYTABLE_NINF_, syntax error. */ 1122 const signed char MeshParser::yytable_ninf_ = -1;1123 const signed char EasyMeshParser::yytable_ninf_ = -1; 1123 1124 const unsigned char 1124 MeshParser::yytable_[] =1125 EasyMeshParser::yytable_[] = 1125 1126 { 1126 1127 87, 88, 89, 90, 48, 51, 42, 43, 52, 53, … … 1141 1142 /* YYCHECK. */ 1142 1143 const signed char 1143 MeshParser::yycheck_[] =1144 EasyMeshParser::yycheck_[] = 1144 1145 { 1145 1146 44, 45, 46, 47, 1, 2, 35, 36, 3, 4, … … 1161 1162 symbol of state STATE-NUM. */ 1162 1163 const unsigned char 1163 MeshParser::yystos_[] =1164 EasyMeshParser::yystos_[] = 1164 1165 { 1165 1166 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, … … 1179 1180 to YYLEX-NUM. */ 1180 1181 const unsigned short int 1181 MeshParser::yytoken_number_[] =1182 EasyMeshParser::yytoken_number_[] = 1182 1183 { 1183 1184 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, … … 1190 1191 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 1191 1192 const unsigned char 1192 MeshParser::yyr1_[] =1193 EasyMeshParser::yyr1_[] = 1193 1194 { 1194 1195 0, 40, 41, 42, 42, 43, 43, 44, 45, 46, … … 1202 1203 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 1203 1204 const unsigned char 1204 MeshParser::yyr2_[] =1205 EasyMeshParser::yyr2_[] = 1205 1206 { 1206 1207 0, 2, 2, 1, 2, 1, 3, 1, 1, 1, … … 1216 1217 First, the terminals, then, starting at \a yyntokens_, nonterminals. */ 1217 1218 const char* 1218 const MeshParser::yytname_[] =1219 const EasyMeshParser::yytname_[] = 1219 1220 { 1220 1221 "T_END", "error", "$undefined", "T_COLOR", "T_BGCOLOR", "T_TRANSLATEX", … … 1235 1236 #if YYDEBUG 1236 1237 /* YYRHS -- A `-1'-separated list of the rules' RHS. */ 1237 const MeshParser::rhs_number_type1238 MeshParser::yyrhs_[] =1238 const EasyMeshParser::rhs_number_type 1239 EasyMeshParser::yyrhs_[] = 1239 1240 { 1240 1241 41, 0, -1, 42, 0, -1, 43, -1, 43, 42, … … 1259 1260 YYRHS. */ 1260 1261 const unsigned char 1261 MeshParser::yyprhs_[] =1262 EasyMeshParser::yyprhs_[] = 1262 1263 { 1263 1264 0, 0, 3, 6, 8, 11, 13, 17, 19, 21, … … 1271 1272 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ 1272 1273 const unsigned char 1273 MeshParser::yyrline_[] =1274 { 1275 0, 7 4, 74, 78, 79, 83, 84, 88, 92, 96,1276 9 7, 101, 102, 103, 107, 108, 111, 112, 118, 119,1277 12 0, 121, 122, 123, 124, 125, 126, 127, 128, 129,1278 13 0, 131, 132, 133, 134, 135, 139, 142, 143, 145,1279 14 7, 149, 151, 153, 154, 155, 156, 160, 161, 162,1280 16 3, 164, 165, 166, 167, 170, 1711274 EasyMeshParser::yyrline_[] = 1275 { 1276 0, 75, 75, 79, 80, 84, 85, 89, 93, 97, 1277 98, 102, 103, 104, 108, 109, 112, 113, 119, 120, 1278 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 1279 131, 132, 133, 134, 135, 136, 140, 143, 144, 146, 1280 148, 150, 152, 154, 155, 156, 157, 161, 162, 163, 1281 164, 165, 166, 167, 168, 171, 172 1281 1282 }; 1282 1283 1283 1284 // Print the state stack on the debug stream. 1284 1285 void 1285 MeshParser::yystack_print_ ()1286 EasyMeshParser::yystack_print_ () 1286 1287 { 1287 1288 *yycdebug_ << "Stack now"; … … 1294 1295 // Report on the debug stream that the rule \a yyrule is going to be reduced. 1295 1296 void 1296 MeshParser::yy_reduce_print_ (int yyrule)1297 EasyMeshParser::yy_reduce_print_ (int yyrule) 1297 1298 { 1298 1299 unsigned int yylno = yyrline_[yyrule]; … … 1311 1312 1312 1313 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ 1313 MeshParser::token_number_type1314 MeshParser::yytranslate_ (int t)1314 EasyMeshParser::token_number_type 1315 EasyMeshParser::yytranslate_ (int t) 1315 1316 { 1316 1317 static … … 1355 1356 } 1356 1357 1357 const int MeshParser::yyeof_ = 0;1358 const int MeshParser::yylast_ = 126;1359 const int MeshParser::yynnts_ = 20;1360 const int MeshParser::yyempty_ = -2;1361 const int MeshParser::yyfinal_ = 82;1362 const int MeshParser::yyterror_ = 1;1363 const int MeshParser::yyerrcode_ = 256;1364 const int MeshParser::yyntokens_ = 40;1365 1366 const unsigned int MeshParser::yyuser_token_number_max_ = 291;1367 const MeshParser::token_number_typeMeshParser::yyundef_token_ = 2;1368 1369 1370 } // orbital1358 const int EasyMeshParser::yyeof_ = 0; 1359 const int EasyMeshParser::yylast_ = 126; 1360 const int EasyMeshParser::yynnts_ = 20; 1361 const int EasyMeshParser::yyempty_ = -2; 1362 const int EasyMeshParser::yyfinal_ = 82; 1363 const int EasyMeshParser::yyterror_ = 1; 1364 const int EasyMeshParser::yyerrcode_ = 256; 1365 const int EasyMeshParser::yyntokens_ = 40; 1366 1367 const unsigned int EasyMeshParser::yyuser_token_number_max_ = 291; 1368 const EasyMeshParser::token_number_type EasyMeshParser::yyundef_token_ = 2; 1369 1370 1371 } // lol 1371 1372 1372 1373 /* Line 1136 of lalr1.cc */ 1373 #line 137 4 "generated/mesh-parser.cpp"1374 #line 1375 "generated/easymesh-parser.cpp" 1374 1375 1375 1376 1376 1377 /* Line 1138 of lalr1.cc */ 1377 #line 17 4 "mesh-parser.y"1378 1379 1380 void orbital::MeshParser::error(constMeshParser::location_type& l,1378 #line 175 "easymesh/easymesh-parser.y" 1379 1380 1381 void lol::EasyMeshParser::error(const EasyMeshParser::location_type& l, 1381 1382 const std::string& m) 1382 1383 { -
trunk/src/generated/easymesh-parser.h
r1509 r1510 62 62 63 63 64 namespace orbital {64 namespace lol { 65 65 66 66 /* Line 35 of lalr1.cc */ 67 #line 68 "generated/ mesh-parser.h"67 #line 68 "generated/easymesh-parser.h" 68 68 69 69 /// A Bison parser. 70 class MeshParser70 class EasyMeshParser 71 71 { 72 72 public: … … 77 77 78 78 /* Line 35 of lalr1.cc */ 79 #line 3 5 "mesh-parser.y"79 #line 36 "easymesh/easymesh-parser.y" 80 80 81 81 float fval; … … 87 87 88 88 /* Line 35 of lalr1.cc */ 89 #line 90 "generated/ mesh-parser.h"89 #line 90 "generated/easymesh-parser.h" 90 90 }; 91 91 #else … … 141 141 142 142 /// Build a parser object. 143 MeshParser (classMeshCompiler& mc_yyarg);144 virtual ~ MeshParser ();143 EasyMeshParser (class EasyMeshCompiler& mc_yyarg); 144 virtual ~EasyMeshParser (); 145 145 146 146 /// Parse. … … 307 307 308 308 /* User arguments. */ 309 class MeshCompiler& mc;309 class EasyMeshCompiler& mc; 310 310 }; 311 311 312 } // orbital312 } // lol 313 313 314 314 /* Line 35 of lalr1.cc */ 315 #line 316 "generated/ mesh-parser.h"315 #line 316 "generated/easymesh-parser.h" 316 316 317 317 -
trunk/src/generated/easymesh-scanner.cpp
r1509 r1510 1 #line 2 "generated/ mesh-scanner.cpp"2 3 #line 4 "generated/ mesh-scanner.cpp"1 #line 2 "generated/easymesh-scanner.cpp" 2 3 #line 4 "generated/easymesh-scanner.cpp" 4 4 5 5 #define YY_INT_ALIGNED short int … … 21 21 * altogether. 22 22 */ 23 #define yyFlexLexer MeshFlexLexer23 #define yyFlexLexer EasyMeshFlexLexer 24 24 25 25 /* First, we deal with platform-specific or compiler-specific issues. */ … … 285 285 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 286 286 287 void * Meshalloc (yy_size_t );288 void * Meshrealloc (void *,yy_size_t );289 void Meshfree (void * );287 void *EasyMeshalloc (yy_size_t ); 288 void *EasyMeshrealloc (void *,yy_size_t ); 289 void EasyMeshfree (void * ); 290 290 291 291 #define yy_new_buffer yy_create_buffer … … 457 457 #define YY_MORE_ADJ 0 458 458 #define YY_RESTORE_YY_MORE_OFFSET 459 #line 1 " mesh-scanner.l"460 #line 2 " mesh-scanner.l"459 #line 1 "easymesh/easymesh-scanner.l" 460 #line 2 "easymesh/easymesh-scanner.l" 461 461 // 462 // Orbital462 // Lol Engine 463 463 // 464 // Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 464 // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net> 465 // (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 465 466 // (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com> 466 // (c) 2012 Sam Hocevar <sam@hocevar.net> 467 // This program is free software; you can redistribute it and/or 468 // modify it under the terms of the Do What The Fuck You Want To 469 // Public License, Version 2, as published by Sam Hocevar. See 470 // http://sam.zoy.org/projects/COPYING.WTFPL for more details. 467 471 // 468 472 … … 472 476 473 477 #include "core.h" 474 #include "loldebug.h" 475 476 using namespace lol; 477 478 #include "../mesh-compiler.h" 479 480 typedef orbital::MeshParser::token token; 481 typedef orbital::MeshParser::token_type token_type; 478 #include "easymesh/easymesh-compiler.h" 479 480 typedef lol::EasyMeshParser::token token; 481 typedef lol::EasyMeshParser::token_type token_type; 482 482 483 483 #ifndef YY_DECL 484 # define YY_DECL orbital::MeshParser::token_type \485 orbital::MeshScanner::lex(orbital::MeshParser::semantic_type* yylval, \486 orbital::MeshParser::location_type* yylloc)484 # define YY_DECL lol::EasyMeshParser::token_type \ 485 lol::EasyMeshScanner::lex(lol::EasyMeshParser::semantic_type* yylval, \ 486 lol::EasyMeshParser::location_type* yylloc) 487 487 #endif 488 488 … … 490 490 #define YY_NO_UNISTD_H 491 491 #define YY_USER_ACTION yylloc->columns(yyleng); 492 #line 493 "generated/ mesh-scanner.cpp"492 #line 493 "generated/easymesh-scanner.cpp" 493 493 494 494 #define INITIAL 0 … … 595 595 register int yy_act; 596 596 597 #line 38 " mesh-scanner.l"597 #line 38 "easymesh/easymesh-scanner.l" 598 598 599 599 … … 603 603 604 604 605 #line 606 "generated/ mesh-scanner.cpp"605 #line 606 "generated/easymesh-scanner.cpp" 606 606 607 607 if ( !(yy_init) ) … … 684 684 case 1: 685 685 YY_RULE_SETUP 686 #line 45 " mesh-scanner.l"686 #line 45 "easymesh/easymesh-scanner.l" 687 687 { return token::T_COLOR; } 688 688 YY_BREAK 689 689 case 2: 690 690 YY_RULE_SETUP 691 #line 46 " mesh-scanner.l"691 #line 46 "easymesh/easymesh-scanner.l" 692 692 { return token::T_BGCOLOR; } 693 693 YY_BREAK 694 694 case 3: 695 695 YY_RULE_SETUP 696 #line 48 " mesh-scanner.l"696 #line 48 "easymesh/easymesh-scanner.l" 697 697 { return token::T_CHAMFER; } 698 698 YY_BREAK 699 699 case 4: 700 700 YY_RULE_SETUP 701 #line 49 " mesh-scanner.l"701 #line 49 "easymesh/easymesh-scanner.l" 702 702 { return token::T_TRANSLATEX; } 703 703 YY_BREAK 704 704 case 5: 705 705 YY_RULE_SETUP 706 #line 50 " mesh-scanner.l"706 #line 50 "easymesh/easymesh-scanner.l" 707 707 { return token::T_TRANSLATEY; } 708 708 YY_BREAK 709 709 case 6: 710 710 YY_RULE_SETUP 711 #line 51 " mesh-scanner.l"711 #line 51 "easymesh/easymesh-scanner.l" 712 712 { return token::T_TRANSLATEZ; } 713 713 YY_BREAK 714 714 case 7: 715 715 YY_RULE_SETUP 716 #line 52 " mesh-scanner.l"716 #line 52 "easymesh/easymesh-scanner.l" 717 717 { return token::T_TRANSLATE; } 718 718 YY_BREAK 719 719 case 8: 720 720 YY_RULE_SETUP 721 #line 53 " mesh-scanner.l"721 #line 53 "easymesh/easymesh-scanner.l" 722 722 { return token::T_ROTATEX; } 723 723 YY_BREAK 724 724 case 9: 725 725 YY_RULE_SETUP 726 #line 54 " mesh-scanner.l"726 #line 54 "easymesh/easymesh-scanner.l" 727 727 { return token::T_ROTATEY; } 728 728 YY_BREAK 729 729 case 10: 730 730 YY_RULE_SETUP 731 #line 55 " mesh-scanner.l"731 #line 55 "easymesh/easymesh-scanner.l" 732 732 { return token::T_ROTATEZ; } 733 733 YY_BREAK 734 734 case 11: 735 735 YY_RULE_SETUP 736 #line 56 " mesh-scanner.l"736 #line 56 "easymesh/easymesh-scanner.l" 737 737 { return token::T_TAPERX; } 738 738 YY_BREAK 739 739 case 12: 740 740 YY_RULE_SETUP 741 #line 57 " mesh-scanner.l"741 #line 57 "easymesh/easymesh-scanner.l" 742 742 { return token::T_TAPERY; } 743 743 YY_BREAK 744 744 case 13: 745 745 YY_RULE_SETUP 746 #line 58 " mesh-scanner.l"746 #line 58 "easymesh/easymesh-scanner.l" 747 747 { return token::T_TAPERZ; } 748 748 YY_BREAK 749 749 case 14: 750 750 YY_RULE_SETUP 751 #line 59 " mesh-scanner.l"751 #line 59 "easymesh/easymesh-scanner.l" 752 752 { return token::T_SCALEX; } 753 753 YY_BREAK 754 754 case 15: 755 755 YY_RULE_SETUP 756 #line 60 " mesh-scanner.l"756 #line 60 "easymesh/easymesh-scanner.l" 757 757 { return token::T_SCALEY; } 758 758 YY_BREAK 759 759 case 16: 760 760 YY_RULE_SETUP 761 #line 61 " mesh-scanner.l"761 #line 61 "easymesh/easymesh-scanner.l" 762 762 { return token::T_SCALEZ; } 763 763 YY_BREAK 764 764 case 17: 765 765 YY_RULE_SETUP 766 #line 62 " mesh-scanner.l"766 #line 62 "easymesh/easymesh-scanner.l" 767 767 { return token::T_SCALE; } 768 768 YY_BREAK 769 769 case 18: 770 770 YY_RULE_SETUP 771 #line 63 " mesh-scanner.l"771 #line 63 "easymesh/easymesh-scanner.l" 772 772 { return token::T_MIRRORX; } 773 773 YY_BREAK 774 774 case 19: 775 775 YY_RULE_SETUP 776 #line 64 " mesh-scanner.l"776 #line 64 "easymesh/easymesh-scanner.l" 777 777 { return token::T_MIRRORY; } 778 778 YY_BREAK 779 779 case 20: 780 780 YY_RULE_SETUP 781 #line 65 " mesh-scanner.l"781 #line 65 "easymesh/easymesh-scanner.l" 782 782 { return token::T_MIRRORZ; } 783 783 YY_BREAK 784 784 case 21: 785 785 YY_RULE_SETUP 786 #line 67 " mesh-scanner.l"786 #line 67 "easymesh/easymesh-scanner.l" 787 787 { return token::T_CYLINDER; } 788 788 YY_BREAK 789 789 case 22: 790 790 YY_RULE_SETUP 791 #line 68 " mesh-scanner.l"791 #line 68 "easymesh/easymesh-scanner.l" 792 792 { return token::T_BOX; } 793 793 YY_BREAK 794 794 case 23: 795 795 YY_RULE_SETUP 796 #line 69 " mesh-scanner.l"796 #line 69 "easymesh/easymesh-scanner.l" 797 797 { return token::T_SMOOTHCHAMFBOX; } 798 798 YY_BREAK 799 799 case 24: 800 800 YY_RULE_SETUP 801 #line 70 " mesh-scanner.l"801 #line 70 "easymesh/easymesh-scanner.l" 802 802 { return token::T_FLATCHAMFBOX; } 803 803 YY_BREAK 804 804 case 25: 805 805 YY_RULE_SETUP 806 #line 71 " mesh-scanner.l"806 #line 71 "easymesh/easymesh-scanner.l" 807 807 { return token::T_SPHERE; } 808 808 YY_BREAK 809 809 case 26: 810 810 YY_RULE_SETUP 811 #line 72 " mesh-scanner.l"811 #line 72 "easymesh/easymesh-scanner.l" 812 812 { return token::T_STAR; } 813 813 YY_BREAK 814 814 case 27: 815 815 YY_RULE_SETUP 816 #line 73 " mesh-scanner.l"816 #line 73 "easymesh/easymesh-scanner.l" 817 817 { return token::T_EXPANDEDSTAR; } 818 818 YY_BREAK 819 819 case 28: 820 820 YY_RULE_SETUP 821 #line 74 " mesh-scanner.l"821 #line 74 "easymesh/easymesh-scanner.l" 822 822 { return token::T_DISC; } 823 823 YY_BREAK 824 824 case 29: 825 825 YY_RULE_SETUP 826 #line 75 " mesh-scanner.l"826 #line 75 "easymesh/easymesh-scanner.l" 827 827 { return token::T_TRIANGLE; } 828 828 YY_BREAK 829 829 case 30: 830 830 YY_RULE_SETUP 831 #line 76 " mesh-scanner.l"831 #line 76 "easymesh/easymesh-scanner.l" 832 832 { return token::T_QUAD; } 833 833 YY_BREAK 834 834 case 31: 835 835 YY_RULE_SETUP 836 #line 77 " mesh-scanner.l"836 #line 77 "easymesh/easymesh-scanner.l" 837 837 { return token::T_COG; } 838 838 YY_BREAK 839 839 case 32: 840 840 YY_RULE_SETUP 841 #line 79 " mesh-scanner.l"841 #line 79 "easymesh/easymesh-scanner.l" 842 842 { 843 843 uint32_t tmp = strtol(yytext + 1, NULL, 16); … … 850 850 case 33: 851 851 YY_RULE_SETUP 852 #line 86 " mesh-scanner.l"852 #line 86 "easymesh/easymesh-scanner.l" 853 853 { 854 854 uint32_t tmp = strtol(yytext + 1, NULL, 16); … … 861 861 case 34: 862 862 YY_RULE_SETUP 863 #line 93 " mesh-scanner.l"863 #line 93 "easymesh/easymesh-scanner.l" 864 864 { 865 865 yylval->u32val = 0xffu … … 869 869 case 35: 870 870 YY_RULE_SETUP 871 #line 97 " mesh-scanner.l"871 #line 97 "easymesh/easymesh-scanner.l" 872 872 { 873 873 yylval->u32val = (uint32_t)strtol(yytext + 1, NULL, 16); … … 876 876 case 36: 877 877 YY_RULE_SETUP 878 #line 100 " mesh-scanner.l"878 #line 100 "easymesh/easymesh-scanner.l" 879 879 { 880 880 yylval->fval = atof(yytext); return token::NUMBER; } … … 882 882 case 37: 883 883 YY_RULE_SETUP 884 #line 102 " mesh-scanner.l"884 #line 102 "easymesh/easymesh-scanner.l" 885 885 { return token_type('-'); } 886 886 YY_BREAK 887 887 case 38: 888 888 YY_RULE_SETUP 889 #line 103 " mesh-scanner.l"889 #line 103 "easymesh/easymesh-scanner.l" 890 890 { return token_type('['); } 891 891 YY_BREAK 892 892 case 39: 893 893 YY_RULE_SETUP 894 #line 104 " mesh-scanner.l"894 #line 104 "easymesh/easymesh-scanner.l" 895 895 { return token_type(']'); } 896 896 YY_BREAK 897 897 case 40: 898 898 YY_RULE_SETUP 899 #line 105 " mesh-scanner.l"899 #line 105 "easymesh/easymesh-scanner.l" 900 900 { /* ignore this */ } 901 901 YY_BREAK … … 903 903 /* rule 41 can match eol */ 904 904 YY_RULE_SETUP 905 #line 106 " mesh-scanner.l"905 #line 106 "easymesh/easymesh-scanner.l" 906 906 { /* ignore this */ } 907 907 YY_BREAK 908 908 case 42: 909 909 YY_RULE_SETUP 910 #line 107 " mesh-scanner.l"910 #line 107 "easymesh/easymesh-scanner.l" 911 911 { return token::T_ERROR; } 912 912 YY_BREAK 913 913 case 43: 914 914 YY_RULE_SETUP 915 #line 109 " mesh-scanner.l"915 #line 109 "easymesh/easymesh-scanner.l" 916 916 ECHO; 917 917 YY_BREAK 918 #line 919 "generated/ mesh-scanner.cpp"918 #line 919 "generated/easymesh-scanner.cpp" 919 919 case YY_STATE_EOF(INITIAL): 920 920 yyterminate(); … … 1085 1085 { 1086 1086 delete [] yy_state_buf; 1087 Meshfree(yy_start_stack );1087 EasyMeshfree(yy_start_stack ); 1088 1088 yy_delete_buffer( YY_CURRENT_BUFFER ); 1089 Meshfree(yy_buffer_stack );1089 EasyMeshfree(yy_buffer_stack ); 1090 1090 } 1091 1091 … … 1215 1215 b->yy_ch_buf = (char *) 1216 1216 /* Include room in for 2 EOB chars. */ 1217 Meshrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );1217 EasyMeshrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); 1218 1218 } 1219 1219 else … … 1264 1264 /* Extend the array by 50%, plus the number we really need. */ 1265 1265 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); 1266 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) Meshrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );1266 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) EasyMeshrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); 1267 1267 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) 1268 1268 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); … … 1510 1510 YY_BUFFER_STATE b; 1511 1511 1512 b = (YY_BUFFER_STATE) Meshalloc(sizeof( struct yy_buffer_state ) );1512 b = (YY_BUFFER_STATE) EasyMeshalloc(sizeof( struct yy_buffer_state ) ); 1513 1513 if ( ! b ) 1514 1514 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); … … 1519 1519 * we need to put in 2 end-of-buffer characters. 1520 1520 */ 1521 b->yy_ch_buf = (char *) Meshalloc(b->yy_buf_size + 2 );1521 b->yy_ch_buf = (char *) EasyMeshalloc(b->yy_buf_size + 2 ); 1522 1522 if ( ! b->yy_ch_buf ) 1523 1523 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); … … 1544 1544 1545 1545 if ( b->yy_is_our_buffer ) 1546 Meshfree((void *) b->yy_ch_buf );1547 1548 Meshfree((void *) b );1546 EasyMeshfree((void *) b->yy_ch_buf ); 1547 1548 EasyMeshfree((void *) b ); 1549 1549 } 1550 1550 … … 1671 1671 */ 1672 1672 num_to_alloc = 1; 1673 (yy_buffer_stack) = (struct yy_buffer_state**) Meshalloc1673 (yy_buffer_stack) = (struct yy_buffer_state**)EasyMeshalloc 1674 1674 (num_to_alloc * sizeof(struct yy_buffer_state*) 1675 1675 ); … … 1690 1690 1691 1691 num_to_alloc = (yy_buffer_stack_max) + grow_size; 1692 (yy_buffer_stack) = (struct yy_buffer_state**) Meshrealloc1692 (yy_buffer_stack) = (struct yy_buffer_state**)EasyMeshrealloc 1693 1693 ((yy_buffer_stack), 1694 1694 num_to_alloc * sizeof(struct yy_buffer_state*) … … 1713 1713 1714 1714 if ( ! (yy_start_stack) ) 1715 (yy_start_stack) = (int *) Meshalloc(new_size );1715 (yy_start_stack) = (int *) EasyMeshalloc(new_size ); 1716 1716 1717 1717 else 1718 (yy_start_stack) = (int *) Meshrealloc((void *) (yy_start_stack),new_size );1718 (yy_start_stack) = (int *) EasyMeshrealloc((void *) (yy_start_stack),new_size ); 1719 1719 1720 1720 if ( ! (yy_start_stack) ) … … 1793 1793 #endif 1794 1794 1795 void * Meshalloc (yy_size_t size )1795 void *EasyMeshalloc (yy_size_t size ) 1796 1796 { 1797 1797 return (void *) malloc( size ); 1798 1798 } 1799 1799 1800 void * Meshrealloc (void * ptr, yy_size_t size )1800 void *EasyMeshrealloc (void * ptr, yy_size_t size ) 1801 1801 { 1802 1802 /* The cast to (char *) in the following accommodates both … … 1810 1810 } 1811 1811 1812 void Meshfree (void * ptr )1813 { 1814 free( (char *) ptr ); /* see Meshrealloc() for (char *) cast */1812 void EasyMeshfree (void * ptr ) 1813 { 1814 free( (char *) ptr ); /* see EasyMeshrealloc() for (char *) cast */ 1815 1815 } 1816 1816 1817 1817 #define YYTABLES_NAME "yytables" 1818 1818 1819 #line 109 " mesh-scanner.l"1820 1821 1822 1823 orbital::MeshScanner::MeshScanner(char const *command)1824 : MeshFlexLexer(0, 0),1819 #line 109 "easymesh/easymesh-scanner.l" 1820 1821 1822 1823 lol::EasyMeshScanner::EasyMeshScanner(char const *command) 1824 : EasyMeshFlexLexer(0, 0), 1825 1825 m_input(command) 1826 1826 { 1827 1827 } 1828 1828 1829 orbital::MeshScanner::~MeshScanner()1830 { 1831 } 1832 1833 int orbital::MeshScanner::LexerInput(char* buf, int max_size)1829 lol::EasyMeshScanner::~EasyMeshScanner() 1830 { 1831 } 1832 1833 int lol::EasyMeshScanner::LexerInput(char* buf, int max_size) 1834 1834 { 1835 1835 buf[0] = m_input[0]; … … 1842 1842 #undef yylex 1843 1843 #endif 1844 int MeshFlexLexer::yylex()1845 { 1846 std::cerr << "in MeshFlexLexer::yylex() !" << std::endl;1844 int EasyMeshFlexLexer::yylex() 1845 { 1846 std::cerr << "in EasyMeshFlexLexer::yylex() !" << std::endl; 1847 1847 return 0; 1848 1848 } 1849 1849 1850 int MeshFlexLexer::yywrap()1850 int EasyMeshFlexLexer::yywrap() 1851 1851 { 1852 1852 return 1; -
trunk/win32/lolcore.vcxproj
r1457 r1510 82 82 <ClCompile Include="..\src\debug\stats.cpp" /> 83 83 <ClCompile Include="..\src\dict.cpp" /> 84 <ClCompile Include="..\src\easymesh\easymesh-compiler.cpp" /> 85 <ClCompile Include="..\src\easymesh\easymesh.cpp" /> 84 86 <ClCompile Include="..\src\eglapp.cpp" /> 85 87 <ClCompile Include="..\src\emitter.cpp" /> … … 87 89 <ClCompile Include="..\src\font.cpp" /> 88 90 <ClCompile Include="..\src\forge.cpp" /> 91 <ClCompile Include="..\src\generated\easymesh-parser.cpp" /> 92 <ClCompile Include="..\src\generated\easymesh-scanner.cpp" /> 89 93 <ClCompile Include="..\src\gpu\framebuffer.cpp" /> 90 94 <ClCompile Include="..\src\gpu\indexbuffer.cpp" /> … … 142 146 <ClInclude Include="..\src\debug\stats.h" /> 143 147 <ClInclude Include="..\src\dict.h" /> 148 <ClInclude Include="..\src\easymesh\easymesh-compiler.h" /> 149 <ClInclude Include="..\src\easymesh\easymesh.h" /> 144 150 <ClInclude Include="..\src\eglapp.h" /> 145 151 <ClInclude Include="..\src\emitter.h" /> … … 147 153 <ClInclude Include="..\src\font.h" /> 148 154 <ClInclude Include="..\src\forge.h" /> 155 <ClInclude Include="..\src\generated\easymesh-parser.h" /> 156 <ClInclude Include="..\src\generated\location.hh" /> 157 <ClInclude Include="..\src\generated\position.hh" /> 158 <ClInclude Include="..\src\generated\stack.hh" /> 149 159 <ClInclude Include="..\src\gpu\framebuffer.h" /> 150 160 <ClInclude Include="..\src\gpu\indexbuffer.h" /> … … 194 204 </ItemGroup> 195 205 <ItemGroup> 206 <LolFxCompile Include="..\src\easymesh\shiny.lolfx" /> 196 207 <LolFxCompile Include="..\src\gpu\defaultmaterial.lolfx" /> 197 208 <LolFxCompile Include="..\src\gpu\emptymaterial.lolfx" /> 198 209 <LolFxCompile Include="..\src\gpu\testmaterial.lolfx" /> 210 </ItemGroup> 211 <ItemGroup> 212 <None Include="..\src\easymesh\easymesh-parser.y" /> 213 <None Include="..\src\easymesh\easymesh-scanner.l" /> 199 214 </ItemGroup> 200 215 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -
trunk/win32/lolcore.vcxproj.filters
r1457 r1510 51 51 <UniqueIdentifier>{3592ed6a-59d7-4a6d-be5a-c05cb5dab730}</UniqueIdentifier> 52 52 </Filter> 53 <Filter Include="src\generated"> 54 <UniqueIdentifier>{8d536fa6-9ef8-4bdb-b945-48fe4549e8ec}</UniqueIdentifier> 55 </Filter> 56 <Filter Include="src\easymesh"> 57 <UniqueIdentifier>{07117029-d79d-4d59-beec-691b00a97c8f}</UniqueIdentifier> 58 </Filter> 53 59 </ItemGroup> 54 60 <ItemGroup> … … 218 224 <Filter>src\gpu</Filter> 219 225 </ClCompile> 226 <ClCompile Include="..\src\easymesh\easymesh.cpp"> 227 <Filter>src\easymesh</Filter> 228 </ClCompile> 229 <ClCompile Include="..\src\easymesh\easymesh-compiler.cpp"> 230 <Filter>src\easymesh</Filter> 231 </ClCompile> 232 <ClCompile Include="..\src\generated\easymesh-parser.cpp"> 233 <Filter>src\generated</Filter> 234 </ClCompile> 235 <ClCompile Include="..\src\generated\easymesh-scanner.cpp"> 236 <Filter>src\generated</Filter> 237 </ClCompile> 220 238 </ItemGroup> 221 239 <ItemGroup> … … 406 424 <Filter>src\gpu</Filter> 407 425 </ClInclude> 426 <ClInclude Include="..\src\generated\position.hh"> 427 <Filter>src\generated</Filter> 428 </ClInclude> 429 <ClInclude Include="..\src\generated\location.hh"> 430 <Filter>src\generated</Filter> 431 </ClInclude> 432 <ClInclude Include="..\src\generated\stack.hh"> 433 <Filter>src\generated</Filter> 434 </ClInclude> 435 <ClInclude Include="..\src\easymesh\easymesh.h"> 436 <Filter>src\easymesh</Filter> 437 </ClInclude> 438 <ClInclude Include="..\src\easymesh\easymesh-compiler.h"> 439 <Filter>src\easymesh</Filter> 440 </ClInclude> 441 <ClInclude Include="..\src\generated\easymesh-parser.h"> 442 <Filter>src\generated</Filter> 443 </ClInclude> 408 444 </ItemGroup> 409 445 <ItemGroup> … … 417 453 <Filter>src\gpu</Filter> 418 454 </LolFxCompile> 455 <LolFxCompile Include="..\src\easymesh\shiny.lolfx"> 456 <Filter>src\easymesh</Filter> 457 </LolFxCompile> 458 </ItemGroup> 459 <ItemGroup> 460 <None Include="..\src\easymesh\easymesh-parser.y"> 461 <Filter>src\easymesh</Filter> 462 </None> 463 <None Include="..\src\easymesh\easymesh-scanner.l"> 464 <Filter>src\easymesh</Filter> 465 </None> 419 466 </ItemGroup> 420 467 </Project>
Note: See TracChangeset
for help on using the changeset viewer.