text/html; charset=UTF-8 Last-Modified: Tue, 03 Nov 2026 15:49:45 GMT Expires: Fri, 31 Oct 2036 15:49:45 GMT Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions - minetest.git - modified minetest for gpcfs purposes
aboutsummaryrefslogtreecommitdiff
path: root/client/serverlist
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-05 11:39:05 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-05 11:40:04 +0100
commitaa474e4501f460ba853dc70ff4d97cbd061e6704 (patch)
tree0e643cc958f04f4a8274e2e4ca41ef05a1908f7a /client/serverlist
parent82482ecd9d45036da38335f7dd96232450338a28 (diff)
Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
Diffstat (limited to 'client/serverlist')
0 files changed, 0 insertions, 0 deletions
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. */ #ifndef L_NODETIMER_H_ #define L_NODETIMER_H_ #include "lua_api/l_base.h" #include "irr_v3d.h" class ServerEnvironment; class NodeTimerRef : public ModApiBase { private: v3s16 m_p; ServerEnvironment *m_env; static const char className[]; static const luaL_reg methods[]; static int gc_object(lua_State *L); static NodeTimerRef *checkobject(lua_State *L, int narg); static int l_set(lua_State *L); static int l_start(lua_State *L); static int l_stop(lua_State *L); static int l_is_started(lua_State *L); static int l_get_timeout(lua_State *L); static int l_get_elapsed(lua_State *L); public: NodeTimerRef(v3s16 p, ServerEnvironment *env); ~NodeTimerRef(); // Creates an NodeTimerRef and leaves it on top of stack // Not callable from Lua; all references are created on the C side. static void create(lua_State *L, v3s16 p, ServerEnvironment *env); static void set_null(lua_State *L); static void Register(lua_State *L); }; #endif /* L_NODETIMER_H_ */