Skip to content

Commit

Permalink
Merge pull request #135 from SquidCoderIndustries/squid-keybinds-update
Browse files Browse the repository at this point in the history
Move keybinds file to be with the init file
  • Loading branch information
myk002 authored Jan 20, 2025
2 parents 61a47f9 + 4a657d1 commit b44dfa4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Keybinds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,9 @@ void parseKeymapLine( std::string line )

bool loadKeymapFile(){
std::string line;
std::filesystem::path path = std::filesystem::path{} / "stonesense" / "keybinds.txt";
std::filesystem::path path = std::filesystem::path{} / "dfhack-config" / "stonesense" / "keybinds.txt";
std::ifstream myfile (path);

if (myfile.is_open() == false) {
LogError( "cannot find keybinds file\n" );
return false;
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Template for new versions:
## Fixes

## Misc Improvements
- `stonesense`: ``keybinds.txt`` config file is now read from ``dfhack-config/stonesense/keybinds.txt``
- `stonesense`: added some missing artwork for bookcases, displays, and offering places
- `stonesense`: reorganized the position of some existing art to be more intuitive
- `stonesense`: added index numbers empty sprite slots to aid in making the xml files for the sprites
Expand All @@ -64,7 +65,7 @@ Template for new versions:

## Misc Improvements
- `stonesense`: changed announcements to be right-aligned and limited to only show the most recent 10 announcements
- `stonesense`: ``init.txt`` config file is now read from ``dfhack-configs/stonesense/init.txt``
- `stonesense`: ``init.txt`` config file is now read from ``dfhack-config/stonesense/init.txt``
- `stonesense`: creature names are now hidden by default (they can still be shown by pressing ``n`` (default keybinding) while stonesense window is active)
- `stonesense`: use smaller increments for zooming in and out
- `stonesense`: OSD is now hidden by default; hit F2 (default keybinding) to show it again

0 comments on commit b44dfa4

Please sign in to comment.