z_mirror/Tapeline

git clone https://git.raiguard.me/z_mirror/Tapeline

compilatronMove to version 3.0.4829c968

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