z_mirror/Tapeline
git clone https://git.raiguard.me/z_mirror/Tapeline
1cce8a9
trunk
1--------------------------------------------------------------------------------------------------- 2Version: 3.1.2 3Date: ???? 4 Changes: 5--------------------------------------------------------------------------------------------------- 6Version: 3.1.1 7Date: 2026-10-15 8 Changes: 9 - Updated minimum Factorio version to 2.1.22. 10 Bugfixes: 11 - Updated to new selection tool live-dragging API to fix the tool not working on Factorio 2.1.19 and above (#52). 12 - Fixed loud ghost placement noise when shift+dragging. (#20) 13--------------------------------------------------------------------------------------------------- 14Version: 3.1.0 15Date: 2026-07-02 16 Changes: 17 - Updated to Factorio 2.1. 18--------------------------------------------------------------------------------------------------- 19Version: 3.0.4 20Date: 2025-01-24 21 Changes: 22 - It is now impossible to set subgrid size to zero. (#47) 23 - Subgrid lines will not be drawn when subgrid size is set to one. (#47) 24 Bugfixes: 25 - Fixed a freeze when subgrid size was set to zero. (#45, #47) 26 - Fixed that edit, delete, and settings hotkeys did not check for the Tapeline tool. (#46) 27--------------------------------------------------------------------------------------------------- 28Version: 3.0.3 29Date: 2025-01-23 30 Bugfixes: 31 - Fixed that you can delete a tape while drawing, causing various corrupted states. (#44) 32 - Fixed a crash when attempting to remove a tape drawn by a player who no longer exists. (#43) 33 - Fixed that it was possible to edit a temporary tape. 34 - Fixed that tape labels were visible to all players. 35 - Fixed that data would not be cleaned up when a player was removed. 36--------------------------------------------------------------------------------------------------- 37Version: 3.0.2 38Date: 2025-01-07 39 Bugfixes: 40 - Fixed a crash when drawing a tape after the previous tape was deleted during drawing. (#38) 41--------------------------------------------------------------------------------------------------- 42Version: 3.0.1 43Date: 2024-12-18 44 Bugfixes: 45 - Fixed that the initial square of a tape would not respect the "draw on ground" setting. (#37) 46 - Fixed that the tapeline tool would be put into your cursor whenever you used ANY selection tool. (#40) 47 - Fixed that the tapeline tool would be put into your cursor whenever a tape was destroyed. (#39) 48--------------------------------------------------------------------------------------------------- 49Version: 3.0.0 50Date: 2024-12-16 51 Changes: 52 - Updated to Factorio 2.0. 53 - Rewrote the mod from scratch. 54 - Changed the "change divisor" hotkeys from shift + mousewheel to alt + mousewheel. 55--------------------------------------------------------------------------------------------------- 56Version: 2.0.10 57Date: 2023-10-14 58 Changes: 59 - Tape color settings use color picker widgets (#32). 60--------------------------------------------------------------------------------------------------- 61Version: 2.0.9 62Date: 2022-11-14 63 Bugfixes: 64 - Fixed a rare crash when changing controllers and changing the cursor stack on the same tick 65--------------------------------------------------------------------------------------------------- 66Version: 2.0.8 67Date: 2022-06-22 68 Bugfixes: 69 - Fixed that the 'not-selectable-in-game' flag was not set on the dummy entity 70 - Fixed unknown key when dragging tapes 71--------------------------------------------------------------------------------------------------- 72Version: 2.0.7 73Date: 2022-02-19 74 Bugfixes: 75 - Fixed a crash when another mod toggles the map editor before this mod can fully initialize (#28) 76--------------------------------------------------------------------------------------------------- 77Version: 2.0.6 78Date: 2021-03-11 79 Bugfixes: 80 - Fixed that biters still loved to chew on tapelines when shift+drawing 81--------------------------------------------------------------------------------------------------- 82Version: 2.0.5 83Date: 2021-03-11 84 Bugfixes: 85 - Fixed that tapelines were a bit too tasty and biters loved to chew on them 86--------------------------------------------------------------------------------------------------- 87Version: 2.0.4 88Date: 2021-02-03 89 Bugfixes: 90 - Fixed a crash when upgrading to 2.0.3 when in a non-character controller 91--------------------------------------------------------------------------------------------------- 92Version: 2.0.3 93Date: 2021-02-02 94 Bugfixes: 95 - Fixed character build distance bonus being increased when exiting edit mode 96--------------------------------------------------------------------------------------------------- 97Version: 2.0.2 98Date: 2020-12-24 99 Changes: 100 - Decreased minimum subgrid size to 2 101 Bugfixes: 102 - Fixed a crash when another mod removes the vanilla "introduction" tip 103--------------------------------------------------------------------------------------------------- 104Version: 2.0.1 105Date: 2020-11-29 106 Bugfixes: 107 - Fixed a crash when other mods or scenarios override the increased build distance required to make drawing tapes work 108--------------------------------------------------------------------------------------------------- 109Version: 2.0.0 110Date: 2020-11-26 111 Features: 112 - Added tips and tricks for the mod 113 - Tapes may now be drawn, edited, and deleted from the map view 114 Changes: 115 - Completely rewrote the mod from scratch 116 - Consolidated draw, edit, and delete functionality into one item 117 - Changed how tape settings are edited: 118 - Drawing normally will always auto-clear and be restricted to cardinal directions 119 - Holding shift while drawing will enable freeform drawing and disable auto-clear 120 - Shift + scrolling will change the subgrid size or number of splits 121 - Ctrl + scrolling will cycle between subgrid and split modes 122 - Right-clicking a tape will enter edit mode, where dragging will move the tape and scrolling works as above 123 - Shift + right-clicking a tape will delete it 124 - Changed color setting format to Hex 125 - Removed all GUIs 126--------------------------------------------------------------------------------------------------- 127Version: 1.1.7 128Date: 2020-11-23 129 Changes: 130 - Updated to Factorio 1.1 131--------------------------------------------------------------------------------------------------- 132Version: 1.1.6 133Date: 2020-11-05 134 Bugfixes: 135 - Fixed a crash when migrating from a version prior to 1.0.0 136--------------------------------------------------------------------------------------------------- 137Version: 1.1.5 138Date: 2020-08-10 139 Bugfixes: 140 - Fixed shortcut not giving the item (temporary workaround until a bug in the base game gets fixed) 141 - Fixed a bunch of accidental global variables 142--------------------------------------------------------------------------------------------------- 143Version: 1.1.4 144Date: 2020-07-26 145 Features: 146 - Added French translation by Dae 147 Changes: 148 - Slightly changed GUI layout to better accommodate different locales 149 Bugfixes: 150 - Fixed a potential crash if a GUI handler was removed between versions 151 - Fixed that the window frames would not stretch if the content was wider than default 152--------------------------------------------------------------------------------------------------- 153Version: 1.1.3 154Date: 2020-07-09 155 Changes: 156 - on_tick event is conditionally registered again - the mod no longer uses performance when not in use 157 Bugfixes: 158 - Fixed that it was possible to hold the edit capsule while editing by using the hotkey, causing a crash when trying to use it 159--------------------------------------------------------------------------------------------------- 160Version: 1.1.2 161Date: 2020-06-24 162 Bugfixes: 163 - Fixed a crash related to GUI style changes in Factorio 0.18.33 164--------------------------------------------------------------------------------------------------- 165Version: 1.1.1 166Date: 2020-06-22 167 Bugfixes: 168 - Fixed inconsistent tick comparison after the simulation has been paused at least once 169--------------------------------------------------------------------------------------------------- 170Version: 1.1.0 171Date: 2020-05-26 172 Features: 173 - Added keyboard shortcut to get the edit tool directly (disabled by default) 174 Changes: 175 - Refactored the mod structure to improve performace and simplicity 176 - Switched from RaiLuaLib to FLib 177 - Switched to double quotes everywhere 178 - Minor GUI style cleanup for 0.18.27 179 Bugfixes: 180 - Fixed that a player's tilegrids and data would remain behind if they were removed 181--------------------------------------------------------------------------------------------------- 182Version: 1.0.4 183Date: 2020-04-07 184 Changes: 185 - Removed lualib and made it a separate mod, RaiLuaLib 186 - Updated changelog formatting 187 Bugfixes: 188 - Fixed a crash when setting the textfield on the draw GUI to an invalid value right after opening the GUI 189 - Fixed that if the mod was removed, any existing highlight boxes or tutorial bubbles would remain behind, staying forever 190--------------------------------------------------------------------------------------------------- 191Version: 1.0.3 192Date: 2020-01-29 193 Changes: 194 - Unlocked the adjust button in multiplayer, as the base game bug caused by using it has been fixed 195--------------------------------------------------------------------------------------------------- 196Version: 1.0.2 197Date: 2020-01-29 198 Changes: 199 - Moved most of the migrations to on_configuration_changed 200 - Moved util file out of the lualib folder 201 - Updated thumbnail 202--------------------------------------------------------------------------------------------------- 203Version: 1.0.1 204Date: 2020-01-24 205 Changes: 206 - Added a prefix to all of the settings prototypes to avoid conflicts with other mods 207 Bugfixes: 208 - Fixed a crash when literally any other mod was loaded 209 - Fixed a crash when perishing multiple tapelines at once 210--------------------------------------------------------------------------------------------------- 211Version: 1.0.0 212Date: 2020-01-23 213 Features: 214 - Updated to Factorio 0.18 215 - Added tilegrid editor setting to change the grid anchor corner 216 - Added the ability to relocate existing tilegrids 217 Changes: 218 - The capsule range overlay that appeared when holding the tapeline is now hidden 219 - Render objects are now created/destroyed dynamically and others updated, instead of completely redrawing the tilegrid every time it moves 220 - Tilegrids are only visible to the player who drew them 221 - Visual settings are per-player again 222 - Color settings are no longer pre-determined and can be fully customized 223 - Removed depency on the STDLIB mod 224 - Removed tilegrid settings buttons. Tilegrids are now edited by clicking on them with the edit capsule 225--------------------------------------------------------------------------------------------------- 226Version: 0.6.1 227Date: 2019-11-17 228 Optimisations: 229 - Significantly reduced the amount of tilegrid updates when using restrict to cardinals mode 230 Bugfixes: 231 - Fixed crash when entering a mini-tutorial 232--------------------------------------------------------------------------------------------------- 233Version: 0.6.0 234Date: 2019-08-23 235 Optimisations: 236 - Required everything locally 237 - Basic optimizations to on_tick and tilegrid rendering logic 238 - Restructured the mod to be slimmer and removed a bunch of unnecessary code 239 - The mod no longer uses update time when no tilegrids are being actively drawn or perished 240 Changes: 241 - New Tapeline icon (again!) 242 - Shortcut tooltip now shows the keybinding again 243 - Removed delete confirmation window in favor of simply clicking the delete button again to confirm 244 - Changed grid type dropdown to a switch 245 - The tilegrid you are currently editing now blinks 246 - Switched to new built-in slider snapping functionality 247 - Divisor textfield now behaves better, and supports enter-to-confirm 248--------------------------------------------------------------------------------------------------- 249Version: 0.5.0 250Date: 2019-06-27 251 Features: 252 - Added tilegrid settings GUI 253 - Added the ability to restrict a tilegrid to cardinal directions when drawing 254 - Added semi-permanent tilegrids that can be edited or dismissed 255 Changes: 256 - Completely rewrote the mod to draw the tilegrid as you drag, instead of using a selection tool 257 - Refined tapeline icon 258 - Converted visual tilegrid settings to map settings to keep consistency in multiplayer 259--------------------------------------------------------------------------------------------------- 260Version: 0.4.0 261Date: 2019-06-14 262 Changes: 263 - Organized mod settings 264 - Removed limitations on line width setting 265 - Removed "tapeline tool" item from item filters list 266 - Removed hotkey definition from shortcut button label 267 - Various small optimizations 268--------------------------------------------------------------------------------------------------- 269Version: 0.3.1 270Date: 2019-03-12 271 Changes: 272 - Minor optimizations to tilegrid area logic (thanks Nexela!) 273 Bugfixes: 274 - Fixed that using the keyboard shortcut with a full inventory would delete whatever was in your hand 275 - Fixed default hotkey not actually being Alt+M 276--------------------------------------------------------------------------------------------------- 277Version: 0.3.0 278Date: 2019-03-11 279 Features: 280 - Added color customization settings 281 Changes: 282 - Optimized tilegrid drawing logic (it is now 40x faster!) 283 - Shift+selection color is now blue instead of green 284 - Updated locale 285 - Changed default color pallete 286 - Changed default hotkey to Alt+M (from Ctrl+M) 287--------------------------------------------------------------------------------------------------- 288Version: 0.2.0 289Date: 2019-03-10 290 Features: 291 - Added alternate selection mode (shift+select) that splits the tapeline into a configurable amount of groups, and displays the midpoint of both axes 292 - Added option to change the number of sections an alternate selection is split into 293 Changes: 294 - A tapeline is now only visible to the player placing it 295 - Made tapeline grid lines opaque to increase visibility 296 - Moved distance texts slightly closer to the tapeline itself 297 - Updated thumbnail 298 Bugfixes: 299 - Corrected minor typo in mod description 300--------------------------------------------------------------------------------------------------- 301Version: 0.1.0 302Date: 2019-03-08 303 Features: 304 - Added tapeline tool 305 - Added tapeline tool shortcut to toolbar