diff options
| author | Alexander <alex@cogarr.net> | 2019-04-24 21:16:08 -0400 |
|---|---|---|
| committer | Alexander <alex@cogarr.net> | 2019-04-24 21:16:08 -0400 |
| commit | 3d60e1432ec43ade4aa61b5a70dd6b8975417e9f (patch) | |
| tree | 954719a0f4a27fe42f9d8113844a21b79ae70f5d /src/client/lua_api/load_video.cpp | |
| parent | 42bedce123739287339a95626675ffda3a1ce8e7 (diff) | |
| download | brokengine-3d60e1432ec43ade4aa61b5a70dd6b8975417e9f.tar.gz brokengine-3d60e1432ec43ade4aa61b5a70dd6b8975417e9f.tar.bz2 brokengine-3d60e1432ec43ade4aa61b5a70dd6b8975417e9f.zip | |
updates
Diffstat (limited to 'src/client/lua_api/load_video.cpp')
| -rw-r--r-- | src/client/lua_api/load_video.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/lua_api/load_video.cpp b/src/client/lua_api/load_video.cpp index 1266c4d..e0c7557 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<s32>(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; |
