Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Arminius

Pages: [1]
1
DF Suggestions / Clean up building menu
« on: April 04, 2010, 06:34:53 pm »
Seriously, why has noone else apparently suggested this before?
Even if you take input inconsistencies (Arrow keys vs. +-/* vs. umkh) aside, the current interface for creating buildings is simply an unorganized mess of uncountable menu options. I pity the fool who chooses to build something in DF and finds himself within the horrible maze that is DF's building menu.

With the release of 0.31.01, Toady's gone the right direction regarding the interface for dwarves' labor options.
But I say: This is not enough. The building-interface needs to undergo the same changes to make it less cluttered-up. The building-interface needs MOAR CATEGORIES.

I've put some more thought into this issue and assembled a more or less reasonable proposal for a new structure of the building menu. Along with this proposal come a few name-changes for the menu items so the categories make some more sense.
I left some items uncategorized, though, because I coudn't think of any categorization that would make any sense.

To explain the format: Categories are prefixed with a '+', items have no prefix. Both sub-categories and single menu items are indented accordingly to outline the structure. Comments in parantheses. It should be pretty intuitive though, I think.

Finally, here's my proposal for a new building menu, nicely spoilered for those who apparently don't care:
Spoiler (click to show/hide)

Hopefully I didn't forget any items.

Furthermore, I propose that all menus list categories first and single items last. Even better, make categories visually distinct from simple items other than using plural nouns.

2
DF General Discussion / Re: FotF: Dwarf Fortress 40d17
« on: February 06, 2010, 05:22:11 pm »
Over here, df doesn't segfault any more thanks to Nemoder's fix.

However, the keybindings are now completely messed up. For example, designations are now invoked by "m", even though the settings say that they should be invoked by "d". Worse, some keys are bound to two functions, leaving me with no access to some functions (I can't access the status screen any more, for instance, because both status and the unit list are bound to "d" and "d" gets me to the unit list).
This problem seems to appear only with Nemoder's libraries.

3
DF General Discussion / Re: FotF: Dwarf Fortress 40d17
« on: February 06, 2010, 03:12:00 pm »
I just recently realized that 40d17 is out and downloaded it.

I'm on Gentoo Linux, and replacing the original libboost_regex.so.35.0 with my system's boost version works for me. I haven't yet tested the game's speed though.

I also tested the current 40d17-head, but that just breaks everything completely. First of all, you've replaced libboost_regex.so.35.0 with a symbolic link to some weird location that doesn't even exist on my system and very likely won't be found on anyone else's system either (namely, /opt/arch32/usr/lib/libboost_regex.so).
Secondly, libgraphics.so now links against libboost_regex.so.41.0, which isn't provided and probably wasn't intended by you. Anyways, this results in a segfault (though I'm building libboost 1.41.0 right now, which, however, takes a while on Gentoo).
All the other libraries are sane.

By the way, execution permissions are also rather messed up. Most text and data files have mode +x, which they shouldn't, while some of the libraries don't have execution rights. I don't even know if that causes issues, because I always chmod +x those libraries before I start anything; but you may want to fix that either way.

Once Gentoo's finished building boost 1.41, I'll retry and tell you more about the results and, hopefully, about speed.

Addendum: Just finished installing boost 1.41. Made a symlink from df/libs/libboost_regex.so.1.41.0 to the freshly installed regex library as well.
ldd doesn't detect any more linking errors, but when I try to run df, it inexplicably segfaults.
I don't know if it's of any use to you, but here's what gdb says about it:
Code: [Select]
$ LD_LIBRARY_PATH="./libs" gdb dwarfort.exe
(gdb) run
Starting program: /home/hw/games/df_40d17/dwarfort.exe
[Thread debugging using libthread_db enabled]
[New Thread 0xb5420b70 (LWP 21216)]
Loading bindings from data/init/interface.txt

Program received signal SIGSEGV, Segmentation fault.
0xb6f7fc5d in malloc_usable_size () from /lib/libc.so.6

Edit2: Huh, it actually works fine if I run df through valgrind.

Pages: [1]