27786d709d911572b2439769bab50df3d2517648
Add a rehash() method to EmbeddedResourceManager::Impl to update 'poolSearchList'. Introduce a 'dirty' flag so that EmbeddedResourceManager::Impl::rehash() is automatically called whenever needed. It is not necessary anymore to call EmbeddedResourceManager::selectLocale() after adding resources: changing the EmbeddedResourceManager's locale or adding resources are both operations that set the dirty flag. Whenever someone tries to fetch a resource for the selected locale and the dirty flag is set, a rehash is triggered before the actual fetching so as to ensure it is correct.
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.
Description
Languages
C++
85.5%
C
13.1%
CMake
1.4%