Headlines |
-
gl4es_sdk.lha - development/library/graphics
Apr 19, 2021
-
worlds.lha - game/action
Apr 19, 2021
-
supertuxkart.lha - game/driving
Apr 19, 2021
-
night_of_the_zombies.lha - game/fps
Apr 19, 2021
-
eldritch.lha - game/roleplaying
Apr 19, 2021
-
gorynlich.lha - game/roleplaying
Apr 19, 2021
-
frikingshark.lha - game/shmup
Apr 19, 2021
-
pintorweb.lha - graphics/misc
Apr 19, 2021
-
videntiumpicta.lha - graphics/viewer
Apr 19, 2021
-
deark.lha - utility/archive
Apr 19, 2021
|
|
|
Re: Porting to AmigaOS4 thread | Subject: Re: Porting to AmigaOS4 thread by kas1e on 2019/2/15 12:31:05
@Thematic Alternatively, if you do not want to touch system headers as Hans show, you can do some workaround like we do in Barony:
#ifdef __amigaos4__
char buff[50] = {0};
sprintf(buff, "savegames/savegame%d", saveIndex);
std::string filename = buff;
#else
std::string filename = "savegames/savegame" + std::to_string(saveIndex);
#endif
|
|