News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

display setting dialog issues

Started by Ranran(retired), September 16, 2020, 09:37:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

Thank you for your daily maintenance.
Report multiple small bugs. (´・ω・`)

(1) hide building setting combobox does not respond to shortcut key changes
For example, hide tree checkbox is sane, but it's not.



(2) The "show nothing" display is incorrect (a colored background is displayed), but as far as I can see in the code, the behavior seems unintended.

case 2:
display_outline_proportional_rgb( p.x + LINESPACE + D_H_SPACE, p.y, color_idx_to_rgb(COL_YELLOW), color_idx_to_rgb(COL_BLACK), text, 1 );
display_ddd_box_clip_rgb(         p.x,                     p.y,   LINESPACE,   LINESPACE,   pc-2, pc+2 );
display_fillbox_wh_clip_rgb(      p.x+1,                   p.y+1, LINESPACE-2, LINESPACE-2, pc,   true);
break;
case 3: // show nothing
break;




Also, I think the yellow text color looks better if the vertical alignment is middle.


(3)
display_settings.cc line 104,
// add controls to info container
add_table(2,3);

add_table(2,4) is correct. (Although it has no effect in standard, a layout error occurred when adding a table below it in extended.)
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

prissi


Ranran(retired)

Quote from: jamespetts on October 31, 2020, 03:54:05 PM* In the display settings dialogue, there appears to be an errant number next to the "show station names" setting (or is this intended? If so, this should be explained in the tooltip)
This was pointed out by James in the incorporating from standard thread.
I was also curious about this display. This looks like a kind of debug display, but it's always visible. Is this intended?
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

prissi

Should be fixed in r9352. Indeed, leftover debug code.