Commit Graph

5370 Commits (7d3764d3ec1708e6b8d8feef3236914f60463983)

Author SHA1 Message Date
Najeeb Al-Shabibi 7d3764d3ec removed option to set tickrate for preserve-tombs, fixed at 100 tick interval 2023-09-30 14:42:29 +01:00
Najeeb Al-Shabibi e2dcced8ef preserve-tombs command guarded from using update argument when plugin not enabled 2023-09-30 13:21:04 +01:00
Najeeb Al-Shabibi 6be9de5e51 preserve-tombs added option to change tick rate, changed default update frequency, changed some print to debug statements, some other adjustments 2023-09-30 12:30:40 +01:00
Najeeb Al-Shabibi 7933e29119 newline at eof - preservetombs.cpp 2023-09-29 14:45:46 +01:00
Najeeb Al-Shabibi 028fbc34ad using std::erase_if instead of iterator loop 2023-09-29 14:30:01 +01:00
Najeeb Al-Shabibi 579fe6ee76 fixed sign compare issue linux build 2023-09-29 14:24:42 +01:00
Najeeb Al-Shabibi 0b2989fb15 preservetombs status now shows list of all tracked tomb assignments 2023-09-29 14:08:49 +01:00
Najeeb Al-Shabibi b0a15b2e8a added command to show status of preservetombs (is enabled or disabled) 2023-09-29 13:38:52 +01:00
Najeeb Al-Shabibi e713e63ea3 Merge branch 'develop' into plugin_preservetombs 2023-09-29 13:26:07 +01:00
Najeeb Al-Shabibi 2a145d06b6 fixed crash on tomb unassignment (caused by incorrect params passed to formatted string) 2023-09-29 13:11:13 +01:00
Najeeb Al-Shabibi 986e64aed0 new plugin preserve-tombs ensures that units that die keep their tomb assignments in death 2023-09-29 12:27:09 +01:00
Myk b3c45941fb
Merge pull request #3824 from myk002/myk_translate
protect against bad values in TranslateName
2023-09-28 20:55:27 -07:00
Myk af65f185a1
Remove unneeded capitalize 2023-09-28 17:43:06 -07:00
Myk Taylor 13f83d2f95
protect against bad values in TranslateName 2023-09-28 16:35:29 -07:00
Myk Taylor bff1b5e7b0
make the ascii DFHack logo easier to read 2023-09-28 14:41:30 -07:00
Myk Taylor 09129ddec0
brighten ascii logo on hover
as was originally intended. why is fg "de-bolded" by pens?
2023-09-28 13:56:11 -07:00
Myk da77be29be
Merge pull request #3816 from myk002/myk_remousify
align mouse button semantics to DF
2023-09-26 19:09:23 -07:00
Mikhail Panov 1e4e6ed03f Merge remote-tracking branch 'main_repository/develop' into combat_skill_rating_polishing 2023-09-26 17:42:27 +03:00
Myk Taylor eefd38c66c
align mouse button semantics to DF
we, um, had it backwards
2023-09-26 03:52:24 -07:00
Kelly Kinkade 0559af9f13 autolabor: fix #3812
make sure autolabor resets the work detail bypass flag whenever autolabor is unloaded for _any_ reason

i tested `disable autolabor`, `unload autolabor`, and unloading a fort with autolabor enabled; in all cases the work detail bypass flag was cleared as desired

closes #3812
2023-09-24 19:10:46 -05:00
Najeeb Al-Shabibi 2a5e59134c Merge branch 'develop' into dig_digtype_nohidden 2023-09-24 20:24:39 +01:00
Najeeb Al-Shabibi ff03fc1f2d trailing whitespace removed 2023-09-24 12:17:50 +01:00
Najeeb Al-Shabibi bf9dbd87a9 Merge branch 'develop' into dig_digtype_nohidden 2023-09-24 12:15:52 +01:00
Najeeb Al-Shabibi b22ca57f50 added previous 'hidden' and 'no-auto' functionality as options, and adjusted how z-level options are specified 2023-09-24 12:15:46 +01:00
shevernitskiy be26449ef7 ugh 2023-09-24 13:22:20 +03:00
shevernitskiy bb5e178756 fix eof 2023-09-24 13:19:48 +03:00
shevernitskiy 9f4f14d025 put back unformatted hotkeys 2023-09-24 13:18:58 +03:00
shevernitskiy f4348095a3 upstream 2023-09-24 11:45:07 +03:00
shevernitskiy 6f26650255 reserved texpos range 2023-09-24 11:44:03 +03:00
Najeeb Al-Shabibi 6fe0fb5bf9 removed trailing whitespace 2023-09-22 12:45:33 +01:00
Najeeb Al-Shabibi 2083bab2e9 added a +z option to digtype 2023-09-22 12:41:41 +01:00
Najeeb Al-Shabibi b7fcf035bc Stopped setting auto-dig on non-default dig designations as auto-dig doesn't work for anything except for the standard 'mine' designation 2023-09-22 12:18:38 +01:00
Najeeb Al-Shabibi 6f45e347af digtype now doesn't designate hidden tiles for digging, instead only designating visible tiles in 'auto' mode (also changed MapCache* to unique_ptr<MapCache>) 2023-09-22 12:14:41 +01:00
Najeeb Al-Shabibi 3d6d148ad7 using namespace std removed and replaced with std:: prefix, to resolve naming conflict of lerp with std::lerp in C++20 2023-09-21 02:40:03 +01:00
Mikhail 68d94ad715 Removed redundant uppercase in mental stability formula. Reworked thresholds for combat skill effectiveness formulas to have a higher 100 cap (more descriptive about very strong warriors). 2023-09-18 12:49:36 +03:00
Myk Taylor 48c48baab4
allow semi-wild units to be butchered 2023-09-17 21:23:45 -07:00
Myk Taylor fc88bfcbbc
don't close the logo menu on mouseout
now that we no longer open on hover, it doesn't make as much sense, and
the behavior can be frustrating when the mouse is moved unintentionally
2023-09-14 11:46:30 -07:00
Myk Taylor 04999cae8d
unbreak Ctrl-Shift-C 2023-09-14 10:43:35 -07:00
Myk Taylor 3634075df0
make DFHack logo glow on hover 2023-09-14 10:12:25 -07:00
Myk Taylor b6c4eb7701
realign tooltip ids in confirm 2023-09-14 09:59:51 -07:00
Myk Taylor b11a3ead1e
make DFHack logo respond to clicks, not mouseover 2023-09-14 01:31:19 -07:00
Myk Taylor d9cae63e4e
move dfhack logo over a little 2023-09-13 18:02:44 -07:00
lethosor a43522351f
check-structures-sanity: ignore std::unordered_map 2023-09-12 23:42:50 -04:00
Myk Taylor 70b48dfa6f
let vanilla blinking take over when possible 2023-09-10 21:14:59 -07:00
Myk Taylor 73b5f0ced1
continue to highlight designations once they have become jobs 2023-09-10 20:20:04 -07:00
Myk Taylor 9951e5f505
cast chars to chars 2023-09-10 12:54:06 -07:00
Myk Taylor 898e98bea7
don't display priority if there is no priority block 2023-09-10 12:33:22 -07:00
Myk Taylor a02d14bb5f
alternate drawing designation and priority 2023-09-10 12:29:31 -07:00
Myk Taylor 24b27c79b6
draw directional tracks 2023-09-10 12:11:06 -07:00
Myk Taylor a0919ec316
add ASCII-mode highlight for smoothing and carving designations 2023-09-10 05:29:55 -07:00