Re: [Boost-users] port of GameDev SDL lib in Boost?
Fanzhe, I have been working on a sdl wrapper for boost::gil. It lets
you draw on a canvas and react to event such as a timer event. I was
thinking of outsourcing this portion so people can use just that. The
good thing is the sdl is supporting almost the same platforms as boost
does. The bad thing probably is the license sdl is using, LGPL.
If you want I can give you a pointer for the code.
Christian
On 6/6/07, fanzhe cui
Yes, I was referring to that library and more info could be found from the web: http://www.libsdl.org/. The problem with the boost timer that you mentioned is that it provides the time elapsed, but not the interface like provided by SDL lib. Particularly the kind of timer callback function that is available in SDL lib is not available in Boost lit.
Best regards, Fanzhe Cui
++++++++++++++++++++++ Goldiom Systems LLC - Information and Communication Technology Provider Email: fanzhe.cui@goldiom.com Tel: 973-210-4254 www.goldiom.com
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Tarjei Knapstad Sent: Wednesday, June 06, 2007 4:02 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] port of GameDev SDL lib in Boost?
On 6/6/07, fanzhe cui
wrote: I have been using both Boost lib and GameDev SDL lib in same projects. Both of the lib have very good platform independency. But they have some functionalities overlapping each other and I would like to use only one of them. The timer lib in GameDev SDL is very easy to use and I hope such lib or functionally similar one exists in Boost lib. I had a look at boost archive on previous discussion on implementing Boost timers and feel that there is still no good implementation of timer in Boost lib (correct me if I am wrong). Anybody in this email list had a look at GameDev timer and have considered implementing such a lib in Boost?
Are you referring to the Simple Direct Medialayer?
http://lazyfoo.net/SDL_tutorials/lesson12/index.php
What's wrong with/missing in boost::timer ?
http://boost.org/libs/timer/index.html
-- Tarjei _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Yes, I was referring to that library and more info could be found from the web: http://www.libsdl.org/. The problem with the boost timer that you mentioned is that it provides
time elapsed, but not the interface like provided by SDL lib. Particularly the kind of timer callback function that is available in SDL lib is not available in Boost lit.
Best regards, Fanzhe Cui
++++++++++++++++++++++ Goldiom Systems LLC - Information and Communication Technology Provider Email: fanzhe.cui@goldiom.com Tel: 973-210-4254 www.goldiom.com
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Tarjei Knapstad Sent: Wednesday, June 06, 2007 4:02 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] port of GameDev SDL lib in Boost?
On 6/6/07, fanzhe cui
wrote: I have been using both Boost lib and GameDev SDL lib in same projects. Both of the lib have very good platform independency. But they have some functionalities overlapping each other and I would like to use only one of them. The timer lib in GameDev SDL is very easy to use and I hope such
or functionally similar one exists in Boost lib. I had a look at boost archive on previous discussion on implementing Boost timers and feel
Christian,
Boost is very widely accepted and utilized by game developers, and on the
web GameDev.net there are many many articles about various boost sub lib.
But I haven't seen many discussions about SDL lib on this boost mail list
from boost users/developers. SDL is very convenient cross-platform C++
development platform that can be used not only game developers but also by
other developers. It has easy-to-use classes of multithreads, mutex, event
queues, timer callbacks, semaphores, key board input handling, audio, video,
to name a few. Most of these functionalities are available from Boost lib.
But I haven't seen good timer callback available from Boost lib (anybody can
correct me if I am not so informed of Boost timer).
I tried to extract the timer functions (classes) from the SDL lib into an
individual timer lib, and the work is still in progress. I am not sure other
users in the list are interested in knowing about porting SDL timer to
Boost. So if you can tell me your email of this email list, I can send you
the project file.
What exactly I did was that I included the relevant source files from SDL
package, and compile it with testing program. I was able to get the exe file
but the project also generated a library file in addition to the exe file. I
am confused by the fact that the project generating TimerTest.lib, that I
don't want t. Rather, I wanted to link them with TimerTest not intended to.
I checked the project configuration file, and there is no setting that will
generate a library file. I think it might be set in the program source code,
but I did not find it.
I am interested in your idea of implement SDL wrapper in boost lib. Thank
you!
Best regards,
Fanzhe Cui
+++++++++++++++++++++++++++
Goldiom Systems LLC
- Information and Communication Technology Provider
Email: fanzhe.cui@goldiom.com
Tel: 973-210-4254
www.goldiom.com
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Christian Henning
Sent: Wednesday, June 06, 2007 10:06 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] port of GameDev SDL lib in Boost?
Fanzhe, I have been working on a sdl wrapper for boost::gil. It lets
you draw on a canvas and react to event such as a timer event. I was
thinking of outsourcing this portion so people can use just that. The
good thing is the sdl is supporting almost the same platforms as boost
does. The bad thing probably is the license sdl is using, LGPL.
If you want I can give you a pointer for the code.
Christian
On 6/6/07, fanzhe cui
there is still no good implementation of timer in Boost lib (correct me if I am wrong). Anybody in this email list had a look at GameDev timer and have considered implementing such a lib in Boost?
Are you referring to the Simple Direct Medialayer?
http://lazyfoo.net/SDL_tutorials/lesson12/index.php
What's wrong with/missing in boost::timer ?
http://boost.org/libs/timer/index.html
-- Tarjei _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Yes, I was referring to that library and more info could be found from the web: http://www.libsdl.org/. The problem with the boost timer that you mentioned is that it provides
time elapsed, but not the interface like provided by SDL lib. Particularly the kind of timer callback function that is available in SDL lib is not available in Boost lit.
Best regards, Fanzhe Cui
++++++++++++++++++++++ Goldiom Systems LLC - Information and Communication Technology Provider Email: fanzhe.cui@goldiom.com Tel: 973-210-4254 www.goldiom.com
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Tarjei Knapstad Sent: Wednesday, June 06, 2007 4:02 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] port of GameDev SDL lib in Boost?
On 6/6/07, fanzhe cui
wrote: I have been using both Boost lib and GameDev SDL lib in same projects. Both of the lib have very good platform independency. But they have some functionalities overlapping each other and I would like to use only one of them. The timer lib in GameDev SDL is very easy to use and I hope such
or functionally similar one exists in Boost lib. I had a look at boost archive on previous discussion on implementing Boost timers and feel
Christian,
I was able to extract out SDL timers from the library and wrapped a callback
timer class that is used with boost library. I am not sure if there are
interests to port that into boost library. Although the SDL timer functions
is under LGPL license but we can put the callback timer class under boost
library.
Best regards,
Fanzhe Cui
+++++++++++++++++++++++++++++++++++++++++++++++
Goldiom Systems LLC
- Information and Communication Technology Provider
Email: fanzhe.cui@goldiom.com
Tel: 973-210-4254
www.goldiom.com
-----Original Message-----
From: fanzhe cui [mailto:fanzhe.cui@goldiom.com]
Sent: Wednesday, June 06, 2007 1:24 PM
To: 'boost-users@lists.boost.org'
Subject: RE: [Boost-users] port of GameDev SDL lib in Boost?
Christian,
Boost is very widely accepted and utilized by game developers, and on the
web GameDev.net there are many many articles about various boost sub lib.
But I haven't seen many discussions about SDL lib on this boost mail list
from boost users/developers. SDL is very convenient cross-platform C++
development platform that can be used not only game developers but also by
other developers. It has easy-to-use classes of multithreads, mutex, event
queues, timer callbacks, semaphores, key board input handling, audio, video,
to name a few. Most of these functionalities are available from Boost lib.
But I haven't seen good timer callback available from Boost lib (anybody can
correct me if I am not so informed of Boost timer).
I tried to extract the timer functions (classes) from the SDL lib into an
individual timer lib, and the work is still in progress. I am not sure other
users in the list are interested in knowing about porting SDL timer to
Boost. So if you can tell me your email of this email list, I can send you
the project file.
What exactly I did was that I included the relevant source files from SDL
package, and compile it with testing program. I was able to get the exe file
but the project also generated a library file in addition to the exe file. I
am confused by the fact that the project generating TimerTest.lib, that I
don't want t. Rather, I wanted to link them with TimerTest not intended to.
I checked the project configuration file, and there is no setting that will
generate a library file. I think it might be set in the program source code,
but I did not find it.
I am interested in your idea of implement SDL wrapper in boost lib. Thank
you!
Best regards,
Fanzhe Cui
+++++++++++++++++++++++++++
Goldiom Systems LLC
- Information and Communication Technology Provider
Email: fanzhe.cui@goldiom.com
Tel: 973-210-4254
www.goldiom.com
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Christian Henning
Sent: Wednesday, June 06, 2007 10:06 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] port of GameDev SDL lib in Boost?
Fanzhe, I have been working on a sdl wrapper for boost::gil. It lets
you draw on a canvas and react to event such as a timer event. I was
thinking of outsourcing this portion so people can use just that. The
good thing is the sdl is supporting almost the same platforms as boost
does. The bad thing probably is the license sdl is using, LGPL.
If you want I can give you a pointer for the code.
Christian
On 6/6/07, fanzhe cui
there is still no good implementation of timer in Boost lib (correct me if I am wrong). Anybody in this email list had a look at GameDev timer and have considered implementing such a lib in Boost?
Are you referring to the Simple Direct Medialayer?
http://lazyfoo.net/SDL_tutorials/lesson12/index.php
What's wrong with/missing in boost::timer ?
http://boost.org/libs/timer/index.html
-- Tarjei _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Christian Henning
-
fanzhe cui