Author Topic: Games with older SDL and FSLIB  (Read 95124 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #150 on: January 10, 2026, 03:56:19 am »
So removed the inline statements on the functions that were missing. All errors are gone except,
Code: [Select]
sdl.c: In function 'Pause':
sdl.c:892:9: warning: variable 'Pt' set but not used [-Wunused-but-set-variable]

  892 |   POINT Pt;
         |             ^~

Which causes errors related to Pt.x and Pt.y if commented out.
I did have those other warnings previously even though the build succeeded so I figure good to fix the warnings anyways and removing some inlines shouldn't matter on most all hardware.
Here's the current binary. Martin, if no one comments with a better way fix, should use this binary as it corresponds to the source changes I'll push tomorrow after renewing my password token.
« Last Edit: January 10, 2026, 03:57:54 am by Dave Yeo »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5590
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #151 on: January 10, 2026, 03:27:27 pm »
Good, It is working fine.

I will upload it to hobbes this way.

Thanks.
« Last Edit: January 10, 2026, 05:13:08 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #152 on: January 10, 2026, 04:03:10 pm »
Sure. There's no SDLIMAGE requirement, and perhaps a link to the OS2world repository.
Edit: Pushed my changes
« Last Edit: January 10, 2026, 04:20:29 pm by Dave Yeo »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5590
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #153 on: January 10, 2026, 05:14:15 pm »
Thanks Dave.

This is it (attached).

Can you please now check SDLZombies?
-- https://github.com/OSSGames/GAME-SDL-ACTION-sdlZombies

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #154 on: January 10, 2026, 06:06:44 pm »
SDLroids looks good. I'll look at the sdlZombies later

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #155 on: January 11, 2026, 04:42:49 am »
Looking at sdlZombies, some stuff seems to be missing.
Code: [Select]
configure.in:80: error: required file 'data/sounds/Makefile.in' not found
configure.in:80: error: required file 'data/zombies/Makefile.in' not found
configure.in:80: error: required file 'data/environ/Makefile.in' not found
configure.in:80: error: required file 'data/menu/Makefile.in' not found
configure.in:80: error: required file 'data/menu_opt/Makefile.in' not found
data/Makefile.am:1: error: required directory data/sounds does not exist
data/Makefile.am:1: error: required directory data/zombies does not exist
data/Makefile.am:1: error: required directory data/environ does not exist
data/Makefile.am:1: error: required directory data/menu does not exist
data/Makefile.am:1: error: required directory data/menu_opt does not exist

This seems to be complete, http://hocwp.free.fr/sdlzombies-1.0.0.tar.gz
Now to start over :)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #156 on: January 11, 2026, 05:01:56 am »
Please create a clone of sdlZombies in OS2World so I can push my work as I go

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5590
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #157 on: January 11, 2026, 02:43:22 pm »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #158 on: Today at 03:59:24 am »
Hmm, built easily as it didn't screw around trying to make sure sdlmixer etc works.
I built it with --disable-install and it seems to look for its data in ..\data. Complete data directory uploaded to the repository.
Problem, it crashes if you choose full screen from the menu. ALT-HOME works fine to switch to full screen and back.
Very lightly tested. Might need the sdlzombies.dat file in the same directory as sdlzombies.exe, I haven't tested but will include it in the zip.
Edit: Actually I think the sdlzombies.dat file is generated when sdlzombies.exe is run so unneeded, should test.
Edit2: The F key is supposed to also switch to full screen. Using it, the full screen version is broken and I had to close the program as it stopped taking commands.
« Last Edit: Today at 04:15:29 am by Dave Yeo »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5590
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #159 on: Today at 04:32:37 am »
Hello Dave

I tried it here, with the ./data from the older binaries. But it tells me it can not find it, even if the file is there.
Is is something that is not recognizing between / and \ ?

Regards
« Last Edit: Today at 04:41:52 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5649
  • Karma: +144/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #160 on: Today at 04:55:48 am »
Is all the data there? I had to add a bunch to the git repository.
Here's the full install which seems to work here. Note the bin and data directory.