summaryrefslogtreecommitdiff
path: root/plugins/rename.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement explicit hook priority in vmethod interpose.Alexander Gavrilov2012-09-221-1/+1
| | | | This resolves a getName order conflict between power-meter and rename.
* Support renaming activity zones.Alexander Gavrilov2012-09-201-5/+42
| | | | This one required hooking the dwarfmode render method.
* Fix the rename plugin and script to use the new getSelectedBuilding API.Alexander Gavrilov2012-09-201-2/+3
|
* Support renaming some buildings, and arbitrary units, via gui script.Alexander Gavrilov2012-09-051-1/+200
|
* minor stuff, use building->is_room instead of building->isRoom() which ↵Robert Heinrich2012-04-171-2/+2
| | | | returns unexpected values
* Pull a few utility functions into the core and publish to lua.Alexander Gavrilov2012-04-071-55/+5
|
* Encode & decode names in utf-8 for transfer in remote messages.Alexander Gavrilov2012-04-051-4/+6
| | | | That's the encoding required by the protobuf spec.
* Tweaks!Petr Mrázek2012-03-291-1/+0
| | | | | Strip commands.clear() from all plugins Fix changeitem - a variable name has changed in item flags
* Make the server suspend the core around calls unless disabled.Alexander Gavrilov2012-03-181-4/+0
| | | | | | | I expect the majority of methods will have to suspend the core first thing anyway, so this will reduce typing and bugs. Also get rid of the "me->" ugliness by splitting threadFn.
* Add a ListSquads request.Alexander Gavrilov2012-03-171-2/+2
|
* Add support for exporting functions from plugins, with example in rename.Alexander Gavrilov2012-03-151-23/+84
| | | | TODO: test by actually calling them remotely.
* Make plugins accept explicit output stream references.Alexander Gavrilov2012-03-101-10/+10
| | | | | | | | This is an incompatible change to the plugin ABI. The Console is not thread-safe unless used indirectly via color_ostream_proxy, so everything should use their per-thread stream.
* Get rid of Simple namespace, Gui module is now a namespace.Petr Mrázek2012-03-031-2/+2
|
* Fix rename squad: use entity data to skip squads from abandoned forts.Alexander Gavrilov2012-02-221-5/+18
|
* New plugin interfacePetr Mrázek2012-02-211-4/+1
|
* Update the assumed identity in rename unit.Alexander Gavrilov2012-02-201-0/+13
|
* Only use #include <> for system libraries - for everything else, use ""Quietust2012-01-151-14/+14
|
* Support changing the custom profession via rename.Alexander Gavrilov2012-01-151-0/+13
| | | | Likewise, it works for any unit, including animals and enemies.
* Add utility functions to retrieve the selected job/unit/item.Alexander Gavrilov2012-01-141-15/+59
| | | | | | | | | | | | | Units can be selected via 'u', 'j', 'v' and 'k'; full-screen unit details view not supported. Items can be selected via 't', 'k', 'v'->inventory. Also, when viewing a container item full-screen, the selected contained item or unit is returned; never the container itself. The api is used in rename to allow setting nicknames for arbitrary units, including animals and enemies.
* Header changes/cleanup.Petr Mrázek2011-12-311-9/+9
|
* Add a plugin to rename squads and hotkeys (without the 9 char limit).Alexander Gavrilov2011-12-291-0/+90