The International Simutrans Forum

 

Author Topic: Remove unused files from repository  (Read 636 times)

0 Members and 1 Guest are viewing this topic.

Offline ceeac

  • Devotee
  • *
  • Posts: 259
Remove unused files from repository
« 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10675
  • Languages: De,EN,JP
Re: Remove unused files from repository
« Reply #1 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 ...

Offline ceeac

  • Devotee
  • *
  • Posts: 259
Re: Remove unused files from repository
« Reply #2 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10675
  • Languages: De,EN,JP
Re: Remove unused files from repository
« Reply #3 on: May 06, 2020, 03:00:24 PM »
Hmm, I failed to compile 4.4.3.1 with MSVC ...