The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ceeac on May 05, 2020, 12:08:07 PM

Title: Remove unused files from repository
Post by: ceeac on May 05, 2020, 12:08:07 PM
This patch removes display/text_pixel.c and utils/omzet2.c. Both files are old and unused by now so it does not make sense keeping them. I also removed the Makefile rules for building *.c files since there are no more *.c files that might need these rules.
Title: Re: Remove unused files from repository
Post by: prissi on May 05, 2020, 12:28:55 PM
Lots of nostalgia for the hand optimised assembler 15 years ago ... indeed, it can go. I just leave the *.c rule in the makefile, should we come across some third party stuff that will need it sometimes. Or could they do any harm?

On a different note, the allegro backend is also broken for current allegro versions ...
Title: Re: Remove unused files from repository
Post by: ceeac on May 05, 2020, 07:06:31 PM
I just leave the *.c rule in the makefile, should we come across some third party stuff that will need it sometimes. Or could they do any harm?
I think not - but if they are removed now, the commit could always be reverted when the rules are required again.

On a different note, the allegro backend is also broken for current allegro versions
I have no problems compiling with v4.4.3.1 - for v5.x this is of course another matter since the API is different. So adding support for Allegro 5 would require adding yet another simsys_*.cc backend.
Title: Re: Remove unused files from repository
Post by: prissi on May 06, 2020, 03:00:24 PM
Hmm, I failed to compile 4.4.3.1 with MSVC ...