Author Topic: Ship Table Limitations  (Read 1068 times)

0 Members and 1 Guest are viewing this topic.

Ship Table Limitations
This isn't a problem, but I am just curious why the ship class limitation on the tables is at 250.

  

Offline niffiwan

  • 211
  • Eluder Class
Re: Ship Table Limitations
The data structure that holds all the ship info is a C-style array so it has to have a defined size. 250 was picked at some point and there's not been much reason to increase it. Making the limit dynamic would require changing the structure to a C++ vector which would require a fair number of changes in the code. To date it's not been considered worth it to make that change.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...