Commit Graph

983 Commits (4e4e375122415aed954b37ba7a2b34ffe4dd0874)

Author SHA1 Message Date
Warmist 4e4e375122 Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-25 22:23:37 +03:00
Warmist 1c013486d5 Removed non-working onfunction. 2012-06-25 22:22:20 +03:00
Quietust 1327b4954a Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-18 10:04:45 -05:00
Alexander Gavrilov db91850464 Sync to the change in gamemode/gametype globals. 2012-06-16 14:42:56 +04:00
jj 0bdae68294 ruby: fix codegen enum base-types 2012-06-15 21:02:04 +02:00
Warmist 93662034fe Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-15 13:08:46 +03:00
jj cfdf941c52 ruby: fix windows build warnings/load ruby.rb 2012-06-14 22:35:59 +02:00
jj 6bd67cc055 ruby: try to fix msvc build (use fastcall for thiscall fptr) 2012-06-14 14:25:16 +02:00
Petr Mrázek 2781723f7b Linux build works again. 2012-06-14 02:25:15 +02:00
Petr Mrázek 5f33ebde41 Merge https://github.com/Rinin/dfhack 2012-06-14 00:01:38 +02:00
Petr Mrázek 52f9fe4a6a Merge https://github.com/danaris/dfhack
Conflicts:
	depends/clsocket
2012-06-14 00:00:36 +02:00
jj 0285448367 ruby: fix download url, cmake doesnt handle HTTP 301 2012-06-13 00:20:52 +02:00
jj 3c1cb24d9f ruby: download lib from github as tgz, switch to ruby18, simply log to stderr.log if cannot load libruby 2012-06-12 18:51:33 +02:00
jj 95606ee3dc Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-06-11 16:00:00 +02:00
jj c0e7295f22 ruby: fix cmake to rebuild ruby-autogen.rb only when necessary 2012-06-10 23:42:58 +02:00
jj 7ee8d79014 ruby: download libruby with cmake 2012-06-10 02:06:22 +02:00
jj bc734619b4 ruby: use ruby1.9.1 on linux 2012-06-10 01:45:30 +02:00
jj 2aace670ea ruby: dlopen libruby -- currently segfaults with rb1.9 ... 2012-06-02 23:44:52 +02:00
Quietust e143c312bf Sync with df-structures changes 2012-05-31 19:13:11 -05:00
Quietust 884cf53b0b body_part_raw has its own set of flags which do NOT match body_part_template 2012-05-30 08:02:53 -05:00
jj 3e61452f15 ruby: codegen code cleanup, move ruby-memstruct in ruby.rb, handle bool struct fields, rename Enum.to_sym/to_i to sym()/int(), define nested compound sizeof() 2012-05-29 18:30:18 +02:00
jj bcb698a5b4 ruby: have codegen compute struct offsets directly 2012-05-29 16:10:33 +02:00
Alexander Gavrilov e72bf1ac9a Sync to changes in df-structures. 2012-05-26 14:49:27 +04:00
Alexander Gavrilov 8644ea4dc0 Merge remote-tracking branch 'q-github/master' 2012-05-26 14:41:36 +04:00
Quietust 800cbca578 Some improvements to showmood - show relevant skill, cleanup messages 2012-05-25 21:31:47 -05:00
Timothy Collett 44c3afc306 Merge git://github.com/quietust/dfhack
Gotta get the changes that prevent DFHack from crashing.
2012-05-24 15:39:11 -04:00
Timothy Collett 24d221052b Initial changes to get dfhack building on the Mac 2012-05-24 11:31:20 -04:00
Quietust ae41ddc04a Don't crash if world is undefined 2012-05-23 13:43:41 -05:00
Quietust 9a73ea9f14 Cleanup World module to use df::global, and fix crashes when control_mode/game_mode are missing 2012-05-23 12:51:03 -05:00
Rinin 705b60ca27 Fixed BrewDrink products counting 2012-05-22 19:22:36 +04:00
Alexander Gavrilov 65349039f0 Fix workflow bug: properly deduce the output material of BrewDrink jobs. 2012-05-22 17:50:48 +04:00
Alexander Gavrilov 81022451c2 Support sorting items in stocks, and correct unit sorting in joblist. 2012-05-21 22:29:03 +04:00
Petr Mrázek 8ef1423ee7 Merge https://github.com/angavrilov/dfhack 2012-05-20 23:01:44 +02:00
Petr Mrázek 8ff4f1a78e Disable ruby plugin by default. 2012-05-20 22:58:02 +02:00
Alexander Gavrilov b992b04f0b Remove stuff that shouldn't be in the core, and expose to lua what's left.
Specifically, any "if (verbose) { Core::printerr("blah") }" kind
of stuff definitely doesn't belong in the common API functions.
Also, ref->getUnit() is very expensive.

On the other hand, checks for crash-inducing conflicts with the
ui should be in the core api, and not in client plugins.
2012-05-20 21:57:45 +04:00
Petr Mrázek 489f22e550 Merge branch 'ruby' of https://github.com/jjyg/dfhack 2012-05-20 17:37:13 +02:00
Petr Mrázek 3fa155e8e6 Merge https://github.com/angavrilov/dfhack 2012-05-20 17:33:09 +02:00
Alexander Gavrilov d28d240dbd Merge remote-tracking branch 'kmartin/master' 2012-05-20 11:03:41 +04:00
Petr Mrázek 51f06c78fc Merge https://github.com/playfordh/dfhack
Conflicts:
	library/include/modules/Items.h
	library/modules/Items.cpp
2012-05-19 19:09:13 +02:00
Petr Mrázek b8ce3b45e1 Merge https://github.com/jaxad0127/dfhack 2012-05-19 18:37:02 +02:00
Petr Mrázek d0de575a2b Merge https://github.com/jjyg/dfhack 2012-05-19 18:27:57 +02:00
Alexander Gavrilov 7774f5f2c1 Add a mechanism converting ui focus to a string representation.
The idea is to make ui handling more modular, dispensing with
huge functions that switch or if/else on lots of variables.
For now, used to split up functions in the sort plugin.
2012-05-19 19:50:36 +04:00
jj b851ee2d22 Merge branch 'master' of git://github.com/peterix/dfhack 2012-05-19 12:53:23 +02:00
Petr Mrázek e2f39368b1 Sync submodules 2012-05-18 17:43:22 +02:00
Alexander Gavrilov 4aa6dbdd00 Support sorting items in the trade screens.
Caveat: sorts items in containers independently from the container.
2012-05-18 19:18:49 +04:00
Kelly Martin e77c9dc730 Add new PUSH_HAUL_VEHICLES labor to autolabor.
This commit will only work with 0.34.08 (or later).
2012-05-15 13:42:48 -05:00
playfordh 0d2849ca5a Modified autodump to enable extraction of equipped items from unit inventory
Signed-off-by: playfordh <harlanplayford@gmail.com>
2012-05-15 06:32:09 -04:00
harlanplayford 689cf3ee51 Added ForceEquip plugin to project
Signed-off-by: playfordh <harlanplayford@gmail.com>
2012-05-15 06:03:29 -04:00
Kelly Martin 27cc2dc92c Add dwarf state table entries for the new jobs from .34.7 and .34.8. Also add a warning message for a dwarf who is doing an unknown job (instead of just reading random nonsense from off the end of the dwarf_states array).
This code is backward-compatible (the extra job entries will simply be unused in pre-.8).
2012-05-14 21:54:11 -05:00
Kelly Martin e078c75737 Track submodules 2012-05-14 13:44:03 -05:00