The first implementation of primitive drawing has been added, you can play with the sf::Shape class if you want to test.
Please note that it only handles convex shapes for now.
I'm trying out the new sf::Shape functionality and have downloaded the full SDK 1.2. Next thing is to download the needed files for Shape as they aren't not included in the SDK download, right? I have some problem however, as I don't know what files need to be replaced... Right now I've replaced/added Shape.cpp, Shape.hpp, Arial.hpp, Font.hpp, FontLoader.cpp, FontLoader.hpp and the graphics vcproj-file... Right now it complains about the fontmanager... Is there and easy way to bring my project up to date if i just want to add the Shape functionality? Can you specify what files I need to replace/add?
--
String.obj : error LNK2019: unresolved external symbol "public: struct sf::priv::FontManager::Font const & __thiscall sf::priv::FontManager::GetBitmapFont(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >)" (?GetBitmapFont@FontManager@priv@sf@@QAEABUFont@123@ABV?$basic_string@DU?$char_traits@D@
std@@V?$allocator@D@2@@std@@IV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@6@@Z) referenced in function "public: static void __cdecl sf::String::PreloadFont(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,float,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >)" (?PreloadFont@String@sf@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MV?$basic_string@
_WU?$char_traits@_W@std@@V?$allocator@_W@2@@4@@Z)
String.obj : error LNK2019: unresolved external symbol "public: static class sf::priv::FontManager & __cdecl sf::priv::FontManager::GetInstance(void)" (?GetInstance@FontManager@priv@sf@@SAAAV123@XZ) referenced in function "public: static void __cdecl sf::String::PreloadFont(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,float,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >)" (?PreloadFont@String@sf@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MV?$basic_string@_WU?
$char_traits@_W@std@@V?$allocator@_W@2@@4@@Z)