[SDL] David Olofson's smooth scroll example

David Olofson david.olofson at reologica.se
Fri Jul 5 05:52:01 PDT 2002


On Fri, 5/07/2002 16:00:33 , Ney André de Mello Zunino <zunino at unu.edu> wrote:
>Hello.
>
>I took a look at David Olofson's smooth scroll example and was amazed with
>its high quality when using the OpenGL mode. In order to learn more about
>the techniques (in particular, those related to OpenGL based tiling), I
>downloaded the source code and tried to build it with the Borland's Free C++
>command line compiler. I was careful to include the -DWIN32 switch, since my
>target is Windows, but am getting type declaration errors related to the use
>of the '__inline__' macro. There is one error message for each function
>using it. Has anybody (David maybe) got any suggestions on what I should try
>to do or look for?

Well, you can just delete the inline directives.

Or you could try to figure out why SDL doesn't #define __inline__
to something useful... (I normally use "inline", and rely on
autoconf to make it work. This one relies on SDL.h, though.)


//David


.---------------------------------------
| David Olofson
| Programmer
| david.olofson at reologica.se
|---------------------------------------
| Address:
| REOLOGICA Instruments AB
| Scheelevägen 30
| 223 63 LUND
| Sweden
|---------------------------------------
| Phone: 046-12 77 60
| Fax: 046-12 50 57
| Mobil: 
| E-mail: david.olofson at reologica.se
| WWW: http://www.reologica.se
| 
`-----> We Make Rheology Real





More information about the SDL mailing list