Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/texture_atlas into lp:widelands

2014-11-29 Thread GunChleoc
I just noticed that the compiler warnings come up on trunk as well, so they're not caused by this particular branch. -- https://code.launchpad.net/~widelands-dev/widelands/texture_atlas/+merge/243119 Your team Widelands Developers is subscribed to branch

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1281823 into lp:widelands

2014-11-29 Thread SirVer
Review: Approve LGTM, a couple of nits. Could you fix them. Also starting_res_amount is a bit cumbersome. What do you guys think of renaming it to initial_resource_amount throughout the codebase (i.e. also in cpp?). Diff comments: === modified file 'src/scripting/lua_map.cc' ---

Re: [Widelands-dev] *** GMX Spamverdacht *** Re: [Merge] lp:~widelands-dev/widelands/texture_atlas into lp:widelands

2014-11-29 Thread SirVer
They do not come up with clang. Could you fix them in trunk? Can this be merged then? I think all comments are sorted out. Am 29.11.2014 um 10:32 schrieb GunChleoc f...@foramnagaidhlig.net: I just noticed that the compiler warnings come up on trunk as well, so they're not caused by this

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/delete_deprecated into lp:widelands

2014-11-29 Thread SirVer
Review: Approve Couple of nits. I suggest to prefer dynamic_cast wherever possible (i.e. when you know the type of the object you have) instead of upcast() which is made for if(upcast()) { situations. dynamic_cast can also cast references which will make for easier to read code. Diff

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/texture_atlas into lp:widelands

2014-11-29 Thread GunChleoc
I haven't had time to look over all of the code yet, but I've tested it and it seems to work fine. If you think that's sufficient, go ahead and merge. Otherwise, I'll try to have a look tomorrow. Brain's not working today. --

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1281823 into lp:widelands

2014-11-29 Thread GunChleoc
+1 to renaming. Do we want to do that here or in a separate bug? I think doing it here might be a good idea, so we will have it in before we expose it to the Lua interface. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1281823/+merge/242837 Your team Widelands Developers is

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1281823 into lp:widelands

2014-11-29 Thread TiborB
no problem for me to rename @SirVer - see answer to one of your comments below in diff. Diff comments: === modified file 'src/scripting/lua_map.cc' --- src/scripting/lua_map.cc 2014-10-27 10:14:10 + +++ src/scripting/lua_map.cc 2014-11-26 20:51:03 + @@ -3501,6 +3501,7 @@