SDL

SDL2 and Amiga Events

Hello,
I was wondering if there are any simple examples of registering a custom event in SDL2 for AmigaEvents?

Ideally, what I am wanting to do is add an event to the event polling that triggers if an arexx signal/message is received.
Currently I am just using WaitEventTimeout but would like to just use WaitEvent and save on the main loop iterations.

Thanks
Dave

Forums: 

Porting an SDL based app, but everything is blue

Hello all,
I am experimenting the last couple of days on porting an application to AmigaOS 4. It is written in C and Lua, and uses SDL 2 for the window and drawing. This is the first port I am doing and especially something that uses SDL.

I managed to make it compile and run, but it is still very premature.
When I run it all the colours are off, and you can see that in the image below. That should be dark grey but it is blue :D

Forums: 

Are there third libs needed?

Are there third party libraries mostly needed for SDL and SDL2 development that in most situations are needed and these are not included in SDKs?

As I am creating cross development environments based on docker, that will work out of the box, I wonder if there is a need to include more libs in the installed SDKs.

You can see the one that I build and uses GCC 8.4.0 at https://github.com/walkero-gr/odysseyOnDocker
Using thhis is possible to build odyssey, as well as other projects.

Forums: 

Looking for a simple example

I am trying to use a simple SDL2 example code that compiles for AmigaOS 4 based on latest 2.0.12 SDK, on a cross compiler.

I need that to test my cross compiler installation is fine, so to be sure that the setup is useful for everyone to use. This should be able to be compiled with gcc, v8.0.4 in my situation.

I have the following code:

Forums: 

Codebench and SDL

Hi guys, hopefully someone can help me. I have recently installed codebench and want to set up SDL so I can have a go at some SDL tutorials and then maybe come up with a new SDL based creation. I have installed the official hyperion SDK and also installed the latest SDL "SDL-1.2.13-SVNr37-sdk.lha" from google code page.

Forums: 

SDL1.3

Are there any work going on in porting SDL 1.3 to AmigaOS4, Aros and MorphOS?
Would be neat to port games to more platforms more easily.

Forums: 

Subscribe to RSS - SDL