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

Author Topic: mixing SDL and SFML ? is it possible?  (Read 6511 times)

0 Members and 1 Guest are viewing this topic.

herc

  • Newbie
  • *
  • Posts: 3
    • View Profile
mixing SDL and SFML ? is it possible?
« on: November 07, 2007, 02:19:14 pm »
is it easily possible to use SDL and SFML simultaneously?

i currently have my project build around SDL. so i am very deeply intertwined with sdl yet.

is it possible to gradually use parts of SFML, for example the network stuff, while also have sdl in the project? i think i can switch some parts rather quickly from sdl to sfml, but i think the event system would be too much work for now. so i would like to have windowing and keyboard/joy/mouse events using sdl, and audio+networking using sfml. possible?

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
mixing SDL and SFML ? is it possible?
« Reply #1 on: November 08, 2007, 11:20:10 am »
Just include Network.hpp?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
mixing SDL and SFML ? is it possible?
« Reply #2 on: November 08, 2007, 12:39:19 pm »
Windowing/events and audio/network are completely independant, there should be no problem.
Laurent Gomila - SFML developer

 

anything