From 83a85531ae789e2f30da2379990899f815f53ff1 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 10 Feb 2019 18:16:04 -0500 Subject: Added new element, added server-specific code for networking Added a new element for client gui: iguicombobox Added a part of the engine specifically for the server so server is no longer just a stripped down client --- src/client/lua_api/load_video.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/lua_api/load_video.cpp') diff --git a/src/client/lua_api/load_video.cpp b/src/client/lua_api/load_video.cpp index e0c7557..1266c4d 100644 --- a/src/client/lua_api/load_video.cpp +++ b/src/client/lua_api/load_video.cpp @@ -23,9 +23,9 @@ extern IVideoDriver* driver; //{texture},{x,y},{sourcerect},{color},use_alpha int draw2dimage(lua_State* L){ int nargs = lua_gettop(L); - //printf("Drawing a 2d image\n"); + printf("Drawing a 2d image\n"); if(nargs == 2){ - //printf("2-argument version\n"); + printf("2-argument version\n"); long x,y; popvector2i(L,&x,&y); lua_getfield(L,-1,"texture"); @@ -33,10 +33,10 @@ int draw2dimage(lua_State* L){ lua_pop(L,2); driver->draw2DImage(tex,position2d(x,y)); }else if(nargs == 5){ - //printf("5-argument version\n"); + printf("5-argument version\n"); int usealpha = lua_toboolean(L,-1); lua_pop(L,1); - //printf("Got usealpha: %d\n",usealpha); + printf("Got usealpha: %d\n",usealpha); long r,g,b,a; popvector4i(L,&r,&g,&b,&a); long ssx,ssy,sex,sey; -- cgit v1.2.3-70-g09d2