aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/dlg_config_world.lua
diff options
context:
space:
mode:
authorROllerozxa <temporaryemail4meh+github@gmail.com>2022-02-12 20:24:20 +0100
committerGitHub <noreply@github.com>2022-02-12 20:24:20 +0100
commit258ae994915e1b9fc5b3a72627886f2ce4334902 (patch)
tree13a8bfe00adf2247fd5e2801dd763c02e17593c2 /builtin/mainmenu/dlg_config_world.lua
parent10cf2f3eddb9106a87721e36f0dd284ec041c4d8 (diff)
downloadminetest-258ae994915e1b9fc5b3a72627886f2ce4334902.tar.gz
minetest-258ae994915e1b9fc5b3a72627886f2ce4334902.tar.bz2
minetest-258ae994915e1b9fc5b3a72627886f2ce4334902.zip
Apply texture pack main menu textures immediately (#12018)
Diffstat (limited to 'builtin/mainmenu/dlg_config_world.lua')
0 files changed, 0 insertions, 0 deletions
d='n127' href='#n127'>127 128 129 130 131 132 133 134 135 136 137 138 139 140
/*
Minetest
Copyright (C) 2013-2020 Minetest core developers team

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "metricsbackend.h"
#if USE_PROMETHEUS
#include <prometheus/exposer.h>
#include <prometheus/registry.h>
#include <prometheus/counter.h>
#include <prometheus/gauge.h>
#include "log.h"
#include "settings.h"
#endif

MetricCounterPtr MetricsBackend::addCounter(
		const std::string &name, const std::string &help_str)
{
	return std::make_shared<SimpleMetricCounter>(name, help_str);
}

MetricGaugePtr MetricsBackend::addGauge(