Remove spritegroup array from GRFFilePropsBase
commit595bf5f4af5e847b4a8cd03e9ae2442a442d277d
authorcirdan <cirdansw@gmail.com>
Thu, 7 Dec 2017 20:08:45 +0000 (7 21:08 +0100)
committercirdan <cirdansw@gmail.com>
Thu, 7 Dec 2017 20:08:45 +0000 (7 21:08 +0100)
treefe87592b65c5717dcab415012d7525192faa09cd
parent01b2c9d6632a1aceb3e2a32a79b4a5122633b61e
Remove spritegroup array from GRFFilePropsBase

Remove the spritegroup array from struct GRFFilePropsBase and add it
to its users instead. This allows to make struct GRFFilePropsBase a
normal (non-template) struct and mark its constructor as constexpr.
src/engine.cpp
src/engine_base.h
src/newgrf.cpp
src/newgrf_commons.h
src/newgrf_engine.cpp
src/newgrf_object.cpp
src/newgrf_object.h
src/newgrf_station.cpp
src/newgrf_station.h
src/table/object_land.h