This website requires JavaScript.
Explore
Help
Sign In
MetzNet
/
dfhack
Watch
3
Star
0
Fork
You've already forked dfhack
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c4c52a4af5
dfhack
/
plugins
/
spectate
/
CMakeLists.txt
9 lines
115 B
CMake
Raw
Normal View
History
Unescape
Escape
Moves specate and pause-api to plugins/spectate/
2022-10-12 15:13:09 -06:00
project
(
spectate
)
SET
(
SOURCES
s
p
e
c
t
a
t
e
.
c
p
p
p
a
u
s
e
.
c
p
p
)
Implements change requests - removes redundant `if (df::global::ui)` checks; and tested to ensure no segfaults cropped up like in the past times I've removed these - removes useless `if (pause_lock)` pause lock is set when plugin initializes, even if pause lock was left null (since we technically don't need it, and that was the point of the null check) it still would be a useless check (actually an impediment preventing functionality) - removes disabled interpose code - removes lua linkage - updates doc extra: - surrounds user input for tick frequency with `std::abs()` not that we would have ended up with a negative value, but it was probably a typo and this is easier than printing an error or letting it underflow past max int (on most systems)
2022-10-21 00:52:30 -06:00
dfhack_plugin
(
${
PROJECT_NAME
}
${
SOURCES
}
)