| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | New tweaks for the military assign to position screen. | Alexander Gavrilov | 2012-09-28 | 1 | -1/+7 |
| | | |||||
| * | Implement a slightly more sensible aiming AI in siege engine. | Alexander Gavrilov | 2012-09-17 | 1 | -12/+196 |
| | | |||||
| * | Throw items from bins around in siege engine, like minecarts do. | Alexander Gavrilov | 2012-09-12 | 1 | -1/+2 |
| | | |||||
| * | Trivial siege engine aiming at units, with logic in lua. | Alexander Gavrilov | 2012-09-11 | 1 | -0/+31 |
| | | |||||
| * | Start the siege engine plugin with code to highlight obstacles on screen. | Alexander Gavrilov | 2012-09-07 | 1 | -0/+13 |
| | | |||||
| * | Implement a pressure plate sensitive to machine power. | Alexander Gavrilov | 2012-09-06 | 1 | -0/+11 |
| | | | | | When built next to a gearbox, it will monitor its powered state. | ||||
| * | Support renaming some buildings, and arbitrary units, via gui script. | Alexander Gavrilov | 2012-09-05 | 1 | -0/+13 |
| | | |||||
| * | Expose the liquids plugin engine to lua, and make a wrapper gui script. | Alexander Gavrilov | 2012-08-25 | 1 | -0/+11 |
| | | |||||
| * | Remove stuff that shouldn't be in the core, and expose to lua what's left. | Alexander Gavrilov | 2012-05-20 | 1 | -8/+1 |
| | | | | | | | | | | 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. | ||||
| * | Support sorting items in the trade screens. | Alexander Gavrilov | 2012-05-18 | 3 | -0/+70 |
| | | | | | Caveat: sorts items in containers independently from the container. | ||||
| * | Split off the burrows api from Maps and Units. | Alexander Gavrilov | 2012-04-26 | 1 | -16/+6 |
| | | |||||
| * | Retrieve unit noble position info, and use it in getProfessionName. | Alexander Gavrilov | 2012-04-26 | 1 | -0/+9 |
| | | |||||
| * | Add a few more lua api functions, documentation, and unit sort orders. | Alexander Gavrilov | 2012-04-23 | 1 | -12/+40 |
| | | | | | | Units::getProfessionName appears to work correctly for everything except nobles. | ||||
| * | Support sorting units in many more ui contexts. | Alexander Gavrilov | 2012-04-22 | 1 | -0/+7 |
| | | |||||
| * | Add a few more unit orderings, and a way to reverse direction. | Alexander Gavrilov | 2012-04-21 | 2 | -1/+70 |
| | | |||||
| * | Add a hotkey command that sorts units in lists using lua comparators. | Alexander Gavrilov | 2012-04-21 | 2 | -0/+52 |
| | | |||||
| * | Allow plugins to export functions to lua with safe reload support. | Alexander Gavrilov | 2012-04-14 | 1 | -0/+33 |
| - To ensure reload safety functions have to be wrapped. Every call checks the loaded state and locks a mutex in Plugin. If the plugin is unloaded, calling its functions throws a lua error. Therefore, plugins may not create closures or export yieldable functions. - The set of function argument and return types supported by LuaWrapper is severely limited when compared to being compiled inside the main library. Currently supported types: numbers, bool, std::string, df::foo, df::foo*, std::vector<bool>, std::vector<df::foo*>. - To facilitate postponing initialization until after all plugins have been loaded, the core sends a SC_CORE_INITIALIZED event. - As an example, the burrows plugin now exports its functions. | |||||
