lethosor
ef3adbe816
Merge remote-tracking branch 'PatrikLundell/embark-assistant' into develop
2018-02-10 17:27:13 -05:00
lethosor
9a0befa4cb
Show number of trees skipped
2018-02-10 03:03:07 -05:00
lethosor
342f193409
autochop: store skip settings in one field, fix double colon and initial load
...
language_name fields default to -1, so the new settings could have been enabled
on all worlds by default.
2018-02-10 02:07:36 -05:00
lethosor
6a758c70a8
Merge remote-tracking branch 'dtimm/develop' into develop
2018-02-10 01:47:06 -05:00
lethosor
55f5439ddf
dwarfmonitor: remove unused hook, use CoreSuspendClaimer
2018-02-09 02:07:08 -05:00
Lethosor
6d33069fe9
Fix more copy-paste errors
2018-02-05 10:41:36 -05:00
Japa
7f8ea9e82c
Merge remote-tracking branch 'DFHack/develop' into remote_control
2018-02-05 20:11:55 +05:30
Japa
9a032ac447
I'm a moron.
2018-02-05 20:11:47 +05:30
lethosor
b2a19dedeb
load-art-image-chunk: safety check
2018-02-04 22:56:24 -05:00
Japa
78061085c6
Add art image properties to RFR
2018-02-04 16:02:02 +05:30
Japa
60c1bd3c66
Merge remote-tracking branch 'refs/remotes/DFHack/develop'
...
Conflicts:
library/xml
2018-02-04 10:26:39 +05:30
Japa
ed406e0e3d
fix naming and return statement.
2018-02-04 10:24:51 +05:30
Japa
c621a29fe3
Fix global name.
2018-02-04 10:21:28 +05:30
Japa
38140fb450
Copy engravings in RFR, and update the art image function.
2018-02-04 10:12:15 +05:30
lethosor
bdba95f90c
memview: check for tags from sizecheck
2018-02-03 18:10:16 -05:00
Dan Amlund
6181b2bce3
Add tweak that replaces dwarf mode FPS counter with one that does not count when paused
2018-02-03 17:58:24 +01:00
Japa
8665600574
Send tiles for shape descriptors, and art image ids.
2018-02-03 10:38:17 +05:30
Japa
e63a871363
use the vmethod for getting improvement images.
2018-01-31 10:11:43 +05:30
Japa
9aaeecb4d6
Merge remote-tracking branch 'DFHack/develop' into remote_control
2018-01-28 13:41:52 +05:30
lethosor
788a48144b
dig: fix issues with priority parameters and digvx/diglx
2018-01-28 02:16:57 -05:00
Japa
b78b2feed2
Remove extra whitespace.
2018-01-28 10:12:50 +05:30
Japa
ca3b2b30b3
fix compiling on gcc.
2018-01-27 19:26:30 +05:30
Japa
341c0dacf3
updated function definition for win64.
2018-01-27 12:44:51 +05:30
Japa
aff9c22875
update submodules.
2018-01-26 08:27:03 +05:30
Japa
e3d95daf45
Don't use globals
2018-01-26 08:19:41 +05:30
lethosor
5e0e674580
Update submodules
2018-01-25 10:56:08 -05:00
Japa
ef451a2f2d
Got the image reader function working.
2018-01-25 20:24:12 +05:30
Japa
f1b8fa305b
try using the new function pointer.
2018-01-25 11:55:46 +05:30
Japa
68324dfe0b
Send statue images.
2018-01-25 07:53:19 +05:30
Japa
ee7ad348f0
add item images
2018-01-24 12:09:05 +05:30
Japa
42bbe124b7
Merge branch 'remote_control' of https://github.com/JapaMala/dfhack into remote_control
2018-01-24 10:24:23 +05:30
Japa
f75b116ae2
Added the rest of the relavent improvement headers.
2018-01-24 10:22:45 +05:30
Japa Mala Illo
f33c42a49e
Merge remote-tracking branch 'DFHack/develop' into remote_control
...
# Conflicts:
# scripts
2018-01-24 10:04:51 +05:30
lethosor
1ba5477b63
Add designation priority support to MapCache and dig plugin
...
Fixes #481
2018-01-21 19:27:16 -05:00
Japa
7439f7fba7
Merge remote-tracking branch 'DFHack/develop' into remote_control
...
# Conflicts:
# scripts
2018-01-19 22:11:48 +05:30
Japa
58bef276de
send item imrpovements
2018-01-19 08:25:16 +05:30
lethosor
1ed6c70663
dwarfmonitor: Add "view unit" option to prefs screen
2018-01-18 10:17:54 -05:00
lethosor
74aefddd75
dwarfmonitor: Use a reasonable default for unhandled item types
2018-01-18 10:17:40 -05:00
lethosor
b035d9e53a
ListColumn: only change items' foreground color in selected columns
2018-01-18 10:05:31 -05:00
lethosor
7b16cf1619
dwarfmonitor: actually display creature names
2018-01-18 09:54:33 -05:00
lethosor
9515a9e4f5
dwarfmonitor: use interface_key overload of OutputHotkeyString, grey out unit option
2018-01-18 01:14:30 -05:00
lethosor
5f588b376a
dwarfmonitor: make handling of unrecognized preferences more obvious
2018-01-18 01:07:20 -05:00
lethosor
4e2c6194ca
dwarfmonitor: support poetic/musical/dance forms
2018-01-18 01:06:55 -05:00
lethosor
909776571e
dwarfmonitor: support getSelectedUnit
2018-01-18 01:06:03 -05:00
lethosor
f2890620d1
Remove tweak kitchen-keys - DF bug 614 was fixed
2018-01-18 01:05:33 -05:00
Japa
a63347cf7a
Move item reader to a separate file.
2018-01-17 19:10:19 +05:30
Japa
ea6757377e
add item volume to RFR
2018-01-16 17:04:26 +05:30
Japa Mala Illo
9ba0b00580
Remove the stupid big warning comment.
2018-01-12 11:59:02 +05:30
Japa Mala Illo
8d6e30ef0e
Fix whitespace issues
2018-01-12 11:50:40 +05:30
Japa Mala Illo
56c76d5abc
Merge remote-tracking branch 'DFHack/develop' into remote_control
...
# Conflicts:
# scripts
2018-01-12 11:17:22 +05:30
lethosor
2782008b42
Update tweak condition-material with new field names
...
dfhack/df-structures#236
2018-01-10 19:53:25 -05:00
Japa Mala Illo
724fb00b73
Use an inteligenter method of setting the gem shapes.
2018-01-08 09:58:37 +05:30
Japa
29426111f7
Send shapes for small gems too.
2018-01-07 01:14:15 +05:30
Japa
d80d16ddc3
Actually send gem shape.
2018-01-07 00:50:32 +05:30
Japa
d0a924a207
Send shape ids through RFR
2018-01-06 23:48:06 +05:30
Japa
bd8a6c31ba
Send vehicles over remoteFortressReader, and don't send every block like a retard.
2018-01-06 22:07:34 +05:30
Japa
546841d194
Merge remote-tracking branch 'DFHack/develop' into remote_control
...
# Conflicts:
# scripts
2017-12-31 14:33:03 +05:30
Japa
fa39220777
add projectiles, complete with velocity.
2017-12-31 14:31:58 +05:30
lethosor
e72474613f
Add new PutItemOnDisplay job to labor management plugins
...
Also add building_type::DisplayFurniture to labormanager
Fixes #1208
2017-12-27 13:48:53 -05:00
Japa
cdfe1cf1c7
add a few more hotkeys to adventure control
2017-12-26 22:21:36 +05:30
Japa Mala Illo
e9e5113ff7
Add careful movement type to proto. Not used yet.
2017-12-26 12:34:46 +05:30
Japa
f5fc7fe1a1
Report the current adventure mode menu back to Armok Vision, currently including careful movement options.
2017-12-26 00:08:05 +05:30
Japa
e8ccfb4e4d
Merge branch 'remote_control' of https://github.com/JapaMala/dfhack into remote_control
2017-12-25 22:00:54 +05:30
Japa
5d32253b6e
added jumping ability to adventure control.
2017-12-25 22:00:45 +05:30
Japa Mala Illo
9b562aac73
Merge remote-tracking branch 'DFHack/develop' into remote_control
2017-12-25 10:45:37 +05:30
lethosor
d6a6bf008e
Update xml, stonesense
...
Ref #1206
2017-12-24 23:17:39 -05:00
Japa
1408f7bfb3
Add a command to remotely send simple movement commands to an adventurer.
2017-12-24 18:33:25 +05:30
Japa
79467df263
Merge branch 'remote_reader' of https://github.com/JapaMala/dfhack.git
2017-12-20 17:21:46 +05:30
Japa
04b1a80654
Don't re-send all reports all the time.
2017-12-20 17:11:01 +05:30
Japa
e478c00ce5
Replace tab with space.
2017-12-19 11:20:12 +05:30
Japa
c4f9f6edb2
Add item stack size.
2017-12-17 18:42:03 +05:30
Japa
29282a238b
Bring in changes from the remoteServerUnsafe branch.
2017-12-17 18:05:38 +05:30
Quietust
bbd823f5b0
Simplify logic in createitem, to avoid similar errors in the future
2017-12-16 15:40:39 -06:00
lethosor
b1e77fa260
createitem: fix an issue with items teleporting to the location of another unit
...
This was due to moveToGround() being called twice, first with the location of
world.units.active[0], which caused the item to teleport to that location later.
Fixes #1198
2017-12-16 16:09:43 -05:00
lethosor
23bb8c4f3d
Restore REQUIRE_GLOBAL(ui_menu_width) - used in tweak stable-cursor
2017-12-07 14:37:15 -05:00
Quietust
88c7e493b8
Merge ui_area_map_width into ui_menu_width, now a 2-byte array
2017-12-03 20:34:59 -06:00
Japa Mala Illo
a0634f9ee0
Merge remote-tracking branch 'DFHack/develop' into RemoteServerUnsafe
2017-11-25 11:50:56 +05:30
Japa Mala Illo
7fd2586f62
Remove trailing whitespace
2017-11-25 11:39:15 +05:30
Japa Mala Illo
4a52f322c3
Remove tabs.
2017-11-25 11:37:54 +05:30
lethosor
2c95ac411e
Update xml and all uses of job_handler
2017-11-25 00:59:59 -05:00
Japa Mala Illo
272f51ef4b
Merge remote-tracking branch 'remotes/DFHack/master' into RemoteServerUnsafe
2017-11-25 10:24:51 +05:30
Lethosor
c8cd2f40bc
Merge pull request #1188 from BenLubar/labormanager-culture-crash
...
Fix labormanager crash when a dwarf doesn't have a cultural identity
2017-11-23 16:22:44 -05:00
Lethosor
1d679e713e
Merge pull request #1156 from ViTuRaS/patch-1
...
max_barrels was serialized on max_bins position
2017-11-23 11:58:08 -05:00
Lethosor
9259cb22d2
Merge pull request #1184 from quietust/develop
...
update structures
2017-11-23 11:57:41 -05:00
Ben Lubar
e06644cdf4
Fix labormanager crash when a dwarf doesn't have a cultural identity
2017-11-23 10:55:37 -06:00
Japa
e3a41a323d
Update Units
2017-11-05 16:06:51 +05:30
Japa
53b5a5cc6f
Added a function to only get details for units within the area of interest.
2017-11-04 20:14:24 +05:30
Quietust
33a43c5bfd
update structures
2017-11-04 07:50:47 -06:00
Japa
b449446526
Send announcements in Unicode.
2017-10-30 19:23:17 +05:30
Japa
117b6e0427
Send reports over RFR.
2017-10-30 19:00:03 +05:30
Japa
e51ae78a46
Always follow the current adventure in adventure mode.
2017-10-22 13:37:23 +05:30
Japa
b480cd6b38
Mark RFR functions as being safe for network use.
2017-10-20 19:07:47 +05:30
David Timm
322964f0e6
Switch to explicit `interface_key` values instead of char.
2017-10-17 16:06:33 -06:00
David Timm
3c564c64ba
Fix tabs.
2017-10-17 15:17:35 -06:00
David Timm
d009022311
Add tree product exclusions to autochop
2017-10-17 13:43:20 -06:00
Ben Lubar
cc595d7a4e
Fix fencepost error in orders import. Fixes #1177 .
2017-10-16 14:01:23 -05:00
Quietust
c080da3750
listcolumn - adjust add(ListEntry<T>) to take const ref, more compatible on Linux
2017-10-08 19:54:51 -06:00
PatrikLundell
c2b36f0979
Removed extra qualification to make Travis happy.
2017-09-01 17:29:55 +02:00
PatrikLundell
8a81f6b5f7
Removed extra qualification to make Travis happy.
2017-09-01 17:14:21 +02:00
PatrikLundell
596296358f
Moved all externally visible operation implementations out of name spaces to satisfy both Travis and Visual Studio.
2017-09-01 17:00:14 +02:00
PatrikLundell
84eaf04148
Removed function qualifications to make Travis happy and Visual Studio unhappy.
2017-09-01 16:22:10 +02:00
PatrikLundell
83061cffca
Replaced include of dfhack.h with <utility> and DataDefs.h
2017-09-01 15:37:40 +02:00
PatrikLundell
831fa07fb2
Removed path from dfhack.h include.
2017-09-01 15:10:53 +02:00
PatrikLundell
80fe49b339
Add embark-assistant plugin
2017-09-01 14:13:34 +02:00
ViTuRaS
ca481fc69f
max_barrels was serialized on max_bins position
...
When I save and load stockpile settings with stockpile management plugin, then saved barrels count will be loaded in bins and barrels are zero. So I think this change should correct it.
2017-08-28 22:33:24 +02:00
Lethosor
54b0d2fcb6
Merge pull request #1154 from JapaMala/master
...
RemoteFortressReader updates.
2017-08-22 10:48:47 -04:00
Japa
a7b837f2d0
Increment version number
2017-08-20 20:44:55 +05:30
Japa
8e71cf9def
Send Unit inventories with RFR
2017-08-19 17:48:18 +05:30
Japa
737aefefea
send over beard styles
2017-08-19 09:38:56 +05:30
Japa
5b5ac7088d
correct spelling
2017-08-12 19:12:14 +05:30
Japa
b7783ba8b9
Added unkept hair to style list
2017-08-12 19:10:35 +05:30
Warmist
620cfcc8bd
Fix luasocket receive with byte count
...
Did not correctly detect when you typed in a number instead of pattern.
2017-08-12 15:42:56 +03:00
Japa
6c5e25db13
Add hair style to units in proto
2017-08-11 13:50:30 +05:30
Japa
55d22855a0
Add styling enums to RFR
2017-08-11 10:21:40 +05:30
lethosor
95aa5bbb47
zoom: fix MSVC warning
2017-08-07 15:06:00 -04:00
lethosor
1bf64ddfd8
Merge remote-tracking branch 'ab9rf/labormanager-1115' into develop
2017-08-07 14:04:05 -04:00
lethosor
14867c36cc
Merge remote-tracking branch 'ab9rf/labormanager-1106' into develop
2017-08-07 14:00:37 -04:00
lethosor
eb7e9dcf1f
Merge remote-tracking branch 'ab9rf/labormanager-1103' into develop
2017-08-07 14:00:15 -04:00
lethosor
05b238c879
Fix another diggingInvaders compiler error
...
Windows-specific, for some strange reason
Ref #1145
2017-08-07 09:30:27 -04:00
lethosor
a383cc9a30
Fix diggingInvaders compilation errors ( #1145 , GCC 4.8)
2017-08-06 21:01:36 -04:00
Kelly Kinkade
ab8fb9f44e
whitespace
2017-08-05 21:48:41 -05:00
Kelly Kinkade
b61859a55e
labormanager/#1103: fix NPE in meeting test
2017-08-04 11:29:48 -05:00
Kelly Kinkade
04733827a0
Favor/disfavor RECOVER_WOUNDED based on ALTRUISM ( fixes #1106 )
2017-07-29 19:54:51 -05:00
Kelly Kinkade
d98fd02048
Weight CUTWOOD jobs by KILL_PLANT ethic; fix #1115
2017-07-29 18:46:45 -05:00
Kelly Kinkade
682d4b3144
whitespace
2017-07-29 12:26:32 -05:00
Kelly Kinkade
fe9454ff1c
Fix #1103 : do not idle for a meeting if the other participant is dead, asleep, resting, or on military duty
2017-07-29 09:26:19 -05:00
Kelly Kinkade
c5c80d5dc0
Rename labormanager_joblabormapper to joblabormapper
2017-07-28 23:03:23 -05:00
Kelly Kinkade
d810faa4a3
whitespace
2017-07-28 02:43:32 -05:00
Kelly Kinkade
a7d21fd627
move labormanager into a subdirectory
2017-07-28 02:28:16 -05:00
Japa
8ae7a1235d
Add rider ID to creatures
2017-07-27 18:41:46 +05:30
Japa
92a962a9c0
Send grass levels over RemoteFortressReader
2017-07-25 08:31:02 +05:30
Kelly Kinkade
fd19935fe9
labormanager: remove stupid
2017-07-22 04:54:05 -05:00
Kelly Kinkade
15ae72edec
labormanager: Refactor source, separating the job labor mapper into a separate source file.
2017-07-22 04:31:30 -05:00
Kelly Kinkade
90dd9e932e
exclude on-duty military personnel from health labor check
2017-07-20 03:54:00 -05:00
Japa Illo
1ee5debfba
Send the existence of all buildings on the map.
2017-07-17 15:29:23 +05:30
lethosor
c5fad31a4c
Fix indentation
2017-07-12 16:55:50 -04:00
lethosor
bdc746f3f1
Replace broken include guard
2017-07-12 16:53:09 -04:00
lethosor
018f3be70a
Merge remote-tracking branch 'JapaMala/master' into develop
2017-07-12 16:52:30 -04:00
Ben Lubar
f963d89e12
Merge branch 'develop' into plugin-orders
2017-07-11 15:12:40 -05:00
lethosor
070dfa1865
Merge branch 'develop' of dfhack/dfhack into develop
2017-07-05 23:57:35 -04:00
lethosor
2d07e5edea
Add new "pathable" plugin
2017-07-05 23:54:55 -04:00
Japa
03772a6899
Don't support windmill direction on old DF
2017-07-04 21:10:59 +05:30
Japa
8a0777bb1e
Add stdint.h to the buildingreader header.
2017-07-04 20:51:25 +05:30
Ben Lubar
069cea675c
Split import and clear into two commands. Use for-each loops for clarity. Closes #965 .
2017-07-02 16:00:45 -05:00
Ben Lubar
7b3ce20167
Add orders plugin for managing manager orders.
2017-07-02 14:02:55 -05:00
Quietust
fd68971ac5
Fix silly error in strangemood plugin - missing "break;" statements in deep material item searches
2017-07-02 07:31:31 -06:00
Japa
96dd5799f7
Add compatibility defines for 0.34.11
2017-06-30 01:00:31 +05:30
Ben Lubar
967ab4ab1e
autolabor: Fix an array bounds overrun when assigning haulers while traders are active.
2017-06-27 13:47:33 -05:00
lethosor
fe8be90992
Add "tweak burrow-name-cancel" to fix bug 1518
...
http://www.bay12games.com/dwarves/mantisbt/view.php?id=1518
Closes #526
2017-06-25 16:42:30 -04:00
lethosor
10e13c532a
Add "tweak cage-butcher" and some extra Building module functions
...
* Buildings::markedForRemoval()
* Buildings::getCageOccupants()
Closes #906
2017-06-25 15:27:21 -04:00
Japa Illo
c9b5df8989
Merge develop
2017-06-24 11:00:14 +05:30
Japa Illo
52b9a8f4ad
Added a function to get a subset of the plant raws.
2017-06-24 10:52:09 +05:30
lethosor
bf8e65311b
Update submodules
2017-06-23 12:43:38 -04:00
Japa
31dbb792ca
Added a function to get a partial creature raw list.
2017-06-23 19:54:22 +05:30
Japa Illo
a2f6c80298
Add compatibility defines to remotefortressreader.cpp
2017-06-23 16:02:30 +05:30
lethosor
ae809afde7
Add Gui::refreshSidebar()
...
This handles feeding CURSOR_DOWN_Z and CURSOR_UP_Z properly, avoiding issues
when on the lowest z-level.
2017-06-23 00:02:21 -04:00
Japa
ac0134568e
Don't read empty rooms, and update version
2017-06-22 23:57:04 +05:30
Japa
34f55cec29
Merge remote-tracking branch 'origin/master'
2017-06-22 20:29:21 +05:30
Japa
0348de4880
Add a command to get the current RemoteFortressReader version
2017-06-22 20:29:10 +05:30
Japa Illo
9ae50279a1
Moved the version define into a header file, and fixed removing designations that are alreaddy converted to jobs.
2017-06-20 15:46:03 +05:30
Japa Illo
48f5fd7a39
Fix missing room info on sent buildings.
2017-06-20 11:06:37 +05:30
Japa Illo
96f9faea28
Merge remote-tracking branch 'DFHack/develop'
2017-06-20 10:51:52 +05:30
Japa Illo
3da9176c76
Update submodules
2017-06-20 10:51:41 +05:30
lethosor
65382473f7
Ruby: stop cpp_new from truncating vtable pointers
...
This fixes a crash in levers.rb, for instance.
2017-06-10 17:22:52 -04:00
lethosor
1321a64613
Remove lots of old/unused functions from the Units module
2017-06-10 17:21:34 -04:00
lethosor
acf50b755f
tweak hotkey-clear: fix label position
2017-06-08 11:20:56 -04:00
lethosor
a19e268923
Make re-invoking command-prompt hide the current prompt
2017-06-07 15:00:30 -04:00
lethosor
c3d5663320
Ruby: use Gui module to get selected unit
...
This allows "exterminate it" to work from command-prompt, among other things.
Fixes #1100
2017-06-06 23:34:34 -04:00
lethosor
b2f05834d9
buildingplan: fix an issue preventing some numbers from being used in names
2017-06-03 18:25:49 -04:00
lethosor
9f18cb5bdc
resume: use map y dimension and fix off-by-one error
2017-06-03 11:24:23 -04:00
lethosor
5278856b37
mousequery: Fix parameters to getDepthAt()
2017-06-02 15:39:23 -04:00
lethosor
62c9f2695a
automaterial: use uicommon.h, draw to map
2017-06-02 15:00:51 -04:00
lethosor
43c4a88068
Move some checks in paintTile/readTile after hooks are called
2017-06-02 00:40:14 -04:00
lethosor
044b3a0789
resume: use uicommon and draw to map
2017-06-01 16:19:11 -04:00
lethosor
2681392e27
siege-engine: use map tiles
2017-05-31 12:12:52 -04:00
Japa
9f2eaf35f1
Merge remote-tracking branch 'DFHack/develop'
2017-05-31 19:52:53 +05:30
lethosor
2905376042
Fix multiple issues with the confirm plugin
...
- Only allow one confirmation to be open at once. This avoids situations where
pressing "s" would open another confirmation instead of the settings screen
(e.g. in the trade screen), and allows all confirmations to be implemented
without priorities specified.
- Fix #821 : close any active confirmations when they are disabled.
- Some misc. cleanup, C++11 features
- Fixed a memory leak
2017-05-27 00:26:14 -04:00
lethosor
49ea61562f
uicommon: remove nullptr definition
...
This is available in GCC 4.8+ and MSVC 2015
2017-05-25 18:06:51 -04:00
Japa Illo
addbb1a94f
(Hopefully) send active-state wil all applicable buildings.
2017-05-25 15:38:31 +05:30
Japa
2d6dab0f24
Add a special case for retraction bridge direction
2017-05-23 21:41:34 +05:30
Japa
3f98cd3da0
Add active state to some building types.
2017-05-22 22:03:12 +05:30
lethosor
22de28c3ed
embark-tools sand: hide indicator when it overlaps with confirmation window
2017-05-19 11:49:25 -04:00
lethosor
b92095190f
Update stonesense, scripts, xml
2017-05-18 20:52:41 -04:00
Japa
5831665231
Fix wrong units used between two bounding boxes.
2017-05-14 16:07:05 +05:30
Japa
4ec42f7994
Merge branch 'develop' of https://github.com/DFHack/dfhack into develop
2017-05-14 11:17:09 +05:30
Japa
236561ff43
get the full building list in the requested area in one go, rather than several overlapping chunks.
2017-05-14 11:12:41 +05:30
lethosor
d083b92e9c
probe: display tiletype enum names as well
2017-05-10 12:40:57 -04:00
lethosor
d42bfd7a1d
Merge remote-tracking branch 'quietust/develop' into develop
2017-05-10 10:28:49 -04:00
lethosor
5d9a3cdc99
Merge branch 'develop' of dfhack/dfhack into develop
2017-05-09 13:51:38 -04:00
lethosor
88f9eaeebb
stonesense: Disable overlay in STANDARD-based modes
...
Closes dfhack/dfhack#1078
2017-05-09 13:50:08 -04:00
lethosor
4dff218976
ruby: fix crash when unloading plugin on Windows
2017-05-09 13:49:07 -04:00
Quietust
67e60fdaa1
Fix issue #874 (revflood doesn't always see past constructed downstairs)
2017-05-07 13:23:33 -06:00
Japa
de7ef79d76
Merge remote-tracking branch 'DFHack/develop' into develop
2017-05-07 19:24:39 +05:30
Japa
a1f692686a
Use forward slashes instead of underscored to separate building subtypes
2017-05-07 19:24:30 +05:30
lethosor
d309839b74
Update stonesense - fix #1083
2017-05-06 15:15:32 -04:00
lethosor
3dc2c2259b
Update getplants to use Designations module
...
Fixes #531
Fixes #1014
Fixes #1018
2017-05-06 00:11:07 -04:00
lethosor
adaccceba7
autochop: fix display of unnamed burrows
2017-05-05 17:36:02 -04:00
lethosor
5c784f4ba3
autochop: Avoid moving menu options around when toggling burrows
2017-05-05 17:31:54 -04:00
lethosor
a527091172
autochop: Fix marking/unmarking trees (use Designations module)
...
Fixes #656
Fixes #1076
Closes #1030
2017-05-04 21:51:16 -04:00
lethosor
690fec9d81
manipulator: show social activities in job column
2017-04-28 17:26:20 -04:00
lethosor
3cfbd735dc
Update xml, stonesense, scripts
2017-04-23 17:14:22 -04:00
lethosor
098481c60d
Merge branch 'develop' of dfhack/dfhack into develop
2017-04-19 13:45:45 -04:00
lethosor
06737644cd
new tweak: hotkey-clear
2017-04-19 13:31:25 -04:00
Japa Illo
e36e4fa1c1
Support archery target rotation in RemoteFortressReader
2017-04-05 15:35:48 +05:30
Japa Illo
06225dd896
Send building items and items kept in buildings separately.
2017-03-30 16:23:14 +05:30
Japa
7c626ba3c2
Actually add the versionInfo function to the RPC list.
2017-03-29 22:05:49 +05:30
Japa
bbaf3210f1
Send DF version info over remoteFortressReader
2017-03-29 21:58:12 +05:30
Japa
c244901c16
Removed end of line space. (Sorry, travis)
2017-03-29 20:22:09 +05:30
Japa
19a253c132
Merge remote-tracking branch 'DFHack/develop' into develop
2017-03-29 19:46:55 +05:30
lethosor
78cb4a31b9
New tweak: condition-material (fixes bug 9905)
...
http://www.bay12games.com/dwarves/mantisbt/view.php?id=9905
2017-03-28 09:50:38 -04:00
Japa
5ea964b9cf
Send building items with buildings.
2017-03-25 22:23:40 +05:30
lethosor
aea76b7ef3
stockflow: make sure that manager order amounts are integers
...
Fixes #1044
2017-03-18 17:56:06 -04:00
lethosor
815bdb2e57
Merge remote-tracking branch 'TC01/ruby-no-dl-flag' into develop
2017-03-18 00:51:37 -04:00
lethosor
f7f05724aa
Merge branch 'develop' of gh:dfhack/dfhack into develop
2017-03-18 00:36:43 -04:00
lethosor
85e0daf15e
stonesense: basic 64-bit OS X support
2017-03-18 00:34:07 -04:00
lethosor
f17e9d3662
title-folder: fix SDL path on OS X
...
The Stonesense install script appears to do strange things which cause DF to
load SDL.framework/Versions/A/SDL instead of SDL.framework/SDL. Once the former
is loaded, loading the latter and calling SDL_WM_* functions from it will fail.
A better solution would be to remove parts of the Stonesense fix-libs-*.sh
script(s) that are causing this, since they don't appear to be needed, or
use dlsym() to find the already-opened library/symbols.
2017-03-18 00:31:25 -04:00
Japa
61c2fb0a11
Merged branch develop into develop
2017-03-18 00:26:01 +05:30
Japa
e60d8de5fe
Fix array out of bounds errors in remotefortressreader that were crashing linux.
2017-03-18 00:25:46 +05:30
lethosor
19695b4ee7
EventManager/eventful: Pass building ID pointers to event handlers
...
Previously, there was some disagreement over whether event handlers such as
Buildings::updateBuildings() took building pointers or building IDs shoved
into pointers. It turned out to be the latter, which, unfortunately, did not
compile on x64. Passing building IDs isn't possible in all cases, because
building event handlers can be called for recently-deleted buildings too.
Pointers to building IDs do work reliably, though.
Fixes #1003
2017-02-17 22:53:48 -05:00
lethosor
ae92ae7948
Merge remote-tracking branch 'JapaMala/creatureRenamer' into develop
2017-02-09 23:25:55 -05:00
Japa Illo
0d8decd7ec
Remove trailing whitespaces.
2017-02-08 10:54:42 +05:30
Japa Illo
2c19f6b237
remove rsize_t
2017-02-08 10:34:11 +05:30
Japa Illo
873feaee2b
Added a function to the creature renamer to save a graphics pack file to set graphics for all the generated creatures.
2017-02-07 15:57:35 +05:30
Japa Illo
10bbd3cb39
Added a function to spit out a generated graphics pack file. Not done yet.
2017-02-07 11:19:45 +05:30
Japa Illo
b151ad7c75
always make sure the name prefix has an underscore at the end of it.
2017-02-07 11:09:39 +05:30
Japa Illo
f9b296884c
Made the creature renamer work more than once on the same save, and changed the format of the resulting names.
2017-02-07 11:01:42 +05:30
Japa Illo
68faca09ee
Added missing base types given by toady, and reorganized the list to look better.
2017-02-07 10:27:57 +05:30
Japa Illo
64e217132e
Don't offset the raplacement by 1 since there's no space now.
2017-02-06 10:50:18 +05:30
Japa Illo
5b83c6fe68
Add spaces to search string programmatically.
2017-02-06 10:49:22 +05:30
Japa Illo
1aef1d1b98
use STD::Vector instead of a C array, and set version properly.
2017-02-06 10:42:10 +05:30
Japa Illo
b18bd72c05
Replace tab with spaces.
2017-02-06 10:12:20 +05:30
lethosor
7823d78cd9
Update xml and embark-tools field name
2017-02-04 14:49:21 -05:00
lethosor
f65a981099
Fix indentation
2017-02-04 14:46:38 -05:00
Japa Illo
c8e6845a7f
Send noble positions and professions along with Units.
2017-02-03 10:08:35 +05:30
Japa Illo
d97b0497b3
Add prosession and noble position info to units.
2017-02-02 12:12:28 +05:30
Japa Illo
c3c3f37b06
Added more descriptor types, and made it run on world load.
2017-01-26 15:58:43 +05:30
Japa Illo
24a653f77b
added ants and apes to the list.
2017-01-26 12:50:37 +05:30
Japa Illo
365624453e
Finish up the generated-creature-renamer plugin.
2017-01-26 12:45:40 +05:30
Japa
934d5b32bc
Fix creature listing and plugin name
2017-01-26 10:00:38 +05:30
Japa
c659b885b6
Start a plugin to rename generated creatures to have sensible IDs
2017-01-25 23:06:03 +05:30
Ben Rosser
f0d4a1f563
Add DOWNLOAD_RUBY option to Ruby plugin cmake, defaulting to ON
...
If DOWNLOAD_RUBY is set to OFF, the build will not attempt to download
a prebuilt libruby.so and not fire a warning that one is not present.
This may be desired if one wants to link dfhack against a newer system
libruby.so, now that dfhack supports ruby 2.x and also supports linking
against system libruby (at least, on Linux), as per the following commit:
df9b5bca73
This also allows the dfhack build to proceed without network access
(once all submodules have been fetched), which at least some Linux
distributions, like Fedora, require.
By default DOWNLOAD_RUBY is set to ON, so this should not change
the behavior of default builds.
I tested that when DOWNLOAD_RUBY is set to OFF, dfhack still launches
and that the Ruby plugin still functions, e.g. by running
```rb_eval puts('Hello world.')``` in the dfhack console.
2017-01-20 17:40:14 -05:00
lethosor
affcd658dc
title-version: Hide when loading a game (e.g. arena)
2017-01-04 12:30:59 -05:00
lethosor
cda4e7a300
title-version: add prerelease indicator
2016-12-30 18:03:28 -05:00
Kelly Kinkade
c99780aafd
Add support for shell crafts.
2016-12-27 23:40:53 -05:00
lethosor
cd0d9fed18
stocks: Support getSelectedItem()
2016-12-27 17:41:32 -05:00
Kelly Kinkade
3c7d2626e2
df::dfhack_material_category has no constructor, must be manually initialized
...
see #1047
2016-12-18 17:58:24 -06:00
Lethosor
ba48afe908
stockflow: Simplify calculation
...
See #1046
Use math.floor() for now until we can get Lua 5.3 working on Travis
2016-12-16 14:22:00 -05:00
Kelly Kinkade
1419d58b9a
stockflow: Use "floor division"
...
Per suggestion by @dscorbett
2016-12-16 13:04:51 -06:00
Kelly Kinkade
5be77fa63d
stockflow: Fix "integer expected" problem in stockflow
2016-12-16 08:09:53 -06:00
lethosor
a5eb5d2502
manipulator: Sort custom professions
...
Also use == instead of string::compare()
2016-12-15 19:18:07 -05:00