Re: [Widelands-dev] Fonts in Widelands

2012-12-17 Thread Holger Rapp
Aaah, I was expecting this discussion to come up :). So here is my line of reasoning for DejaVu: FreeSerif and FreeSans (the new versions) looked strange when used with ptsize 14. The characters were jumping up and down in a single line. Granted, I did not invest much time to bug fix this

Re: [Widelands-dev] Fonts in Widelands

2012-12-20 Thread Holger Rapp
Hi, I general agree with you, Holger, and I never wanted to put you under pressure to fix the FreeFont problems. For me it's okay, if we take the way you suggested. I realized meanwhile that the new font is quite wide and needs a lot more real estate than the old one. That makes a lot of

Re: [Widelands-dev] Changing buildcaps to prevent blockage

2013-02-09 Thread Holger Rapp
+1 for breaking now and fixing this sucka. On 09.02.2013, at 22:13, Nicolai Hähnle wrote: Hi everyone, as you know, there are a number of really old bugs in our tracker about how certain things can cause total blockage, especially building big buildings. Think

Re: [Widelands-dev] Build 18

2013-07-13 Thread Holger Rapp
Discussion continues on widelands-public :). Am 13.07.2013 um 11:50 schrieb Peter Schwanemann seattle-waldsch...@gmx.de: Hi everyone, Build 17 was released 1 1/4 year ago. It's getting time to get Build18 out of the door. I already had a chat with Holger whether we name it Build18 or

Re: [Widelands-dev] Construction sites

2013-07-16 Thread Holger Rapp
On 16.07.2013, at 08:03, Teppo Maenpaa teppo.maen...@cern.ch wrote: On Mon, Jul 15, 2013 at 08:34:35PM +0200, Holger Rapp wrote: I like the suggestion - however I am a bit concerned how this can be explained to the user. So if you implement this, you will also need to implement a mouse

Re: [Widelands-dev] Construction sites

2013-07-16 Thread Holger Rapp
On 17.07.2013, at 04:50, Teppo Maenpaa teppo.maen...@cern.ch wrote: On Tue, Jul 16, 2013 at 10:15:30PM +0200, Holger Rapp wrote: What you are proposing uses color as the only way to convey information. This is bad for a number of reasons, the first that it is abstract (in the sense

Re: [Widelands-dev] Construction sites

2013-07-18 Thread Holger Rapp
On 18.07.2013, at 15:31, Teppo Maenpaa teppo.maen...@cern.ch wrote: On Wed, Jul 17, 2013 at 07:44:40AM +0200, Holger Rapp wrote: No, I do not think you are correct here. There is so much difference in the way people can or cannot perceive color. Brightness doesn't seem to be easily order

Re: [Widelands-dev] [Build #4807773] amd64 build of widelands 1:17-ppa0-bzr6637+trunk+~precise1 in ubuntu precise RELEASE (widelands-dev-widelands-daily PPA)

2013-07-19 Thread Holger Rapp
On 19.07.2013, at 18:29, Charles Ghislain charlyghisl...@gmail.com wrote: Looks like the libboost-random1.46-dev package is not installed. Only appears in the recommendations. I have no idea how to configure these builds. Who did set them up? On Friday 19 July 2013 16:20:24 Launchpad

[Widelands-dev] Build 18 first snow feature freeze

2013-09-15 Thread Holger Rapp
Hello, I just wrote the news post for first snow feature freeze of build18. https://wl.widelands.org/news/2013/09/15/build-18-first-snow-feature-freeze-now-place/ There is one more outstanding bug - as soon as this is fixed we can fix a date for the real feature freeze. We also have a

Re: [Widelands-dev] clang compilation trouble

2014-06-16 Thread Holger Rapp
src/logic/widelands.h:68:19: error: constexpr variable 'INVALID_INDEX' must be initialized by a constant expression constexpr uint8_t INVALID_INDEX = std::numeric_limitsuint8_t::max(); seems like you are not using the http://libcxx.llvm.org/ which you should always use with clang.

Re: [Widelands-dev] AI

2014-06-30 Thread Holger Rapp
Regards Tibor 2014-06-30 7:11 GMT+02:00 Holger Rapp sir...@gmx.de: (should I send the replay to mailing list?) yes :). Contacting one dev individually is nearly always the wrong decision. Also, you should make a merge request if you want to have your branch reviewed. And it should

Re: [Widelands-dev] AI

2014-07-01 Thread Holger Rapp
object pointer, now I am testing it… Cool. Consider writing some tests! Tibor 2014-07-01 6:23 GMT+02:00 Holger Rapp sir...@gmx.de: Hi, On 30.06.2014, at 10:00, Tibor Bamhor tibor...@gmail.com wrote: Well, AI never ever before checked if a bulding listed in productionsites

Re: [Widelands-dev] multithreading thoughts

2014-07-01 Thread Holger Rapp
Hi, As you mentioned multithreading today and as the performance is indeed a problem I have this very simple idea on multithreading: First some background: The widelands 'core' does own stuff and inbetween calls DefaultAI::think() for all players one after one. I believe these

Re: [Widelands-dev] AI

2014-07-01 Thread Holger Rapp
is actually useful. Tibor 2014-07-01 20:08 GMT+02:00 Holger Rapp sir...@gmx.de: On 01.07.2014, at 12:46, Tibor Bamhor tibor...@gmail.com wrote: the OPtr code is already implemented and it is very simple to use - well I am not sure about this. Your use of OPtr in AI is broken. Fix it and I

Re: [Widelands-dev] lua scripting: 'use' no longer exists?

2014-07-07 Thread Holger Rapp
On 07.07.2014, at 09:37, Tibor Bamhor tibor...@gmail.com wrote: Hi It seem that syntax use(aux,script) is no longer working, with error: [/var/widelands/tibor-ai3/src/scripting/lua_errors.h:29] [string use(aux,caller_t)]:1: attempt to call global 'use' (a nil value) What should I use

Re: [Widelands-dev] lua / use error

2014-07-15 Thread Holger Rapp
Probably your --datadir searches for widelands data in the wrong place. Do you have a installed version of widelands somewhere? Am 15.07.2014 um 12:33 schrieb Fòram na Gàidhlig f...@foramnagaidhlig.net: Try the following instead of the use: include scripting/infrastructure.lua

Re: [Widelands-dev] lua / use error

2014-07-15 Thread Holger Rapp
are compiled. I have it this way for long time and tibor-ai3 (compiled today) works fine, only fresh branch from the trunk complains. 2014-07-15 14:36 GMT+02:00 Holger Rapp sir...@gmx.de: Probably your --datadir searches for widelands data in the wrong place. Do you have a installed version

Re: [Widelands-dev] growth of trees

2014-07-17 Thread Holger Rapp
On 17.07.2014, at 12:59, Tibor Bamhor tibor...@gmail.com wrote: Hi, I have a feeling (can not provide numbers) that grow of trees on some maps or terrains is extremely slow, even if there are couple of rangers in a bunch and all of them shows 100%. Expansion of AI is then badly affected.

Re: [Widelands-dev] growth of trees

2014-07-17 Thread Holger Rapp
and the tree immovables. 2014-07-17 13:57 GMT+02:00 Holger Rapp holgerr...@gmx.net: On 17.07.2014, at 12:59, Tibor Bamhor tibor...@gmail.com wrote: Hi, I have a feeling (can not provide numbers) that grow of trees on some maps or terrains is extremely slow, even

Re: [Widelands-dev] strcmp

2014-07-18 Thread Holger Rapp
Not sure what the problem is - without full compiler output. But you should not use strcmp() anyways. Nor should you use const char*. Instead use std::string and operator==() to compare them. Am 18.07.2014 um 11:16 schrieb Tibor Bamhor tibor...@gmail.com: I think the problem is with

Re: [Widelands-dev] get a flag belonging to headquarters

2014-07-20 Thread Holger Rapp
(). The way to get the information is through Player::get_building_statistics. 2014-07-20 19:24 GMT+02:00 Holger Rapp holgerr...@gmx.net: On 18.07.2014, at 13:14, Tibor Bamhor tibor...@gmail.com wrote: Hi, I need to get a flag (or its coordinates) belonging to a headquarters

Re: [Widelands-dev] Fwd: can find any more resources

2014-07-25 Thread Holger Rapp
On 25.07.2014, at 00:04, Tibor Bamhor tibor...@gmail.com wrote: well, after some investigation in code it seems that mine is able to mine some % of resources within some radius. Obviously it does not mine resources evenly across fields, so to check one (even central) field is not enough.

Re: [Widelands-dev] Fwd: can find any more resources

2014-07-25 Thread Holger Rapp
Hooray \o/ !!! On 25.07.2014, at 22:23, Tibor Bamhor tibor...@gmail.com wrote: I will look at it...and do what I can.. 2014-07-25 22:08 GMT+02:00 Holger Rapp holgerr...@gmx.net: Which just strengthens my argument, right? The code there is already copy and pasted and if anything changes

Re: [Widelands-dev] *** GMX Spamverdacht *** Re: Fwd: can find any more resources

2014-07-29 Thread Holger Rapp
. :( 2014-07-25 22:58 GMT+02:00 Holger Rapp holgerr...@gmx.net mailto:holgerr...@gmx.net mailto:holgerr...@gmx.net mailto:holgerr...@gmx.net: Hooray \o/ !!! On 25.07.2014, at 22:23, Tibor Bamhor tibor...@gmail.com

Re: [Widelands-dev] Regression tests

2014-07-30 Thread Holger Rapp
On 30.07.2014, at 11:46, Fòram na Gàidhlig f...@foramnagaidhlig.net wrote: Since we have 1 central file now - maybe just mention that one on an appropriate Wiki page, so people will know it's there? In my experience nobody reads the Wiki :). I think it is better to point it out in code

Re: [Widelands-dev] *** GMX Spamverdacht *** Re: Regression tests

2014-07-30 Thread Holger Rapp
On 30.07.2014, at 21:06, Fòram na Gàidhlig f...@foramnagaidhlig.net wrote: 30/07/2014 18:31, sgrìobh Holger Rapp: On 30.07.2014, at 11:46, Fòram na Gàidhlig f...@foramnagaidhlig.net mailto:f...@foramnagaidhlig.net wrote: Since we have 1 central file now - maybe just mention that one

Re: [Widelands-dev] *** GMX Spamverdacht *** thoughts on seafaring in AI

2014-08-02 Thread Holger Rapp
On 31.07.2014, at 13:00, Tibor Bamhor tibor...@gmail.com wrote: Hi, I was thinking about seafaring under AI, but on the begining some technical details should be made clear. For barbarians two buildings are relevant in this regard: shipyard - from standpoint of AI it is

Re: [Widelands-dev] Fwd: performance question

2014-09-11 Thread Holger Rapp
] -- Forwarded message -- From: Tibor Bamhor tibor...@gmail.com Date: 2014-09-10 15:45 GMT+02:00 Subject: Re: [Widelands-dev] performance question To: Holger Rapp holgerr...@gmx.net Cc: widelands-dev@lists.launchpad.net any volunteer? :) It would be ideal

Re: [Widelands-dev] performance question

2014-09-13 Thread Holger Rapp
\ -DCMAKE_INSTALL_PREFIX=$INSDIR \ -DWL_INSTALL_PREFIX=$INSDIR \ -DWL_INSTALL_DATADIR=share/widelands \ -DWL_INSTALL_BINDIR=bin' -DCMAKE_C_FLAGS=-pg -DCMAKE_CXX_FLAGS=-pg What should I change here for more accurate profiling? 2014-09-11 15:26 GMT+02:00 Holger Rapp holgerr...@gmx.net: you

Re: [Widelands-dev] unique_ptr question

2014-10-06 Thread Holger Rapp
to the scope in which the pointer was created. It implies that no delete of anything is needed, but I was not sure. 2014-10-06 9:13 GMT+02:00 Holger Rapp holgerr...@gmx.net: rtfm: http://en.cppreference.com/w/cpp/memory/unique_ptr On 06.10.2014, at 09:08, Tibor Bamhor tibor...@gmail.com

Re: [Widelands-dev] Text formatting questions

2014-10-09 Thread Holger Rapp
Heyho, when working on the campaigns, I noticed that the texts are formatted differently than those in the tutorial. I’d like to know whether there is an interest in having the style unified and which way is preferred. 1) “text” vs. [[text]]. The first one is mainly used for short texts

Re: [Widelands-dev] ExpeditionBootstrap - segmentation fault

2014-11-02 Thread Holger Rapp
I think this should be in a bug report. It seems like a warehouse is claiming to be a port, but does not have a portdock. On 30.10.2014, at 00:34, Tibor Bamhor tibor...@gmail.com wrote: Hi, I run into this problem couple of times today, my AI I am working on crashes with this: Program

Re: [Widelands-dev] *** GMX Spamverdacht *** Re: Editor - Resources - 'Set Value' unused?

2014-11-22 Thread Holger Rapp
the problem is that we load the editor to fast these days 8). We used to have ‘hints’ there, but they can hardly be read anymore. We could something like “tipps of the week” when opening the editor, but they usually are obnoxious. Best we finally get the help system underway. On 21.11.2014,

Re: [Widelands-dev] *** GMX Spamverdacht *** F6 console + shortcuts being invoked

2014-11-23 Thread Holger Rapp
Merge trunk. I fixed this bug two days ago. On 24.11.2014, at 08:49, Tibor Bamhor tibor...@gmail.com wrote: Hi, I am trying to use F6 console, but a lot of things are taking place when typing the commands - game is switching to and form fullscreen, various windows are being opened - it

Re: [Widelands-dev] *** GMX Spamverdacht *** F6 console + shortcuts being invoked

2014-11-24 Thread Holger Rapp
was made from trunk in Friday, must be a day before you fixed it. 2014-11-24 8:51 GMT+01:00 Holger Rapp holgerr...@gmx.net: Merge trunk. I fixed this bug two days ago. On 24.11.2014, at 08:49, Tibor Bamhor tibor...@gmail.com wrote: Hi, I am trying to use F6 console, but a lot

Re: [Widelands-dev] Fwd: compilation problem

2014-12-16 Thread Holger Rapp
I think there is a real bug lurking here. Apparently zlib renamed some stuff and now our image_io is broken with this change. We need to figure out which version broke and what the change zlib did is. Could you open a bug? On 16.12.2014, at 12:11, Tibor Bamhor tibor...@gmail.com wrote:

Re: [Widelands-dev] graphics problem

2014-12-16 Thread Holger Rapp
There is so assert in graphics.cc at this line in trunk. In line 141 though, there is this assert: assert(SDL_BYTESPERPIXEL(disp_mode.format) == 4); which checks that you got 32bit graphics depth. If you did not get that, Widelands will not work (we assume 32bit depth in many

Re: [Widelands-dev] graphics problem

2014-12-16 Thread Holger Rapp
On 16.12.2014, at 21:53, Tibor Bamhor tibor...@gmail.com wrote: I will check... but what about this line: size 960 -1080474760 nonsensical, isn't it? Yup, seems like the display height did not get set properly. Maybe try nuking ~/.widelands/config. 2014-12-16 21:51 GMT+01:00 Holger

Re: [Widelands-dev] spider lake v.3

2014-12-20 Thread Holger Rapp
On 12.12.2014, at 21:47, Tibor Bamhor tibor...@gmail.com wrote: Please, delete this map from maps download section on the website done. Thanks! ___ Mailing list: https://launchpad.net/~widelands-dev Post to :

[Widelands-dev] Move away from Launchpad

2015-02-16 Thread Holger Rapp
Hey, after we moved the translations away from Launchpad and the dead of bzr seems imminent, the thought of moving away from Launchpad became more obvious. I think it is mostly a good idea, but I’d like to have a proper plan and have considered the alternatives. Therefore I started a design

[Widelands-dev] Widelands starter / outstanding projects

2015-02-01 Thread Holger Rapp
Heyho, triggered by https://code.launchpad.net/~s-eilting/widelands/bug-1203436/+merge/247972 https://code.launchpad.net/~s-eilting/widelands/bug-1203436/+merge/247972 I started a document to collect projects in Widelands for potential new contributors to choose from as well as flesh out some

Re: [Widelands-dev] offer to contribute

2015-02-23 Thread Holger Rapp
Sorry, this message got stopped by Launchpads stupid email list policy… I think the bug is great starting point. Discussion should indeed take place there. Cheers, Holger On 23.02.2015, at 22:13, daAlx1 am...@web.de wrote: Dear Widelands-team, I have found widelands a couple of days

Re: [Widelands-dev] Move away from Launchpad

2015-02-26 Thread Holger Rapp
over the doc and contribute information and comments as you can? It is here: http://tinyurl.com/WlMoveToGithub Thanks, Holger On 16.02.2015, at 20:55, Holger Rapp holgerr...@gmx.net wrote: Hey, after we moved the translations away from Launchpad and the dead of bzr seems imminent

Re: [Widelands-dev] regresion tests - loading a game

2015-04-21 Thread Holger Rapp
Sorry for being late to the party.. The magic sauce to saving is here: http://bazaar.launchpad.net/~widelands-dev/widelands/trunk/view/7445/src/scripting/lua_root.cc#L225 http://bazaar.launchpad.net/~widelands-dev/widelands/trunk/view/7445/src/scripting/lua_root.cc#L225 essentially, the

Re: [Widelands-dev] ship behaviour and regression tests

2015-08-03 Thread Holger Rapp
On 30.07.2015, at 12:26, Tibor Bamhor tibor...@gmail.com wrote: When reworking a ship behaviour a bit I found small problem when testing test_cancel_started_expedition_underway_two_ships.lua. Two ships and a port requesting a ship. The old implementation sends to the port only first

Re: [Widelands-dev] Architecture question concerning ui_basic/ui_fsmenu

2015-08-05 Thread Holger Rapp
On 05.08.2015, at 17:12, Fòram na Gàidhlig f...@foramnagaidhlig.net wrote: I am working on a new branch to handle keypresses. This let me to do some refactoring on the return codes, to give them all names rather than using plain numbers. At the moment, I have 2 different types of named

Re: [Widelands-dev] bunnybot

2016-01-01 Thread Holger Rapp
Hi, > > somebody should explain this a bit. yes, sorry. I should have sent an Email. I want bunnybot for the following reasons: 1) Make pushing to trunk impossible to mess up and possible also for non widelands-dev members. 2) Have tests and compilation running on all supported compilers

Re: [Widelands-dev] Bunnybot commit messages

2016-01-05 Thread Holger Rapp
Bunnybot uses the launchpad commit message for the merge request. I added this feature yesterday. > Am 05.01.2016 um 15:33 schrieb Fòram na Gàidhlig : > > There is 1 thing that bothers me about bunnybot: the commit messages > just say "merged ", so it's hard to see

Re: [Widelands-dev] [patch] CMakeLists.txt

2016-06-26 Thread Holger Rapp
Thanks David, I applied the patch in r8024. > On 26.06.2016, at 00:10, David CARLIER wrote: > > # Bazaar merge directive format 2 (Bazaar 0.90) > # revision_id: devne...@gmail.com-20160625214050-1lo7e5q49b7iq9jw > # target_branch:

[Widelands-dev] Bunnybot mailbomb

2016-08-14 Thread Holger Rapp
Sorry for the mailbomb from bunnybot right now - it seems travis has changed something and quite often does not return branch status information (instead returns empty replies). That confuses bunnybot which results in many mails. Fix is in the making.

Re: [Widelands-dev] Feature Freeze?

2016-06-29 Thread Holger Rapp
I am all for it. This would be first snow feature freeze. https://wl.widelands.org/wiki/ReleasingWidelands/ There are also still a few open bugs, but they can be fixed after feature freeze, but must be fixed before the release candidate.

Re: [Widelands-dev] Feature Freeze?

2016-07-02 Thread Holger Rapp
scheduled or fixed. > > 2016-06-29 8:23 GMT+02:00 Holger Rapp <holgerr...@gmx.net > <mailto:holgerr...@gmx.net>>: > I am all for it. This would be first snow feature freeze. > > https://wl.widelands.org/wiki/ReleasingWidelands/ > <https://wl.widelands.org/wiki/Rel

Re: [Widelands-dev] Feature Freeze?

2016-07-04 Thread Holger Rapp
d the rescheduled bugs again. > > But i don't know how to create a milestone :-) > > Am Samstag, 2. Juli 2016, 12:52:02 CEST schrieb Holger Rapp: >>> On 29.06.2016, at 21:24, Tibor Bamhor <tibor...@gmail.com> wrote: >>> >>> Can you be more specific abo

Re: [Widelands-dev] Date for Winter-time freeze

2016-10-04 Thread Holger Rapp
+ widelands-public There were more bug fixes now, so maybe 15th of October? > On 02.10.2016, at 17:11, Fòram na Gàidhlig wrote: > > Hi all, > > Our last bug was fixed on 2016-09-28, so unless new bugs come up I am in > favour of announcing the Winter-Time freeze on

[Widelands-dev] We are using widelands-public@ again going forward!

2016-10-15 Thread Holger Rapp
Hey Folks, just a quick reminder that the official widelands discussion mailinglist is widelands-public. Please subscribe if you are not yet: https://lists.sourceforge.net/lists/listinfo/widelands-public Rational: A project needs

Re: [Widelands-dev] Deleted branches on merge requests will knock out bunnybot

2018-09-09 Thread Holger Rapp
Took me a while to figure out what got bunnybot confused, but it should be running fine now again. Sorry that it is so fragile… but it depends on really outdated abandonware, like bzr itself and bzr-to-git converters. They have bugs, but they will never get fixed. And bunnybot of course has