Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Baron Pi

Pages: [1]
1
Graphics / how about primitives?
« on: February 25, 2008, 03:34:29 pm »
Quote from: "Laurent"
You should definitively not do that. Download a SVN client (TortoiseSVN on Windows), and get the whole repository.

To get the sources, go to the sf.net project page, everything is explained (menu "sources") ;)


Yes of course!
Checked out and built the latest version of SFML and everything works fine :)

Cheers

2
Graphics / how about primitives?
« on: February 25, 2008, 01:17:49 pm »
Quote from: "Laurent"
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)

3
Graphics / how about primitives?
« on: February 14, 2008, 02:58:39 pm »
Yes, really great news! I'll try it out as soon as possible.

4
Graphics / how about primitives?
« on: February 07, 2008, 01:07:26 pm »
Quote from: "Laurent"
It's actually in standby right now, but I'll try to finish it as it could be done quickly. Thanks for reminding me ;)


Great! Looking forward to it.

5
Graphics / how about primitives?
« on: February 06, 2008, 03:18:57 pm »
I'm just curious of how the work of the primitives is progressing (have been looking at that 50% on the roadmap every day :)   )

6
General / Using mousewheelmoved
« on: January 19, 2008, 05:25:44 pm »
OK great! Thanks!

7
General / Using mousewheelmoved
« on: January 19, 2008, 01:20:22 pm »
I don't know how to determine in what direction the mouse wheel moved, i.e. "up" or "down". I am trying to accomplish a simple zoom function using views. I have the following statement:
if(Event.Type == sf::Event::MouseWheelMoved)
{
  //i.e. zoom in
  View.Zoom += 10*App.GetFrameTime();
}
else if(Event.Type == sf::Event::MouseWheelMoved)
{
  //i.e. zoom out
  View.Zoom -= 10*App.GetFrameTime();
}

but I would also need something saying in what direction the mouse wheel moved. . . Any suggestions?

8
Graphics / how about primitives?
« on: January 19, 2008, 12:36:49 pm »
I'm thinking about using SFML in my thesis work which is about to take place soon, but it is quite vital to be able to draw primitives. . . Laurent is it possible for you to say how soon the primitives support will be added?

Pages: [1]
anything