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 - kattle87

Pages: [1]
1
Network / Question about packet size limits
« on: November 24, 2011, 02:24:12 am »
Is there any limit on the packet size? I am asking since I might need to move around "huge" amounts of data over a LAN (up to a max of 100 MBs on rare events), and SFML network (expecially "Packets") features are really nice compared to raw TCP, expecially while I'm developing my application (no optimizations needed yet!)
Should I expect any issue? Should I break down my "huge packet" in smaller fragments (something like 1MB max size)?

2
Feature requests / Mouse capture/grab
« on: April 02, 2011, 01:00:02 pm »
What we could do is having the "mouse deltas" as a readly-available feature, giving the user float values calculated by sfml using velocity or position means. This way, one would have not to do anything but calling a function for getting "precise" and not-stuttering movements :P

3
SFML projects / Atom Zombie Smasher
« on: March 18, 2011, 03:10:30 pm »
played the demo twice... I wanted at least one more level! I can't get to upgrade my foot troops! :D
It's a really nice piece of software, I'm spamming people to try the demo at least. Too bad there's no online multiplayer, it might have been interesting (I have no friends nor controllers :P)! But I guess it would have been rather difficult to fit since there are so many zeds on the screen.

Congrats again, I just hope to be as popular as you one day!

Just one question: did you used any GUI library or you made it all by yourself?

4
Feature requests / OpenGL get GlContext
« on: March 13, 2011, 11:34:59 am »
Hello everyone! I am trying to blend SFML with Ogre3d... I know it has been discussed a few times already, but as far as I could find none has pointed out a possible solution: there's a way for Ogre to draw into existing openGL context, I couldn't try it on linux where it is more straightforward, while for windows one needs the window handle and the OpenGL context as provided by sdl (should be like SDL_getWMinfo.hglrc/. do you think this might be doable? I know there's OIS, but the less dependencies, the better ;)and I will use sfml for networking and audio anyway

EDIT: I found an post in this forum about getting the GL context with a windows function. If I succeed in making ogre work in SFML I will report and try to provide a sample.

5
General / windows linking errors against static SFML 2.0 Libraries
« on: March 11, 2011, 12:59:15 am »
aesh... Sorry for this being such a stupid problem!
I included SFML_STATIC in my preprocessor, but actually somehow failed in rebuilding the project. For this reason (and maybe something else I am missing here) I spent like 1 hour trying to understand what other mistakes I was doing... Well, I hope this will be useful for other people that just get the same strange errors...

Thank you very much!

6
General / windows linking errors against static SFML 2.0 Libraries
« on: March 10, 2011, 09:30:24 pm »
Hi everyone.
I am trying using SFML libraries on windows, making some experiments with them.
I downloaded the SFML 2.0 snapshot and compiled it using cmake + mingw 4.5. The tick on BUILD_SHARED_LIBS on cmake was disabled, so in theory I built the static libraries correctly (after that I would just give the mingw32-make command).
I use Codelite for my project... it is really similar to Code::Blocks and it uses the same MinGW I used to compile the libraries.
Later on I copied the libs and added them to a path the linker checks for libraries, (let's say SFML2/lib), and when I try to compile my really simple test program (will upload code if required) I get the following errors:

Code: [Select]
C:/develop/minepp/minepp/sfmlServer/main.cpp:8: undefined reference to `_imp___ZN2sf9UdpSocketC1Ev'
C:/develop/minepp/minepp/sfmlServer/main.cpp:9: undefined reference to `_imp___ZN2sf9UdpSocket4BindEt'
C:/develop/minepp/minepp/sfmlServer/main.cpp:21: undefined reference to `_imp___ZN2sf9IpAddressC1EPKc'
C:/develop/minepp/minepp/sfmlServer/main.cpp:21: undefined reference to `_imp___ZN2sf9UdpSocket4SendEPKcjRKNS_9IpAddressEt'


A bunch of similar errors might follow as well.

The linker options are -lsfml-system-s -lsfml-network-s.
If I link against dynamic libs everything is fine (I compiled them with Cmake by enabling the checkbox for shared libs the day before), but I need 2 extra libs for the program to start: libstdc++-6.dll and libgcc_blablabla.dll.
I really have no idea about what's going on... Clearly the linker can't find something but I got no clue on what's missing.

Pages: [1]
anything