[SDL] Filename Checker / Changer searched for Porting Windows Game to SDL
R Manard
dranikist at gmail.com
Sun Feb 26 22:20:44 PST 2012
I don't get how file names are a big deal. A port takes a replacement of
the basis of how all graphics, sound, and input get asked for and output.
The other stuff is all golden right? So like If I wanted a bmp of a smiley
face to be on the screen I would get it with an sdl function, store it in
an sdl, container, and use sdl to blit that image to the screen. The
filename that would change would be that I add the sdl include stuff and
remove all non cross platform stuff right?
On Tue, Feb 14, 2012 at 2:27 PM, LM <lmemsm at gmail.com> wrote:
> *Torsten Giebl* wrote:
> >I am working on porting a game from Windows to SDL and
> >going crazy about LOTS of wrong filenames in the source.
> ...
> >As there are some big porters here, is there any ready
> >to use shell script to do this work, searching a list of filenames
> >in a number of *.c/*.cpp/*.h and chaning them to the correct one ?
>
> I usually have more problems with the slashes and backslashes than the
> case sensitivity in filenames when porting. If I need to check for
> filenames, I'll just use grep and do a few regular expression searches for
> slashes, backslashes, etc. usually within quotes or single quotes. You
> could automate replacing using sed, perl or gsar. I usually want to look
> at the code and replace it by hand to make sure it's doing what I want it
> to do. If you like a GUI for search, you could check out Searchmonkey.
>
> Sincerely,
> Laura
> http://www.distasis.com/cpp/patches.htm
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120227/50b1d238/attachment.htm>
More information about the SDL
mailing list