Alexander Gavrilov
68b6e10b2c
Implement writing veins tile by tile through MapCache.
...
Unlike changevein, which changes the material in an existing vein
object, with this feature you can set the material for individual
tiles, and the cache will write it out as vein objects.
The array inside the cache data is changed from layer material to
vein material, because layer material is easy to compute.
2013-10-08 18:17:36 +04:00
Alexander Gavrilov
9442e8ea1f
Make biome information more explicit in MapCache.
2013-10-07 16:58:10 +04:00
Alexander Gavrilov
ea36233dff
Split MapCache code from Maps.cpp
2013-10-07 16:58:10 +04:00
jj
84033bd586
ruby: dont list ruby scripts when ruby plugin is disabled
2013-10-07 14:32:47 +02:00
jj
4ba4f90147
ruby: add support for enable/disable plugin
2013-10-07 13:58:28 +02:00
jj
a18347608a
ruby: vectors default to int32_t
2013-10-07 13:33:21 +02:00
Alexander Gavrilov
32a6073dad
Remove lambdas from dwarfmonitor and resume.
2013-10-03 16:30:06 +04:00
Alexander Gavrilov
ccc1d936df
Add a Perlin noise test script.
2013-10-02 20:00:03 +04:00
Alexander Gavrilov
f3be0ee187
Remove the use of lambdas in buildingplan.
2013-10-02 19:55:48 +04:00
Alexander Gavrilov
33469f5bb2
Use a better hash function in the Perlin noise generator.
2013-10-02 18:55:41 +04:00
Alexander Gavrilov
864baa2241
Fix the lua script not printing any errors if executing a file fails.
2013-10-01 18:58:56 +04:00
Alexander Gavrilov
e175efa689
Implement a template-based classical Perlin noise generator.
...
The mask argument of the Impl template is there because apparently
an inner template cannot be fully specialized, so there needs to be
some argument besides i.
2013-10-01 18:58:04 +04:00
Alexander Gavrilov
599af0a4d9
Fix linux and windows build issues.
...
- Linux makefile overrides and removes the optimization flags.
- Old linux gcc doesn't understand lambdas.
- MSVC doesn't like extern and explicit instantiation in same file.
2013-09-30 22:51:29 +04:00
Alexander Gavrilov
9e81d27cd1
Implement the same random generator as DF uses for DFHack.
2013-09-30 19:46:39 +04:00
Alexander Gavrilov
d7e35c2d23
Add built-in enable and disable commands.
2013-09-30 13:19:51 +04:00
jj
a487ede2b9
autodump: typo in errmsg
2013-09-23 21:28:27 +02:00
expwnent
11635caeb8
Add makeown.lua.
2013-08-31 16:15:54 -04:00
Alexander Gavrilov
b885123d4e
Fix a crash in beehive code if bees die with yet uncollected products.
...
http://www.bay12games.com/dwarves/mantisbt/view.php?id=6368
2013-08-26 16:55:30 +04:00
Alexander Gavrilov
896cd11fe9
Track readable names of vmethod hooks for diagnostic messages.
...
Note that this changes the ABI of all plugins that use hooks.
2013-08-22 12:14:45 +04:00
Alexander Gavrilov
70a2ab9141
Fix crash due to incorrect loop bounds in add-spatter.
...
This caused a buffer overrun bug if an ADD_SPATTER
reaction had any non-improvement outputs.
2013-08-22 11:22:18 +04:00
Mikko Juola
506a60709e
Add SDL_PushEvent() to one of the hooked SDL functions.
...
This is needed by Dfterm3 plugin.
2013-08-20 21:41:08 +03:00
Alexander Gavrilov
df2e04db26
Update xml definitions.
2013-08-16 18:25:16 +04:00
jj
308e7b6820
fix renamed pregnancy_ptr/mystery to pregnancy_genes/caste
2013-08-10 01:57:11 +02:00
Japa
274da05838
Converted project to unity 4.2
2013-07-23 07:42:09 +05:30
Japa
279c4a48dc
Started work on ramp generation, still needs work.
2013-07-22 19:05:09 +05:30
Japa
0bd627a6f6
Got basic mesh generation working for a unity Visualizer, as well as a block editor for the same.
2013-07-21 10:28:46 +05:30
jj
090d7defc5
add NEWS entry for arena SC_WORLD_LOADED
2013-07-07 23:53:17 +02:00
jj
6f5c03b912
core: generate SC_WORLD_LOADED for arena too
2013-07-07 23:36:22 +02:00
jj
297fa86c34
follow df-structures change to drawBuilding
2013-07-07 17:40:28 +02:00
Warmist
24d8a1f1c1
Added headers to tinythread cmake so that ide would show them.
2013-06-29 12:23:21 +03:00
Warmist
34e5716cc0
Merge branch 'master' of git://github.com/JapaMala/dfhack
2013-06-28 23:52:51 +03:00
Warmist
647b14b471
Fixed potential error with building getting transparent on un-powering.
2013-06-28 23:51:52 +03:00
Warmist
269a2680c8
Added occlusionON|occlusionOFF commands
2013-06-28 23:34:47 +03:00
Japa
102b2ed450
Fixed broken buildings, also added floodgate functionality.
2013-06-28 23:47:54 +05:30
Japa
b9634098a9
Merge branch 'master' of https://github.com/warmist/dfhack
2013-06-28 21:22:11 +05:30
Warmist
368a326b40
Fix for gems not getting right color.
2013-06-28 17:22:24 +03:00
Japa
196e3a3017
Merge branch 'master' of https://github.com/warmist/dfhack
2013-06-28 17:39:49 +05:30
Warmist
26d557fc68
Fixed bug with buildings and added gems to material definition.
2013-06-27 18:11:50 +03:00
Warmist
e2db468d3d
Merge branch 'master' of git://github.com/JapaMala/dfhack
2013-06-27 16:18:46 +03:00
Warmist
7c190cd3f0
Added antialiased lights. They kind of suck. So I disabled them.
2013-06-27 16:11:29 +03:00
Japa
199c111670
Merge branch 'master' of https://github.com/warmist/dfhack
2013-06-27 02:49:47 +05:30
Japa
67859ada0a
Changed sun calculation direction.
2013-06-27 02:49:18 +05:30
Warmist
7c9f0fd781
Added day colors and day speed parameters.
2013-06-27 00:14:03 +03:00
Warmist
e1daa16d9e
Added sun time manipulation, updated helpstring.
2013-06-26 22:05:22 +03:00
Warmist
b7f28877a2
Added building size. Removed material flags (on by default)
2013-06-26 20:19:30 +03:00
Japa
d90a7bfb88
removed something I had for testing.
2013-06-26 19:26:11 +05:30
Japa
dc42fa2fa3
Merge branch 'master' of https://github.com/warmist/dfhack
2013-06-26 19:14:55 +05:30
Japa
689caa5039
Made the lighting engine multithreaded.
2013-06-26 19:12:14 +05:30
expwnent
c1fef35b52
Renamed digSmart to digFlood.
2013-06-25 19:57:17 -04:00
expwnent
56e25bfa12
Documented invasion-now, moved it from devel scripts, and documented digSmart in readme.
2013-06-25 19:34:13 -04:00