diff --git a/assets/maps/map b/assets/maps/map deleted file mode 100644 index 241e75eccb27ce3955a903d5c3dce6aca44f8b2f..0000000000000000000000000000000000000000 --- a/assets/maps/map +++ /dev/null @@ -1,99 +0,0 @@ -2212322112323232112233113332223111312222111332333132233133221131332123111131331321133113321131222113 -3222333222111131311333232133321313211233313123223212212313211332133113113312331312232123321121323331 -2311121121332211331311212232132233313312122332132133213223333313311212323313122232223232231122233211 -1221111123122311213131133222133211322311213113323323312233113331233323111321323212233132133112131133 -3111131111313112233313322111231212321132223212331132133331122222311223123131233312211211123231132211 -2222322222121332313323221233133322221132321111211231113212113232131131332131221312323313221131313313 -3133133321232312312133231131112112321313132323211121331111322133231213223311232113111221313223113223 -2111131123123223311321111211131313312221123132131232233321123211113321333313212221121122231212122321 -1311221122321112221112313133321112233213131211113211311312311122231312223213311322323321221233322213 -3222133133322212333113111132233332131323112232332333111123311233323321323113312212213322312133331332 -2321221232113322331223213213212313122113323313233321332223213111133311212313223221312233223232311331 -3212111311122111313231332133333312223211131331331221321223123211323321233221213332232213323311311332 -1123233131232323111133331331333321333323333322332112111231211232232331233232132333213321231223111333 -1233232221223123213323231231131133113332311333212313222333113232312231133223111231232132113322212112 -2112231311331133232232321113112322113133233321233133321122132211211132121122133322321233332322311121 -2223332112131111233232121122133221132313212222212132331132313232322112311222121233133231131321322133 -1111233323213313111222232211312323133331322223233221132322223121322311113212222323133232111122331233 -3333332133313133222312232122312212212311312321331112321131122232123121122313113213322221233333312211 -3231223223213122312212212211131122133221111322123111332113222323113323123222111112231311232222232323 -3323232313312112123212133332211113333221212323123113323222131212231232223121133113332123323323131121 -3122232312313311122122132233313112232223323233131332112231232231133313212131111231132331112211211331 -3121222233323122113231313313312211333112313132331211111311311222221132313322212223221222333112211321 -1223233331221122331233223133311132122121111222122212213112223223232131321331112233313332213232222132 -1233133112331311333213111233322311211222322123222233111233222133211113232111333223221221333212123133 -2211322332111132223113221311112322121313121221222233132222332111312133312121232122122211113221321221 -2221111211333121311321232113132223221313113322312111221132332221212313221113323233311121231313133232 -3131333323122333122313311111312211212233111312323223211212322111231111332223322233222313231322132233 -3322112121331122222322311112312331221321333111322111111121121312333122131312133212123121332123222131 -1131333113211333221123133322112112312212113232222323312212312333223312332312311133313221333222231231 -1333322223223231321123312133331131322211221233232213333213223223222212323333123221311323331322323111 -2331131121312213232212131313322221231333333221212122231233221333122322322311121223312231233333322211 -2321332122222323131221213132132311113213311133112231213232332233233312212221131113123313213122312332 -1232313231211331331211222211113333121211222322122133122132113132321132211313212131332132313322223223 -1122222311332222133112322122312123332232211231331231231332212321321331131311131213331321211212223111 -1232212333111211231113331112123212113112133111221332221312223122323233122122111211133133321332232122 -1333132213113213232223322113333122321211122232123311312223313212122233321331132133233132223112313132 -3131331111233311133223321323133133221121131132211132231223322331323321331231331211121212211132221123 -1222323311132112313112111231223132211233312122321322213223221223113333221133322331311231223221232321 -2131211222223132333122333211133313133113331111213122222112212113222133113213321333112222133321233313 -3312213123323121313112121223213233121323121323223131133223111231232313212312221311321333233322312113 -2213222113121131323332211221223312133211213213312211222331132133233233311331332212231311111321331221 -3333221221332133212212233232133322311232222312132222112232332213231213123233333221322331232332312333 -3323223222332131332113331211233212122313211211331111231321322332211312313321112222233132223323211312 -1123211223311313313232222132312113122213111332332232121323323132113231212232133312223331223322121123 -2133311133112211233222132222212312313112121112132113123231122323213221112111323133131321132331213322 -1321131133223321311313331333332322331113132331321131131231223332131312312312311233331123232231313111 -3322331312232122132331132112313212211211122323211131113311232233121211222121131211321122113333332312 -3312122223121332323223123311313213122231133123332311313313332323321213333212111331132123323221113131 -1233312212111113123212331213221131312222223213122111321331322223233112321311331131233232331223132121 -2233121311113112231132111121331113321122233131121132332121113121232313223212313321113122133212231131 -1231313313233111133223332332123113231232212223332231221321222212232311222112111331113222231122311212 -3212323332322312221122131111213133332232121332213233133121232112211131213112223322233211223111322132 -1331332223211113321111212231333122222131122223211332121313133322131212121313231331113111213212222223 -1221121222222321121312221333313331133221332112221111332333331231213223113223121222222222121133132213 -1111121131321212133121211112332113121132321312212223221223212122321111313112323232223312223321323133 -2232313223322232223332133112113333121123123313121112311212123312331132311232213213132113123321213313 -2133331231111232313332223123132313312123111231122122313232112333333233213322131212131321331133323313 -3212131131131212232122222111121311223213123231313221133211323313133321332312312321321112213111211221 -2131122321213233321121333113221131232131221112133222312221212312122332313221132113231222222123222211 -3112231322331231133211221212323323221212311132231121213233131322121132213113232231331211133123331133 -3332322111311232322113133133123111312123113133132332212121131122113322233123121213112321131132313332 -2112132312132333211232133133131233122211123223333331131212111322323211213212132231221231311231322221 -3313321311112323221223323212132131222323311233211213112311223312121311311323332123333233213123121221 -2123313312331321122231323311332131211132332121132222313222311221231312232331323232312131231311333221 -3211122231133131133321231321112122211323123323112331233222333212222221223222123333313132231221133321 -1133212232232332321122313313321131212312331221312322213213113222131232321133113232123311132313212332 -1312312311321113121212122311332133231112231332213323131311332232231231221212112332322212311132212112 -2213121223232211312221113331132323332111113331323211222131231122121323131123322233232111231213112311 -3233323211331332313331131312313233232212223212213232322113111331111231113331222211113321321123221213 -1113121333111321211223232131233312323113331333313232122331331122213212112211232212323323313221333121 -2121221223311123313322133213233131133112312311332331211222112112211222323221321121232322232333223332 -3312132113321121112311313221223113322212331131122322111332122333333223212332311212113113132322222213 -2321213321223233122211132323233321112131113133312122231323313312123332131321211333212121112113331223 -2332212223222121211232231221111332133312223132112231322211333123332233132332223232231112321222122133 -3322321131223233312223313221221222111233323213113123333223132123331121112321211313213131111211213322 -3322222233131211312113323131322311233112222333313221213223221122312223132331232313131323211122222331 -3112212312311322211222311121231232323223312223331122313331313131122311313231221231122321222231333331 -1323111233131312233122123323323122133333232223121332231213131232112131121311213322112232131222333213 -3111322221212311213312133233132133231333122323111312221231123221111231332122132112222312113311122321 -3213311312112211222232313132323332222313212312321323122121222311132333211322221312123232321112211111 -3311332323331322121331112323333331131333232321212212233322322221322121313123231131223223121213112211 -3321131311132313232323232231111131213213223121331232121311121231212233212223321333312113212331122311 -3321233121122333113321222231212111121233331131212131313212133211322112312212332221312233233133232133 -3331113211332331131311111332332321113321323223313133133132332231311233312221221223121233113323313113 -1332322133221111221222212221321331322132231233221313133211311133132322131311232233212133233211223111 -3211112213113211211231311322333321132223233221311122232332231233233322331223321223333213323232122323 -1133122333211121121133232323332221133232321332333323333132312223123313311333111132112113323131213121 -1121322122231232312321232332113212211113333333333132211113312332231231232221121131221322223122332332 -1113131132122311232222232113131312213322131332311223111221213331213231111113212333311323311313133311 -1122231123313211111111123221122233321122132111132313322333133223223232111113123213122322123111323223 -2332311331211133312321321111333133123233311123321122131311311331232312331132111113233321321123113111 -2312122122132321212231123123231231132231111233122211313322322332111332132123122223313213112332222221 -3212312133313333213321322112323311231113332332313312132312221211331112132211131222332111122113232232 -3122322222321311121122221323222223333111332131113221333122333112112312212321132113131133233231132213 -1232223312112113312132333112212333111213311232123331131131332221113123112231132121111211311222332213 -3221311313311212123323111231311232323322322113211211122233331123221323122223213323132321221321212331 -2123332113232221113331211123331232233113123112123132223232231221111322131132211221112132312133121212 -1112111132312321113331331211123232322121222113322221331112211133222131222213132321113221332331323333 -3222331223113211331323321313233213322131132123123312313313133111312221322133112133221232231233233222 \ No newline at end of file diff --git a/assets/maps/map.png b/assets/maps/map.png deleted file mode 100644 index 5dc83ea9e76bee4245e2941361a0d7631bd82fb7..0000000000000000000000000000000000000000 Binary files a/assets/maps/map.png and /dev/null differ diff --git a/assets/maps/newmap.png b/assets/maps/newmap.png deleted file mode 100644 index 9a56d809cc18b191e6b9fee9af631fdf8da7159f..0000000000000000000000000000000000000000 Binary files a/assets/maps/newmap.png and /dev/null differ diff --git a/assets/test b/assets/test new file mode 100644 index 0000000000000000000000000000000000000000..a67403068c5e6ee369e994540b5a5bf052cf9510 --- /dev/null +++ b/assets/test @@ -0,0 +1,20 @@ +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 diff --git a/assets/tiles/grass/DownGrass.png b/assets/tiles/grass/DownGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..088c874e13cb0237b6e131dd30c02cb7907f46c6 Binary files /dev/null and b/assets/tiles/grass/DownGrass.png differ diff --git a/assets/tiles/grass/Grass2.png b/assets/tiles/grass/Grass2.png new file mode 100644 index 0000000000000000000000000000000000000000..d767a43971abb327fa3b876f6a1f87a03c3fdc08 Binary files /dev/null and b/assets/tiles/grass/Grass2.png differ diff --git a/assets/tiles/grass/LeftDownGrass.png b/assets/tiles/grass/LeftDownGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..17947689ec7e39aabd4fe83ef9ec9a2d07ca9f9f Binary files /dev/null and b/assets/tiles/grass/LeftDownGrass.png differ diff --git a/assets/tiles/grass/LeftGrass.png b/assets/tiles/grass/LeftGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..b0b977c37e24e8a6bdfe1173e0571ae79716cc03 Binary files /dev/null and b/assets/tiles/grass/LeftGrass.png differ diff --git a/assets/tiles/grass/LeftUpGrass.png b/assets/tiles/grass/LeftUpGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..7b0093d77f246e370b1dc492ebe44e9175056280 Binary files /dev/null and b/assets/tiles/grass/LeftUpGrass.png differ diff --git a/assets/tiles/grass/MiddleGrass.png b/assets/tiles/grass/MiddleGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..d970bec7780b6004479333b611f4bf5a374c4bfc Binary files /dev/null and b/assets/tiles/grass/MiddleGrass.png differ diff --git a/assets/tiles/grass/RightDownGrass.png b/assets/tiles/grass/RightDownGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..33e6fce602db91de4c8a3280a2d1d508caa0f5a6 Binary files /dev/null and b/assets/tiles/grass/RightDownGrass.png differ diff --git a/assets/tiles/grass/RightGrass.png b/assets/tiles/grass/RightGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..b6e9321b888ed6bb374f40f5f51e5a5b9ad33379 Binary files /dev/null and b/assets/tiles/grass/RightGrass.png differ diff --git a/assets/tiles/grass/RightUpGrass.png b/assets/tiles/grass/RightUpGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..31c8c45a13c874f5b3f32bdcd9393b58ce9593d6 Binary files /dev/null and b/assets/tiles/grass/RightUpGrass.png differ diff --git a/assets/tiles/grass/UpGrass.png b/assets/tiles/grass/UpGrass.png new file mode 100644 index 0000000000000000000000000000000000000000..197a0fda91474b51720e029b7e626cc22b799f83 Binary files /dev/null and b/assets/tiles/grass/UpGrass.png differ diff --git a/assets/tiles/grass.png b/assets/tiles/grass/grass.png similarity index 100% rename from assets/tiles/grass.png rename to assets/tiles/grass/grass.png diff --git a/assets/tiles/other/DownLeftTree1.png b/assets/tiles/other/DownLeftTree1.png new file mode 100644 index 0000000000000000000000000000000000000000..4f28f181f8979cb93fdef007e0b7312fd6e2e59f Binary files /dev/null and b/assets/tiles/other/DownLeftTree1.png differ diff --git a/assets/tiles/other/DownRightTree1.png b/assets/tiles/other/DownRightTree1.png new file mode 100644 index 0000000000000000000000000000000000000000..689a1aadf2042d3f3fed7ddf81fce0f7e438ce53 Binary files /dev/null and b/assets/tiles/other/DownRightTree1.png differ diff --git a/assets/tiles/other/LeftMiddle2Tree1.png b/assets/tiles/other/LeftMiddle2Tree1.png new file mode 100644 index 0000000000000000000000000000000000000000..24b6b02046cef42f51f1940eb5d0f2427f6defa6 Binary files /dev/null and b/assets/tiles/other/LeftMiddle2Tree1.png differ diff --git a/assets/tiles/other/LeftMiddleTree1.png b/assets/tiles/other/LeftMiddleTree1.png new file mode 100644 index 0000000000000000000000000000000000000000..212daa72079d44df284f66493dad9492f7bd3503 Binary files /dev/null and b/assets/tiles/other/LeftMiddleTree1.png differ diff --git a/assets/tiles/other/LeftUpTree1.png b/assets/tiles/other/LeftUpTree1.png new file mode 100644 index 0000000000000000000000000000000000000000..03971e8431010aa5bcd1710e616c5d02858b53a1 Binary files /dev/null and b/assets/tiles/other/LeftUpTree1.png differ diff --git a/assets/tiles/other/RightMiddle2Tree1.png b/assets/tiles/other/RightMiddle2Tree1.png new file mode 100644 index 0000000000000000000000000000000000000000..90e80c4c630bfa2f31e4efe13770e1ab4b8bedb8 Binary files /dev/null and b/assets/tiles/other/RightMiddle2Tree1.png differ diff --git a/assets/tiles/other/RightMiddleTree1.png b/assets/tiles/other/RightMiddleTree1.png new file mode 100644 index 0000000000000000000000000000000000000000..cc33c2a7db90caf8b160b617a894dcfc003868b3 Binary files /dev/null and b/assets/tiles/other/RightMiddleTree1.png differ diff --git a/assets/tiles/other/RightUpTree1.png b/assets/tiles/other/RightUpTree1.png new file mode 100644 index 0000000000000000000000000000000000000000..c23fdfa930ac1ef86947b2f357da0481dc0d309f Binary files /dev/null and b/assets/tiles/other/RightUpTree1.png differ diff --git a/assets/tiles/other/transparent.png b/assets/tiles/other/transparent.png new file mode 100644 index 0000000000000000000000000000000000000000..e8910496c5770b33738b49e0b557d45f4625f090 Binary files /dev/null and b/assets/tiles/other/transparent.png differ diff --git a/assets/tiles/other/wall.png b/assets/tiles/other/wall.png new file mode 100644 index 0000000000000000000000000000000000000000..6e0a7e940bf71cd206e84a776a5ee3f97b5c434d Binary files /dev/null and b/assets/tiles/other/wall.png differ diff --git a/assets/tiles/rock.png b/assets/tiles/rock/rock.png similarity index 100% rename from assets/tiles/rock.png rename to assets/tiles/rock/rock.png diff --git a/assets/tiles/sand.png b/assets/tiles/sand/sand.png similarity index 100% rename from assets/tiles/sand.png rename to assets/tiles/sand/sand.png diff --git a/assets/tiles/water.png b/assets/tiles/water/water.png similarity index 100% rename from assets/tiles/water.png rename to assets/tiles/water/water.png diff --git a/assets/tiles/water/waterIcon.png b/assets/tiles/water/waterIcon.png new file mode 100644 index 0000000000000000000000000000000000000000..b4aab9e85d8812611905cd91559950f51bf5cede Binary files /dev/null and b/assets/tiles/water/waterIcon.png differ diff --git a/build/CMakeFiles/MCC.dir/apps/main.cpp.o b/build/CMakeFiles/MCC.dir/apps/main.cpp.o index 7cef202095f5be23b4213549b32cabeed9d0db89..c6f21bcb2ceaafff87e80368abfc48e8de23c541 100644 Binary files a/build/CMakeFiles/MCC.dir/apps/main.cpp.o and b/build/CMakeFiles/MCC.dir/apps/main.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/apps/main.cpp.o.d b/build/CMakeFiles/MCC.dir/apps/main.cpp.o.d index 009001f556355d15b4ffcb6ab6f75bb03682d838..3517ff28ca0e99451f769b71c14f8c42ce7e1dd6 100644 --- a/build/CMakeFiles/MCC.dir/apps/main.cpp.o.d +++ b/build/CMakeFiles/MCC.dir/apps/main.cpp.o.d @@ -390,7 +390,8 @@ CMakeFiles/MCC.dir/apps/main.cpp.o: \ /usr/include/c++/13/fstream /usr/include/c++/13/bits/codecvt.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \ - /usr/include/c++/13/bits/fstream.tcc \ + /usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/sstream \ + /usr/include/c++/13/bits/sstream.tcc \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/apps/../include/game/../manager/../game/Tile.hpp \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/apps/../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/document.h \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/apps/../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/reader.h \ diff --git a/build/CMakeFiles/MCC.dir/compiler_depend.internal b/build/CMakeFiles/MCC.dir/compiler_depend.internal index bf855a4152b87d28fbb91fda6fa85ff61ce068f1..7f059ed1b4eb953e88463789eeeb78c661465118 100644 --- a/build/CMakeFiles/MCC.dir/compiler_depend.internal +++ b/build/CMakeFiles/MCC.dir/compiler_depend.internal @@ -202,6 +202,7 @@ CMakeFiles/MCC.dir/apps/main.cpp.o /usr/include/c++/13/bits/shared_ptr_atomic.h /usr/include/c++/13/bits/shared_ptr_base.h /usr/include/c++/13/bits/specfun.h + /usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/bits/std_abs.h /usr/include/c++/13/bits/stl_algo.h /usr/include/c++/13/bits/stl_algobase.h @@ -280,6 +281,7 @@ CMakeFiles/MCC.dir/apps/main.cpp.o /usr/include/c++/13/pstl/pstl_config.h /usr/include/c++/13/random /usr/include/c++/13/ratio + /usr/include/c++/13/sstream /usr/include/c++/13/stdexcept /usr/include/c++/13/stdlib.h /usr/include/c++/13/streambuf @@ -723,6 +725,7 @@ CMakeFiles/MCC.dir/src/game/Game.cpp.o /usr/include/c++/13/bits/shared_ptr_atomic.h /usr/include/c++/13/bits/shared_ptr_base.h /usr/include/c++/13/bits/specfun.h + /usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/bits/std_abs.h /usr/include/c++/13/bits/stl_algo.h /usr/include/c++/13/bits/stl_algobase.h @@ -801,6 +804,7 @@ CMakeFiles/MCC.dir/src/game/Game.cpp.o /usr/include/c++/13/pstl/pstl_config.h /usr/include/c++/13/random /usr/include/c++/13/ratio + /usr/include/c++/13/sstream /usr/include/c++/13/stdexcept /usr/include/c++/13/stdlib.h /usr/include/c++/13/streambuf @@ -1244,6 +1248,7 @@ CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o /usr/include/c++/13/bits/shared_ptr_atomic.h /usr/include/c++/13/bits/shared_ptr_base.h /usr/include/c++/13/bits/specfun.h + /usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/bits/std_abs.h /usr/include/c++/13/bits/stl_algo.h /usr/include/c++/13/bits/stl_algobase.h @@ -1322,6 +1327,7 @@ CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o /usr/include/c++/13/pstl/pstl_config.h /usr/include/c++/13/random /usr/include/c++/13/ratio + /usr/include/c++/13/sstream /usr/include/c++/13/stdexcept /usr/include/c++/13/stdlib.h /usr/include/c++/13/streambuf @@ -3669,6 +3675,7 @@ CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o /usr/include/c++/13/bits/shared_ptr_atomic.h /usr/include/c++/13/bits/shared_ptr_base.h /usr/include/c++/13/bits/specfun.h + /usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/bits/std_abs.h /usr/include/c++/13/bits/stl_algo.h /usr/include/c++/13/bits/stl_algobase.h @@ -3747,6 +3754,7 @@ CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o /usr/include/c++/13/pstl/pstl_config.h /usr/include/c++/13/random /usr/include/c++/13/ratio + /usr/include/c++/13/sstream /usr/include/c++/13/stdexcept /usr/include/c++/13/stdlib.h /usr/include/c++/13/streambuf @@ -4627,6 +4635,7 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o /usr/include/c++/13/bits/shared_ptr_atomic.h /usr/include/c++/13/bits/shared_ptr_base.h /usr/include/c++/13/bits/specfun.h + /usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/bits/std_abs.h /usr/include/c++/13/bits/stl_algo.h /usr/include/c++/13/bits/stl_algobase.h @@ -4705,6 +4714,7 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o /usr/include/c++/13/pstl/pstl_config.h /usr/include/c++/13/random /usr/include/c++/13/ratio + /usr/include/c++/13/sstream /usr/include/c++/13/stdexcept /usr/include/c++/13/stdlib.h /usr/include/c++/13/streambuf diff --git a/build/CMakeFiles/MCC.dir/compiler_depend.make b/build/CMakeFiles/MCC.dir/compiler_depend.make index 8b9fa0955a63ae14d3e7e6539069697f8f65dab4..98aed1345fad4af82981e938afe32109f7eea6d7 100644 --- a/build/CMakeFiles/MCC.dir/compiler_depend.make +++ b/build/CMakeFiles/MCC.dir/compiler_depend.make @@ -201,6 +201,7 @@ CMakeFiles/MCC.dir/apps/main.cpp.o: /home/tompotioubuntu/Documents/Cours/L3/S2/S /usr/include/c++/13/bits/shared_ptr_atomic.h \ /usr/include/c++/13/bits/shared_ptr_base.h \ /usr/include/c++/13/bits/specfun.h \ + /usr/include/c++/13/bits/sstream.tcc \ /usr/include/c++/13/bits/std_abs.h \ /usr/include/c++/13/bits/stl_algo.h \ /usr/include/c++/13/bits/stl_algobase.h \ @@ -279,6 +280,7 @@ CMakeFiles/MCC.dir/apps/main.cpp.o: /home/tompotioubuntu/Documents/Cours/L3/S2/S /usr/include/c++/13/pstl/pstl_config.h \ /usr/include/c++/13/random \ /usr/include/c++/13/ratio \ + /usr/include/c++/13/sstream \ /usr/include/c++/13/stdexcept \ /usr/include/c++/13/stdlib.h \ /usr/include/c++/13/streambuf \ @@ -721,6 +723,7 @@ CMakeFiles/MCC.dir/src/game/Game.cpp.o: /home/tompotioubuntu/Documents/Cours/L3/ /usr/include/c++/13/bits/shared_ptr_atomic.h \ /usr/include/c++/13/bits/shared_ptr_base.h \ /usr/include/c++/13/bits/specfun.h \ + /usr/include/c++/13/bits/sstream.tcc \ /usr/include/c++/13/bits/std_abs.h \ /usr/include/c++/13/bits/stl_algo.h \ /usr/include/c++/13/bits/stl_algobase.h \ @@ -799,6 +802,7 @@ CMakeFiles/MCC.dir/src/game/Game.cpp.o: /home/tompotioubuntu/Documents/Cours/L3/ /usr/include/c++/13/pstl/pstl_config.h \ /usr/include/c++/13/random \ /usr/include/c++/13/ratio \ + /usr/include/c++/13/sstream \ /usr/include/c++/13/stdexcept \ /usr/include/c++/13/stdlib.h \ /usr/include/c++/13/streambuf \ @@ -1241,6 +1245,7 @@ CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o: /home/tompotioubuntu/Documents/C /usr/include/c++/13/bits/shared_ptr_atomic.h \ /usr/include/c++/13/bits/shared_ptr_base.h \ /usr/include/c++/13/bits/specfun.h \ + /usr/include/c++/13/bits/sstream.tcc \ /usr/include/c++/13/bits/std_abs.h \ /usr/include/c++/13/bits/stl_algo.h \ /usr/include/c++/13/bits/stl_algobase.h \ @@ -1319,6 +1324,7 @@ CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o: /home/tompotioubuntu/Documents/C /usr/include/c++/13/pstl/pstl_config.h \ /usr/include/c++/13/random \ /usr/include/c++/13/ratio \ + /usr/include/c++/13/sstream \ /usr/include/c++/13/stdexcept \ /usr/include/c++/13/stdlib.h \ /usr/include/c++/13/streambuf \ @@ -3660,6 +3666,7 @@ CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o: /home/tompotioubuntu/Documents /usr/include/c++/13/bits/shared_ptr_atomic.h \ /usr/include/c++/13/bits/shared_ptr_base.h \ /usr/include/c++/13/bits/specfun.h \ + /usr/include/c++/13/bits/sstream.tcc \ /usr/include/c++/13/bits/std_abs.h \ /usr/include/c++/13/bits/stl_algo.h \ /usr/include/c++/13/bits/stl_algobase.h \ @@ -3738,6 +3745,7 @@ CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o: /home/tompotioubuntu/Documents /usr/include/c++/13/pstl/pstl_config.h \ /usr/include/c++/13/random \ /usr/include/c++/13/ratio \ + /usr/include/c++/13/sstream \ /usr/include/c++/13/stdexcept \ /usr/include/c++/13/stdlib.h \ /usr/include/c++/13/streambuf \ @@ -4616,6 +4624,7 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/bits/shared_ptr_atomic.h \ /usr/include/c++/13/bits/shared_ptr_base.h \ /usr/include/c++/13/bits/specfun.h \ + /usr/include/c++/13/bits/sstream.tcc \ /usr/include/c++/13/bits/std_abs.h \ /usr/include/c++/13/bits/stl_algo.h \ /usr/include/c++/13/bits/stl_algobase.h \ @@ -4694,6 +4703,7 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/pstl/pstl_config.h \ /usr/include/c++/13/random \ /usr/include/c++/13/ratio \ + /usr/include/c++/13/sstream \ /usr/include/c++/13/stdexcept \ /usr/include/c++/13/stdlib.h \ /usr/include/c++/13/streambuf \ @@ -4941,8 +4951,6 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/ContactListener.cpp: -/usr/include/c++/13/bits/sstream.tcc: - /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/Game.cpp: /usr/lib/gcc/x86_64-linux-gnu/13/include/xsavesintrin.h: @@ -5097,10 +5105,6 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/x86_64-linux-gnu/bits/types/error_t.h: -/usr/include/c++/13/sstream: - -/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h: - /usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h: /usr/include/x86_64-linux-gnu/bits/types/clock_t.h: @@ -5251,6 +5255,10 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/stdexcept: +/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h: + +/usr/include/c++/13/sstream: + /usr/include/linux/limits.h: /usr/include/c++/13/ratio: @@ -5291,6 +5299,10 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/iostream: +/usr/lib/gcc/x86_64-linux-gnu/13/include/prfchwintrin.h: + +/usr/include/c++/13/iosfwd: + /usr/include/inttypes.h: /usr/include/SDL2/SDL_ttf.h: @@ -5875,10 +5887,6 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/bits/predefined_ops.h: -/usr/lib/gcc/x86_64-linux-gnu/13/include/prfchwintrin.h: - -/usr/include/c++/13/iosfwd: - /usr/include/c++/13/bits/ptr_traits.h: /usr/include/c++/13/bits/refwrap.h: @@ -5889,6 +5897,14 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/bits/shared_ptr_base.h: +/usr/include/c++/13/bits/sstream.tcc: + +/usr/include/SDL2/SDL_version.h: + +/usr/include/SDL2/begin_code.h: + +/usr/include/c++/13/cwctype: + /usr/include/c++/13/bits/stl_algo.h: /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/include/manager/RenderManager.hpp: @@ -5951,12 +5967,6 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: /home/tompotioubuntu/Document /usr/include/c++/13/ctime: -/usr/include/SDL2/SDL_version.h: - -/usr/include/SDL2/begin_code.h: - -/usr/include/c++/13/cwctype: - /usr/include/c++/13/debug/assertions.h: /usr/include/linux/errno.h: diff --git a/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o b/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o index fea09a7762c382261a1f6735af63b022de12cfd4..d2fd67fec76a78e7d426dba850c5fc5b7be1fc1e 100644 Binary files a/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o and b/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o.d b/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o.d index f613492f9b8775ba47b344e0ad2ffa1d0b73c944..baac15031b144c0404cc515afc6e14ff216da483 100644 --- a/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o.d +++ b/build/CMakeFiles/MCC.dir/src/game/Game.cpp.o.d @@ -390,7 +390,8 @@ CMakeFiles/MCC.dir/src/game/Game.cpp.o: \ /usr/include/c++/13/fstream /usr/include/c++/13/bits/codecvt.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \ - /usr/include/c++/13/bits/fstream.tcc \ + /usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/sstream \ + /usr/include/c++/13/bits/sstream.tcc \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/Tile.hpp \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/document.h \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/reader.h \ diff --git a/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o b/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o index af645199834adf1a0be3eef727d150765a5770f9..ff4c52f00d431a7f02855dfe0595201e2397fdcb 100644 Binary files a/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o and b/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o.d b/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o.d index e1bcd8eee5bb05c91f1f03a10f6174364208927f..fe959d4cb8ec80087eceefcec1f0bada3ef72bf8 100644 --- a/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o.d +++ b/build/CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o.d @@ -394,7 +394,8 @@ CMakeFiles/MCC.dir/src/game/GameEntities.cpp.o: \ /usr/include/c++/13/fstream /usr/include/c++/13/bits/codecvt.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \ - /usr/include/c++/13/bits/fstream.tcc \ + /usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/sstream \ + /usr/include/c++/13/bits/sstream.tcc \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/Tile.hpp \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/document.h \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/reader.h \ diff --git a/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o b/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o index 70bd3b5ca83217e1e88ced4bfcdd0368f92e9a05..8d496e6b657b4e839a462ed07c22ccef856a8470 100644 Binary files a/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o and b/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o.d b/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o.d index aa012701d72f714560fefa0297e6a6f7d1acc95a..818ee75cb7f8550138f7ffb45dc876b5ae18e02c 100644 --- a/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o.d +++ b/build/CMakeFiles/MCC.dir/src/game/Map.cpp.o.d @@ -390,7 +390,8 @@ CMakeFiles/MCC.dir/src/game/Map.cpp.o: \ /usr/include/c++/13/fstream /usr/include/c++/13/bits/codecvt.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \ - /usr/include/c++/13/bits/fstream.tcc \ + /usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/sstream \ + /usr/include/c++/13/bits/sstream.tcc \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/Tile.hpp \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/document.h \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/../game/../../libs/RapidJson/include/rapidjson/reader.h \ @@ -439,5 +440,4 @@ CMakeFiles/MCC.dir/src/game/Map.cpp.o: \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/game/../../include/game/../manager/ContactListener.hpp \ /usr/include/SDL2/SDL_mouse.h /usr/include/c++/13/chrono \ /usr/include/c++/13/bits/chrono.h /usr/include/c++/13/ratio \ - /usr/include/c++/13/ctime /usr/include/c++/13/bits/parse_numbers.h \ - /usr/include/c++/13/sstream /usr/include/c++/13/bits/sstream.tcc + /usr/include/c++/13/ctime /usr/include/c++/13/bits/parse_numbers.h diff --git a/build/CMakeFiles/MCC.dir/src/game/Tile.cpp.o b/build/CMakeFiles/MCC.dir/src/game/Tile.cpp.o index 39938f30219df7d1285673fb3aa9d2637573619b..95c47eab630ad96eb9b44e047ff6622356dd4aa5 100644 Binary files a/build/CMakeFiles/MCC.dir/src/game/Tile.cpp.o and b/build/CMakeFiles/MCC.dir/src/game/Tile.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o b/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o index 595e064435fe46c5c8a229541a8451b9d3778c21..63aa2477db9ae7f3a33dbcaa918a9b87eee21b30 100644 Binary files a/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o and b/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o.d b/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o.d index ca3e459c73fa5a08af0dec174f1f1b979650c35f..a33b1df76407f7bfcf81a39d5438c7f3cd5f8b1e 100644 --- a/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o.d +++ b/build/CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o.d @@ -391,7 +391,8 @@ CMakeFiles/MCC.dir/src/manager/MenuManager.cpp.o: \ /usr/include/c++/13/fstream /usr/include/c++/13/bits/codecvt.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \ - /usr/include/c++/13/bits/fstream.tcc \ + /usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/sstream \ + /usr/include/c++/13/bits/sstream.tcc \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/../../include/manager/../game/../manager/../game/Tile.hpp \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/../../include/manager/../game/../manager/../game/../../libs/RapidJson/include/rapidjson/document.h \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/../../include/manager/../game/../manager/../game/../../libs/RapidJson/include/rapidjson/reader.h \ diff --git a/build/CMakeFiles/MCC.dir/src/manager/RenderManager.cpp.o b/build/CMakeFiles/MCC.dir/src/manager/RenderManager.cpp.o index 961488abfcc12d4dfa1dee83eb360de8cb60891b..ca2336ec430872b17822175d6d0fb6c5b6ef3343 100644 Binary files a/build/CMakeFiles/MCC.dir/src/manager/RenderManager.cpp.o and b/build/CMakeFiles/MCC.dir/src/manager/RenderManager.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o b/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o index d4559f8254ad99bd7a54c5b8d7b119d7bcb6ae12..9bcc8dcc419111ffec3e7404a73fbc0e203032a7 100644 Binary files a/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o and b/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o differ diff --git a/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o.d b/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o.d index caf4f3bed801d4a83b52ab5b1882ed02e71044cd..7a2a6b6a6dc92cd36255922a63fba6fa16be4e02 100644 --- a/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o.d +++ b/build/CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o.d @@ -393,7 +393,8 @@ CMakeFiles/MCC.dir/src/manager/WorldManager.cpp.o: \ /usr/include/c++/13/fstream /usr/include/c++/13/bits/codecvt.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \ /usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \ - /usr/include/c++/13/bits/fstream.tcc \ + /usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/sstream \ + /usr/include/c++/13/bits/sstream.tcc \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/../../include/manager/../game/Tile.hpp \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/../../include/manager/../game/../../libs/RapidJson/include/rapidjson/document.h \ /home/tompotioubuntu/Documents/Cours/L3/S2/Stage/Mythical_Conquests_Chronicles/src/manager/../../include/manager/../game/../../libs/RapidJson/include/rapidjson/reader.h \ diff --git a/build/MCC b/build/MCC index c08a2f2cd44f006051c09258d125f6d123866100..01bd5dad84377cdc5a44d9f0108a3397107bcc52 100755 Binary files a/build/MCC and b/build/MCC differ diff --git a/include/game/GameEntities.hpp b/include/game/GameEntities.hpp index ed107ac2ba36e13392be19feb5f61d459089a8cc..1a84dc3a98da9970f039d277dfbf7e270eadd6a4 100644 --- a/include/game/GameEntities.hpp +++ b/include/game/GameEntities.hpp @@ -68,6 +68,8 @@ class Being : public Entity public: Being(float x,float y, float w, float h,float d, float f,float r,b2Shape* shape,BodyType type,void* object,uint8 category,ETypeInstance typeInstance,groupIndex index,WorldManager* parent); + virtual void acceptSkill(Skill* skill){cout << "touché" << endl;} + void setCanTakeDame(bool v){CTD = v;} void setName(string name){this->name = name;} void setWalkSpeed(float speed){this->walkspeed = speed;} @@ -77,8 +79,15 @@ class Being : public Entity void setState(EntityState state){this->state = state;} void setHp(int hp){this->currHp = currHp;} void setMaxHp(int hp){this->maxHp = maxHp;} - void update(float deltaT) override { getAnimation(state).getTimer()->update(deltaT); } - void takeDamage(int damage); + + /** + * @brief Parcourir les effets. + * + * @param deltaT + */ + void update(float deltaT) override { + getAnimation(state).getTimer()->update(deltaT); + } WorldManager* getParent(){return this->parent;} EntityState getState(){return this->state;} @@ -143,11 +152,12 @@ class Player : public Being void BeginContact(b2Contact* contact,float deltaT) override; void EndContact(b2Contact* contact,float deltaT) override; void setState(EntityState state){this->state = state;} + void takeDamage(int damage){} bool applySkill(const PSkill& skill); bool isSkillFinished(); - float getAngle(); bool getInvicible(){return this->invicible;} + float getAngle(); Texture getArrow(){return directionArrow;} int getWidthArrow(){return widthArrow;} @@ -206,7 +216,6 @@ class Enemy : public Being void changeDirection(float deltaT); void EndContact(b2Contact* contact) {} void BeginContact(b2Contact* contact, float deltaT) override; - void acceptSkill(Skill* skill){cout << "touché" << endl;} void EndContact(b2Contact* contact,float deltaT) { b2Fixture* fixtureA = contact->GetFixtureA(); b2Fixture* fixtureB = contact->GetFixtureB(); @@ -353,6 +362,9 @@ class Skill { * @return false */ virtual bool isFinished() = 0; + + virtual void applySkillPlayer(Player* player){}; + virtual void applySkillEnemy(Enemy* enemy){}; protected: Texture icon; @@ -368,9 +380,6 @@ class HSlash : public Skill { public: HSlash(Player* player, b2World* world) : Skill(player,world) {} - void applySkillPlayer(Player* player){}; - void applySkillEnemy(Enemy* enemy){}; - bool use() override; bool isFinished() override {return finished;} diff --git a/include/game/Map.hpp b/include/game/Map.hpp index 286353484a667a6ea81c2c30b39c3a8556dc7303..a1c4a24958b089b0cc7fe2e01d1eb2e3d6bebfee 100644 --- a/include/game/Map.hpp +++ b/include/game/Map.hpp @@ -7,6 +7,7 @@ #include <algorithm> #include <tuple> #include <fstream> +#include <sstream> // Game #include "Tile.hpp" @@ -18,9 +19,10 @@ #include "../../libs/RapidJson/include/rapidjson/document.h" #include "../../libs/RapidJson/include/rapidjson/writer.h" #include "../../libs/RapidJson/include/rapidjson/stringbuffer.h" -# include "../../libs/PerlinNoise-master/PerlinNoise.hpp" +#include "../../libs/PerlinNoise-master/PerlinNoise.hpp" using namespace std; +using namespace rapidjson; // Ajouter l'espace de noms rapidjson /** * @brief Classe qui sous-traite la génération de map. @@ -33,11 +35,17 @@ class Map void render(); void update(float deltaT); + void loadMap(const string& fileName); void createRandomMap(bool withperlin, const string& fileName, int rows, int cols); - void extractJsonDataForMap(const string& fileName); void getMapDimension(int* w, int* h); private: + Document extractJsonDataForMap(const string& fileName); + Document extractJsonDataFromTileInfos(); + void getMatriceInfosFromDocument(std::vector<std::tuple<Texture, TileType, std::tuple<bool, int, float>>>& tilesInfos, Document& document); + void getTilesInfosFromDocument(std::vector<std::tuple<Texture, TileType, std::tuple<bool, int, float>>>& tilesInfos, Document& document); + + // Changer en shared_ptr vector<TileDynamique*> dynamicTiles; vector<TileStatique> staticTiles; vector<Tile> tiles; diff --git a/include/game/Tile.hpp b/include/game/Tile.hpp index 3bb1c484dc2004adc7f8fa04fc04beb3971877af..923f7f99519e9459db54446bcbdb7aea61430784 100644 --- a/include/game/Tile.hpp +++ b/include/game/Tile.hpp @@ -8,7 +8,8 @@ enum TileType { Ground, Wall, - Water + Water, + Sand, }; /** diff --git a/assets/maps/test.json b/maps/test.json similarity index 96% rename from assets/maps/test.json rename to maps/test.json index 2dc5ab0b6f8ea231d46de842277d13bad9eed2d6..b060f2a410f7dc59001735e1858862a53f397a1f 100644 --- a/assets/maps/test.json +++ b/maps/test.json @@ -1 +1 @@ -{"tileMatrix":[[0,0,0,0,0,0,2,2,0,2,2,2,2,2,2,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,0,2,2,2,2,2,2,2,0,0,0],[0,0,0,0,0,0,2,2,0,0,2,2,2,2,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,0,0,0],[0,0,0,0,0,0,0,2,0,0,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,0,0,0,0,0,0,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,2,2,2,2,2,2,0,0,0],[2,2,2,2,2,0,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,0,0,0,0,0,0,2,2,2,2,2,0,0,0,0,0]],"tileInfo":[{"textureName":"grass.png","tileType":0,"animated":[false,0,0.0]},{"textureName":"rock.png","tileType":1,"animated":[false,0,0.0]},{"textureName":"sand.png","tileType":0,"animated":[false,0,0.0]},{"textureName":"water.png","tileType":2,"animated":[true,8,0.25]}]} \ No newline at end of file +{"tileMatrix":[[0,0,0,0,0,0,2,2,0,2,2,2,2,2,2,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,0,2,2,2,2,2,2,2,0,0,0],[0,0,0,0,0,0,2,2,0,0,2,2,2,2,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,0,0,0],[0,0,0,0,0,0,0,2,0,0,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,0,0],[0,0,0,0,0,2,0,0,0,0,2,2,2,2,0,0,0,0,0,2,2,2,2,3,3,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,0,0],[2,0,0,2,2,2,0,0,0,0,0,2,2,2,2,0,0,0,0,2,2,2,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,0],[2,0,0,2,2,2,2,2,0,2,2,2,2,2,2,0,0,0,0,2,2,2,2,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2],[0,0,0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2],[0,0,0,0,0,2,2,2,2,2,2,2,2,0,0,0,0,0,0,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,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2],[2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,2,2,2,2,2,2,0,0,0],[2,2,2,2,2,2,2,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,0,0,0],[2,0,0,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,2,2,0,0,0],[2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,0,0,0],[2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,2,0,0,0],[2,2,2,2,2,0,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,0,0,0,0,0,0,2,2,2,2,2,0,0,0,0,0]]} \ No newline at end of file diff --git a/assets/maps/test2.json b/maps/test2.json similarity index 98% rename from assets/maps/test2.json rename to maps/test2.json index c086add4e16dfce0ed762b0061858f56416ac3b6..b1fc9db5f3ae6fc773803d49e60331fcae5fb239 100644 --- a/assets/maps/test2.json +++ b/maps/test2.json @@ -1 +1 @@ -{"tileMatrix":[[0,2,1,1,2,2,2,0,1,2,0,0,0,1,2,2,0,1,2,1,1,1,1,2,0,1,2,2,1,1,2,0,0,1,2,1,0,2,2,2,2,0,0,2,2,0,2,2,2,0,1,1,2,2,1,0,1,0,2,0,1,2,1,2,0,1,1,2,1,1,2,0,2,2,1,1,0,1,1,0,1,2,2,0,2,0,1,1,0,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,2,2,1,0,1,2,0,1,0,1,2,2,1,2,2,0,1,1,1,1,0,1,1,2,2,0,0,1,2,1,1],[2,0,1,2,1,1,1,0,1,2,0,1,1,1,1,2,0,0,0,1,1,0,0,1,0,0,2,0,1,1,1,0,1,2,0,0,0,1,1,0,0,2,2,2,0,0,2,0,1,0,2,0,0,0,1,2,1,1,2,2,2,0,2,1,1,0,1,2,2,1,0,1,0,2,0,1,1,0,2,2,1,2,2,2,2,2,1,1,0,0,0,1,1,1,2,0,2,2,0,1],[0,1,0,1,1,1,2,2,1,2,0,2,2,2,0,1,2,1,0,1,2,2,2,1,0,1,1,0,1,2,2,1,0,0,0,2,2,2,2,0,2,2,1,1,0,1,0,2,2,1,0,2,0,0,0,1,0,2,2,1,2,1,1,0,2,1,0,1,1,0,2,1,0,1,0,0,0,1,1,2,2,2,2,0,0,0,1,0,0,0,1,0,0,2,1,2,1,2,1,0]],"tileInfo":[{"textureName":"grass.png","tileType":0,"animated":[false,0]},{"textureName":"rock.png","tileType":0,"animated":[false,0]},{"textureName":"sand.png","tileType":0,"animated":[false,0]}]} \ No newline at end of file +{"tileMatrix":[[0,2,1,1,2,2,2,0,1,2,0,0,0,1,2,2,0,1,2,1,1,1,1,2,0,1,2,2,1,1,2,0,0,1,2,1,0,2,2,2,2,0,0,2,2,0,2,2,2,0,1,1,2,2,1,0,1,0,2,0,1,2,1,2,0,1,1,2,1,1,2,0,2,2,1,1,0,1,1,0,1,2,2,0,2,0,1,1,0,1,2,2,0,1,2,2,0,1,2,1],[0,1,2,2,1,0,1,2,2,2,0,1,2,2,0,1,0,2,0,0,0,0,0,2,2,0,2,2,2,1,0,2,0,2,2,2,1,1,0,1,1,0,2,0,1,0,0,1,0,0,0,1,1,0,1,0,1,0,2,0,1,0,0,2,0,0,1,2,1,1,0,0,0,0,1,1,2,1,0,2,2,0,0,1,2,2,1,0,2,1,2,1,1,0,0,2,2,2,2,0],[0,2,2,0,1,0,2,0,2,0,2,1,1,1,2,0,0,1,2,1,0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0,1,0,1,1,1,2,2,1,2,0,2,2,2,0,1,2,1,0,1,2,2,2,1,0,1,1,0,1,2,2,1,0,0,0,2,2,2,2,0,2,2,1,1,0,1,0,2,2,1,0,2,0,0,0,1,0,2,2,1,2,1,1,0,2,1,0,1,1,0,2,1,0,1,0,0,0,1,1,2,2,2,2,0,0,0,1,0,0,0,1,0,0,2,1,2,1,2,1,0]]} \ No newline at end of file diff --git a/maps/test_Tile Layer 1.csv b/maps/test_Tile Layer 1.csv new file mode 100644 index 0000000000000000000000000000000000000000..dcbbb0b86ce40be2df4f7d84d768d8a40c0d4acd --- /dev/null +++ b/maps/test_Tile Layer 1.csv @@ -0,0 +1,50 @@ +9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2 +9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2,2 +9,9,9,9,9,9,9,9,12,12,12,12,12,12,12,12,12,12,12,12,13,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2,2,23 +9,9,9,9,9,9,9,9,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2,2,23,23 +9,9,9,9,9,9,9,12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2,2,23,23,23 +9,9,9,9,9,9,9,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2,2,23,23,23,23 +9,9,9,9,9,9,9,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,4,4,4,4,4,4,4,2,2,23,23,23,23,23 +9,9,9,9,9,9,12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,2,2,23,23,23,23,23,23 +9,9,9,9,9,9,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,2,23,23,23,23,23,23,23 +9,9,9,9,9,12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23 +9,9,9,9,9,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23,23 +9,9,9,9,12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23,23,23 +9,9,9,12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23,23,23,23 +9,9,9,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,2,4,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23,23,23,23,23 +9,12,12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,2,23,23,23,23,23,23,23,23,23,23,23,23 +12,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,2,4,4,4,4,4,4,4,4,4,4,4,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,4,4,4,4,4,4,4,4,4,4,4,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,2,2,4,4,4,4,4,4,4,4,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,2,2,2,4,4,4,4,4,4,4,4,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,4,4,2,2,4,4,4,4,4,4,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,2,2,2,4,4,4,4,4,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,4,4,4,2,2,2,4,2,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,4,4,4,4,4,2,2,2,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,4,4,4,4,4,2,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,4,4,4,4,2,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,2,2,2,2,2,2,2,2,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 +23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 diff --git a/maps/test_Tile Layer 2.csv b/maps/test_Tile Layer 2.csv new file mode 100644 index 0000000000000000000000000000000000000000..c9f38b30dd59650112143a8687c3d4392160459b --- /dev/null +++ b/maps/test_Tile Layer 2.csv @@ -0,0 +1,50 @@ +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,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17,18,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,15,17,18,20,19,-1,14,15,-1,-1,20,19,-1,-1,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,15,14,15,14,15,17,18,20,19,21,22,-1,17,18,-1,-1,21,22,-1,-1,17,18,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,17,18,17,18,17,18,20,19,21,22,-1,14,15,20,19,14,15,14,15,14,15,20,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,20,19,20,19,20,19,21,22,-1,-1,-1,17,18,21,22,17,18,17,18,17,18,21,22,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,21,22,21,22,21,22,-1,-1,-1,-1,-1,20,19,14,15,20,19,20,19,20,19,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +-1,-1,17,18,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,21,22,17,18,21,22,21,22,21,22,17,18,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +14,15,20,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,20,19,-1,-1,14,15,-1,-1,20,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 +17,18,21,22,-1,-1,-1,-1,-1,-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1,-1,-1,-1,-1,-1,-1,-1,17,18,21,22,17,18,-1,-1,-1,-1,20,19,17,18 +-1,-1,-1,-1,20,19,20,19,20,19,20,19,20,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,15,20,19,14,15,20,19,-1,-1,14,15,21,22,20,19 +-1,-1,-1,-1,21,22,21,22,21,22,21,22,21,22,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,15,-1,-1,-1,-1,-1,17,18,21,22,17,18,21,22,14,15,17,18,14,15,21,22 +14,15,14,15,14,15,14,15,14,15,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,15,17,18,-1,-1,-1,-1,-1,20,19,14,15,20,19,14,15,17,18,20,19,17,18,14,15 +17,18,17,18,17,18,17,18,17,18,17,18,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,17,18,20,19,14,15,-1,-1,-1,21,22,17,18,21,22,17,18,20,19,21,22,20,19,17,18 +20,19,20,19,20,19,20,19,20,19,20,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,20,19,21,22,17,18,-1,-1,-1,-1,-1,20,19,14,15,20,19,21,22,14,15,21,22,20,19 +21,22,21,22,21,22,21,22,21,22,21,22,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,21,22,14,15,20,19,-1,-1,-1,-1,-1,21,22,17,18,21,22,14,15,17,18,14,15,21,22 +14,15,14,15,14,15,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,15,17,18,21,22,14,15,-1,-1,-1,-1,-1,20,19,14,15,17,18,20,19,17,18,14,15 +17,18,17,18,17,18,17,18,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,17,18,20,19,-1,-1,17,18,-1,-1,-1,-1,-1,21,22,17,18,20,19,21,22,20,19,17,18 +20,19,20,19,20,19,20,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,20,19,21,22,-1,-1,20,19,-1,-1,-1,-1,-1,-1,-1,20,19,21,22,-1,-1,21,22,20,19 +21,22,21,22,21,22,21,22,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,21,22,-1,-1,-1,-1,21,22,-1,-1,-1,-1,-1,-1,-1,21,22,-1,-1,-1,-1,-1,-1,21,22 diff --git a/maps/tileInfos.json b/maps/tileInfos.json new file mode 100644 index 0000000000000000000000000000000000000000..9de92de4516216033110f38bae67b6ecf7609b9c --- /dev/null +++ b/maps/tileInfos.json @@ -0,0 +1,119 @@ +{ + "tilesInfos": [ + { + "textureName": "../assets/tiles/grass/grass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/rock/rock.png", + "tileType": 1, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/sand/sand.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/water/water.png", + "tileType": 2, + "animated": [true, 8, 0.25] + }, + { + "textureName": "../assets/tiles/grass/LeftUpGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/UpGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/RightUpGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/LeftUpGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/LeftGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/MiddleGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/RightGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/LeftDownGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/DownGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/grass/RightDownGrass.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/LeftUpTree1.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/RightUpTree1.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/LeftMiddleTree1.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/RightMiddleTree1.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/LeftMiddle2Tree1.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/RightMiddle2Tree1.png", + "tileType": 0, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/DownLeftTree1.png", + "tileType": 1, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/DownRightTree1.png", + "tileType": 1, + "animated": [false, 0, 0.0] + }, + { + "textureName": "../assets/tiles/other/Grass2.png", + "tileType": 0, + "animated": [false, 0, 0.0] + } + ] +} diff --git a/src/game/Map.cpp b/src/game/Map.cpp index c7db374c81dbe78e24877ef9c667085515ce63bf..38e88f317df4720b0c5f4bc8a0544d5d2dd38684 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1,5 +1,4 @@ #include "../../include/game/Game.hpp" -#include <sstream> Map::Map(Camera* camera) : camera(camera){ RenderManager& rm = RenderManager::getInstance(); @@ -26,7 +25,7 @@ void Map::createRandomMap(bool withperlin, const string& fileName, int rows, int * dynamique du monde et doit être instanciée en tant que telle. * Les tiles dynamiques seront réaffichées à chaque frame par dessus la texture statique que l'on a initialisé au début du monde par la classe Map. */ - std::vector<std::tuple<std::string, TileType, std::tuple<bool, int, float>>> tileInfo = { + std::vector<std::tuple<std::string, TileType, std::tuple<bool, int, float>>> tilesInfos = { {"grass.png", Ground, {false, 0,0}}, {"rock.png", Wall, {false, 0,0}}, {"sand.png", Ground, {false, 0,0}}, @@ -63,7 +62,7 @@ void Map::createRandomMap(bool withperlin, const string& fileName, int rows, int { for (int y = 0; y < cols; ++y) { - int randomValue = rand() % tileInfo.size(); + int randomValue = rand() % tilesInfos.size(); tileMatrix[x][y] = randomValue; } } @@ -86,7 +85,7 @@ void Map::createRandomMap(bool withperlin, const string& fileName, int rows, int // Ajout du tableau de tuples au document JSON Value tileInfoArray(kArrayType); - for (const auto& info : tileInfo) { + for (const auto& info : tilesInfos) { Value tile(kObjectType); tile.AddMember("textureName", Value(get<0>(info).c_str(), allocator).Move(), allocator); tile.AddMember("tileType", std::get<1>(info), allocator); @@ -98,7 +97,7 @@ void Map::createRandomMap(bool withperlin, const string& fileName, int rows, int tile.AddMember("animated", animatedArray, allocator); tileInfoArray.PushBack(tile, allocator); } - document.AddMember("tileInfo", tileInfoArray, allocator); + document.AddMember("tilesInfos", tileInfoArray, allocator); // Création du writer JSON StringBuffer buffer; @@ -119,175 +118,240 @@ void Map::createRandomMap(bool withperlin, const string& fileName, int rows, int /** * @brief Génère une matrice 2D de tiles pour créer la map. * La fonction est un peu longue mais en gros elle fonctionne de la manière suivante : - * Dans un premier temps on ouvre le fichier Json. - * Ensuite on récupère les infos des tiles dans le tableau tileInfo (voir fichier Json). + * Dans un premier temps on ouvre les fichiers Json. + * Ensuite on extrait les données. * Puis enfin on parcourt la matrice 2D des entiers qui représente la carte du monde. - * Chaque entier représente un indexe de tileInfo. Grâce à cet indexe on sait de quoi est composé la tile. + * Chaque entier représente un indexe de tilesInfos. Grâce à cet indexe on sait de quoi est composé la tile. * On procède alors par distinguer une tile dynamique d'une tile statique. * Si la tile est statique, on l'applique bêtement à mapWorldText. Sinon on crée un instance Tile. * @param fileName */ -void Map::extractJsonDataForMap(const string& fileName) { - Texture rtex = SDL_GetRenderTarget(renderer); - - // Ouvrir le fichier JSON en lecture - ifstream file(fileName); - if (!file.is_open()) { - cerr << "Erreur : Impossible d'ouvrir le fichier JSON." << endl; - return; - } - - // Lecture du contenu du fichier JSON dans une chaîne - string jsonString((istreambuf_iterator<char>(file)), istreambuf_iterator<char>()); - file.close(); +void Map::loadMap(const string& fileName) { + cout << "document TileInfo" << endl; + // Dans un premier temps on charge le fichier tileInfos. + Document documentTileInfo = extractJsonDataFromTileInfos(); + + cout << "document Map" << endl; + // Puis dans un second temps on charge le fichier Json de la map. + Document documentMap = extractJsonDataForMap(fileName); + + // Ensuite on extrait les données. + std::vector<std::tuple<Texture, TileType, std::tuple<bool, int, float>>> tilesInfos; + cout << "Extrait les documents" << endl; + getTilesInfosFromDocument(tilesInfos, documentTileInfo); + cout << "Extrait les infos du document" << endl; + getMatriceInfosFromDocument(tilesInfos, documentMap); - // Analyse du contenu JSON - Document document; - if (document.Parse(jsonString.c_str()).HasParseError()) { - cerr << "Erreur : Impossible de parser le fichier JSON." << endl; - return; - } - - std::vector<std::tuple<Texture, TileType, std::tuple<bool, int,float>>> tileInfo; + cout << "Succès du chargement du monde !" << endl; +} - // Extraction des données du tableau de tuples - if (document.HasMember("tileInfo") && document["tileInfo"].IsArray()) { - const Value& tileInfoArray = document["tileInfo"]; +void Map::getTilesInfosFromDocument(std::vector<std::tuple<Texture, TileType, std::tuple<bool, int, float>>>& tilesInfos, Document& document) { + if (document.HasMember("tilesInfos") && document["tilesInfos"].IsArray()) { + const Value& tileInfoArray = document["tilesInfos"]; for (SizeType i = 0; i < tileInfoArray.Size(); ++i) { // Valeurs à extraire TileType tileType; Texture texture; bool animated = false; - int nbFrames; - float speed; + int nbFrames = 0; + float speed = 0.0f; const Value& tile = tileInfoArray[i]; // La texture. - if (tile.HasMember("textureName") && tile["textureName"].IsString()){ - string cheminTexture = "../assets/tiles/"; - cheminTexture += tile["textureName"].GetString(); + if (tile.HasMember("textureName") && tile["textureName"].IsString()) { + string cheminTexture = tile["textureName"].GetString(); texture = IMG_LoadTexture(renderer, cheminTexture.c_str()); - }else{ + if (!texture) { + cerr << "Erreur lors du chargement de la texture : " << cheminTexture << endl; + continue; + } + } else { cerr << "textureName corrompu !" << endl; + continue; } - + // Le type de tile. - if (tile.HasMember("tileType") && tile["tileType"].IsInt()){ + if (tile.HasMember("tileType") && tile["tileType"].IsInt()) { tileType = static_cast<TileType>(tile["tileType"].GetInt()); - }else{ + } else { cerr << "tileType corrompu !" << endl; + continue; } // Animated. - if (tile.HasMember("animated") && tile["animated"].IsArray()){ - const Value& array = tile["animated"].GetArray(); - animated = array[0].GetBool(); - nbFrames = array[1].GetInt(); - speed = array[2].GetFloat(); - }else{ + if (tile.HasMember("animated") && tile["animated"].IsArray()) { + const Value& array = tile["animated"].GetArray(); + if (array.Size() == 3 && array[0].IsBool() && array[1].IsInt() && array[2].IsFloat()) { + animated = array[0].GetBool(); + nbFrames = array[1].GetInt(); + speed = array[2].GetFloat(); + } else { + cerr << "animated array corrompu !" << endl; + continue; + } + } else { cerr << "animated array corrompu !" << endl; + continue; } - tileInfo.push_back(std::make_tuple(texture, tileType, std::make_tuple(animated, nbFrames,speed))); + tilesInfos.push_back(make_tuple(texture, tileType, make_tuple(animated, nbFrames, speed))); } + } else { + cerr << "Erreur : 'tilesInfos' est manquant ou n'est pas un tableau dans le JSON." << endl; } - - // Extraction des données de la matrice 2D +} + +void Map::getMatriceInfosFromDocument(std::vector<std::tuple<Texture, TileType, std::tuple<bool, int, float>>>& tilesInfos, Document& document) { + // Garde le renderer de côté. + Texture rtex = SDL_GetRenderTarget(renderer); + if (document.HasMember("tileMatrix") && document["tileMatrix"].IsArray()) { const Value& matrixArray = document["tileMatrix"]; + if (matrixArray.Size() == 0 || !matrixArray[0].IsArray()) { + cerr << "Erreur : 'tileMatrix' est vide ou mal formaté." << endl; + return; + } this->w = matrixArray.Size() * TILESIZE; - this->h = matrixArray[0].Size() * TILESIZE; + this->h = matrixArray[0].GetArray().Size() * TILESIZE; for (SizeType x = 0; x < matrixArray.Size(); ++x) { const Value& row = matrixArray[x]; - for (SizeType y = 0; y < row.Size(); ++y) { + for (SizeType y = 0; y < row.GetArray().Size(); ++y) { + + if (y >= row.GetArray().Size() || !row[y].IsInt()) { + cerr << "Erreur : valeur dans 'tileMatrix' est manquante ou non entière." << endl; + continue; + } + const int val = row[y].GetInt(); - const Texture tileTexture = std::get<0>(tileInfo[val]); - const bool animated = std::get<0>(std::get<2>(tileInfo[val])); - const int nbFrames = std::get<1>(std::get<2>(tileInfo[val])); - const float speed = std::get<2>(std::get<2>(tileInfo[val])); - TileType tileType = std::get<1>(tileInfo[val]); - + if (val < 0 || static_cast<size_t>(val) >= tilesInfos.size()) { + cerr << "Erreur : index de tile invalide dans 'tileMatrix'." << endl; + continue; + } + + const Texture tileTexture = std::get<0>(tilesInfos[val]); + const bool animated = std::get<0>(std::get<2>(tilesInfos[val])); + const int nbFrames = std::get<1>(std::get<2>(tilesInfos[val])); + const float speed = std::get<2>(std::get<2>(tilesInfos[val])); + TileType tileType = std::get<1>(tilesInfos[val]); + // Si cas tuile statique if (tileType == TileType::Ground && !animated) { - tiles.emplace_back(x,y,tileTexture); + tiles.emplace_back(x, y, tileTexture); continue; } - // Sinon on prépare un tuile dynamique + // Sinon on prépare une tuile dynamique vector<Texture> animTextures; - /** - * @brief Parcourt pour découper la texture en plusieurs sous textures de la taille d'une tile. - * Chaque sous texture correspond à une étape de l'animation. - * C'est pour ça qu'on fait addFrame(tile) à la fin. - */ - if(nbFrames > 1){ - renderManager->parseTexture(animTextures,tileTexture,TILESIZE,TILESIZE,nbFrames); - }else{ + // Découper la texture en plusieurs sous-textures si nbFrames > 1 + if (nbFrames > 1) { + renderManager->parseTexture(animTextures, tileTexture, TILESIZE, TILESIZE, nbFrames); + } else { animTextures.push_back(tileTexture); } Animation* animation = nullptr; // Ensuite on génère notre tile. - if(tileType == TileType::Ground) { // Création de la tile dynamique - TileStatique newTile(x,y); + if (tileType == TileType::Ground) { // Création de la tile dynamique + TileStatique newTile(x, y); staticTiles.push_back(newTile); - newTile.addAnimation(speed); animation = &(newTile.getAnimation()); - }else{ + } else { b2PolygonShape shape; - shape.SetAsBox(TILESIZE / (PPM * 2.0f),TILESIZE/(PPM * 2.0f),Vec2(TILESIZE/(PPM * 2.0f),TILESIZE/(PPM * 2.0f)),0.0f); - TileDynamique* newTile; + shape.SetAsBox(TILESIZE / (PPM * 2.0f), TILESIZE / (PPM * 2.0f), Vec2(TILESIZE / (PPM * 2.0f), TILESIZE / (PPM * 2.0f)), 0.0f); + TileDynamique* newTile = nullptr; // Appelle le bon constructeur en fonction de l'Enum - // Utiliser avec un dictionnaire à la place. - switch(tileType){ - case(Wall): - newTile = new TileWall( - x,y,TILESIZE,TILESIZE,0.0f,0.0f,&shape,Static - ); + switch (tileType) { + case Wall: + newTile = new TileWall(x, y, TILESIZE, TILESIZE, 0.0f, 0.0f, &shape, Static); break; - case(Water): - newTile = new TileWater( - x,y,TILESIZE,TILESIZE,0.0f,0.0f,&shape,Static - ); + case Water: + newTile = new TileWater(x, y, TILESIZE, TILESIZE, 0.0f, 0.0f, &shape, Static); break; default: break; } - newTile->setType(tileType); - newTile->setX(x); - newTile->setY(y); - dynamicTiles.push_back(newTile); - - newTile->addAnimation(0,speed); - animation = &(newTile->getAnimation(0)); - - // Ce bout de code permet d'instancier un seul timer pour les tiles Water. - if (tileType == Water) { - if (waterTimer == nullptr) { - waterTimer = new Timer(speed); + if (newTile) { + newTile->setType(tileType); + newTile->setX(x); + newTile->setY(y); + dynamicTiles.push_back(newTile); + newTile->addAnimation(0, speed); + animation = &(newTile->getAnimation(0)); + + // Instancier un seul timer pour les tiles Water. + if (tileType == Water) { + if (!waterTimer) { + waterTimer = new Timer(speed); + } + animation->setTimer(waterTimer); } - animation->setTimer(waterTimer); } } - if(animation == nullptr){ + if (!animation) { cerr << "L'animation est null" << endl; } - for(Texture frame : animTextures){ + for (Texture frame : animTextures) { animation->addFrame(frame); } } } - // Remet le bon renderer. - SDL_SetRenderTarget(renderer, rtex); + } else { + cerr << "Erreur : 'tileMatrix' est manquant ou n'est pas un tableau dans le JSON." << endl; } - cout << "Succès du chargement du monde !" << endl; + + // Remet le bon renderer. + SDL_SetRenderTarget(renderer, rtex); +} + +Document Map::extractJsonDataFromTileInfos() { + // Ouvrir le fichier JSON en lecture + ifstream file("../maps/tileInfos.json"); + if (!file.is_open()) { + cerr << "Erreur : Impossible d'ouvrir le fichier TileInfos.json." << endl; + exit(EXIT_FAILURE); + } + + // Lecture du contenu du fichier JSON dans une chaîne + string jsonString((istreambuf_iterator<char>(file)), istreambuf_iterator<char>()); + file.close(); + + // Analyse du contenu JSON + Document document; + if (document.Parse(jsonString.c_str()).HasParseError()) { + cerr << "Erreur : Impossible de parser le fichier TileInfos.json." << endl; + exit(EXIT_FAILURE); + } + + return document; +} + +Document Map::extractJsonDataForMap(const string& fileName) { + // Ouvrir le fichier JSON en lecture + ifstream file(fileName); + if (!file.is_open()) { + cerr << "Erreur : Impossible d'ouvrir le fichier JSON." << endl; + exit(EXIT_FAILURE); + } + + // Lecture du contenu du fichier JSON dans une chaîne + string jsonString((istreambuf_iterator<char>(file)), istreambuf_iterator<char>()); + file.close(); + + // Analyse du contenu JSON + Document document; + if (document.Parse(jsonString.c_str()).HasParseError()) { + cerr << "Erreur : Impossible de parser le fichier JSON." << endl; + exit(EXIT_FAILURE); + } + + return document; } void Map::getMapDimension(int* w, int* h){ diff --git a/src/manager/RenderManager.cpp b/src/manager/RenderManager.cpp index 05610710b26bc49b5ab19bd8af526d15dffa0278..3638bd58fc06205e63a6a52cd6433bb456afa09b 100644 --- a/src/manager/RenderManager.cpp +++ b/src/manager/RenderManager.cpp @@ -17,7 +17,7 @@ RenderManager::RenderManager(const char title[], int w, int h,bool fullscreen) : } if(fullscreen){ - windowflags |= SDL_WINDOW_FULLSCREEN_DESKTOP; + windowflags |= SDL_WINDOW_RESIZABLE; SDL_DisplayMode DM; SDL_GetCurrentDisplayMode(0, &DM); window_width = DM.w; diff --git a/src/manager/WorldManager.cpp b/src/manager/WorldManager.cpp index c121bdd6718f9b753f38275f1cc2a7c5e17c9d4e..bfaae48a04f43761f599c9bfc33fddfff43597dc 100644 --- a/src/manager/WorldManager.cpp +++ b/src/manager/WorldManager.cpp @@ -40,10 +40,10 @@ WorldManager::WorldManager(Game* game) : game(game) { // On instancie la map. mapWorld = new Map(camera); - const string mapName = "../assets/maps/test.json"; + const string mapName = "../maps/test.json"; - mapWorld->createRandomMap(true,mapName,(int)50 * 1.7,50); - mapWorld->extractJsonDataForMap(mapName); + //mapWorld->createRandomMap(true,mapName,(int)50 * 1.7,50); + mapWorld->loadMap(mapName); mapWorld->getMapDimension(&mapW,&mapH); //mise en place des bordure de map