osmium-org / libdogma

An ad hoc fitting engine for the EVE Online multiplayer game.
GNU Affero General Public License v3.0
30 stars 7 forks source link

Load table data at runtime in dogma_init() #2

Open Artefact2 opened 10 years ago

Artefact2 commented 10 years ago

This approach has several advantages, including no longer needing to recompile the library after every major EVE patch.

In the long run, this also allows for easier modifications to the tables (like adding custom ships, effects, etc.).

OTOH, since the table data will be dynamically allocated at runtime, it may be a little slower.