Commit Graph

5296 Commits

Author SHA1 Message Date
Tamás Bálint Misius
091764533d
Reset molten SLCN tmp in reactions to prevent interference with products 2020-11-26 09:19:56 +01:00
xcodz-dot
2f85557505
Fixed Typo in newelement.py (#747) 2020-11-17 20:08:01 +01:00
Tamás Bálint Misius
86a621741d
Preserve stacked particles in saves being placed (fixes #743) 2020-11-16 12:54:15 +01:00
Tamás Bálint Misius
2273233b71
Display 'invalid' ctypes as numbers in HUD 2020-11-10 17:54:39 +01:00
Tamás Bálint Misius
88f97ff2ec
Another GOL rendering fix 2020-10-29 17:17:09 +01:00
Tamás Bálint Misius
1369dbc489
Fix rendering of built-in GOL in thumbnails 2020-10-26 12:33:20 +01:00
Tamás Bálint Misius
d4814221c4
Add Latin Extended-A 2020-10-24 18:48:58 +02:00
Tamás Bálint Misius
2d84a9cf65
fonttool.py: add copy 2020-10-24 17:06:16 +02:00
xcodz-dot
0df9743c9a
Code cleanup for fonttool.py (#739, fixes #738) 2020-10-24 09:09:55 +02:00
Tamás Bálint Misius
02a3dcbaa2
Fix replace mode to allow replacing with GOL types 2020-10-12 18:48:20 +02:00
Tamás Bálint Misius
a73d9b09b6
Allow saves with custom GOL to be loaded in snapshots 2020-10-12 18:17:24 +02:00
Tamás Bálint Misius
5a5eace691
Fix built-in GOL types 2020-10-12 17:36:24 +02:00
Tamás Bálint Misius
f57d503b41
Don't close PROP and CUST dialogs when trying to validate empty strings 2020-10-12 17:24:10 +02:00
Tamás Bálint Misius
18dfd6de86
Copy all text in Label, Textbox, etc. if none is selected (fixes #720)
This is more in line with what Cut does in Textboxes when nothing is selected.
2020-10-11 21:13:29 +02:00
Tamás Bálint Misius
a0a0e6c498
Correctly handle SDL_GetCurrentDisplayMode return value 2020-10-11 12:31:52 +02:00
Vladimir
f137bad7f8
Limit redrawing frequency (#693)
Co-authored-by: Tamás Bálint Misius <lbphacker@gmail.com>
2020-10-11 11:58:52 +02:00
Tamás Bálint Misius
bdcf486a8d
Refactor MomentumScroll to be more in line with other interface prefs 2020-10-10 21:57:29 +02:00
Tamás Bálint Misius
ba72dc7a22
Custom GOL (#731)
Co-authored-by: jacob1 <jfu614@gmail.com>
2020-10-08 20:23:59 +02:00
grufkork
02b26a9da3
Change ScrollPanel scroll behaviour
Small change to replace the momentum-based scrolling with the more common method of scrolling with each scroll wheel step.
2020-10-08 14:36:11 +02:00
RCAProduction
1f7e9095da
Add element ROCK (#724) 2020-10-08 01:27:25 +02:00
Tamás Bálint Misius
99c99132bd
Make energy particles visible to LSNS ant HSWC for reals (see 6052ef6) 2020-10-07 11:16:47 +02:00
Tamás Bálint Misius
02468d0786
Let ARAY control the life of all normal BRAY it spawns 2020-10-07 10:56:58 +02:00
Tamás Bálint Misius
6052ef6179
Make energy particles visible to LSNS ant HSWC for deserialization 2020-10-07 10:53:10 +02:00
Cracker1000
00ddc1f8be
Add VSNS (#707)
Co-authored-by: Tamás Bálint Misius <lbphacker@gmail.com>
2020-10-07 10:49:31 +02:00
nixls
d6de7e2ba8
Make Copy and Cut buttons disappear when no text is selected (#730) 2020-10-04 23:13:58 +02:00
Tamás Bálint Misius
c73dfe8ca0
Prioritise favourited elements in element search
Also prevent favourited tools from showing up twice there.
2020-09-25 20:47:39 +02:00
Tamás Bálint Misius
88fd676cd2
Fix stasis walls not keeping dying GOL cells in stasis 2020-09-22 19:43:01 +02:00
jacob1
efd2b41980 Fix default render modes not being the same as Fire display mode
Special effects like EMBR sparks weren't included, this only affected the renderer, causing those special effects to not render.
2020-09-15 15:23:05 -04:00
Tamás Bálint Misius
efc693bf43
Fix initial mouse position and unsafe SDL_Event union access 2020-08-23 00:25:43 +02:00
Tamás Bálint Misius
fd032eff36
Fix LuaSmartRefs acting on dead Lua states
This fixes problems with degenerate cases such as:

	local button
	assert(coroutine.resume(coroutine.create(function()
		button = Button(10, 10, 20, 20)
	end)))
	button:action(function()
		print("hi")
	end)
2020-08-21 11:16:11 +02:00
Tamás Bálint Misius
f9c6633c62
Make certificate revocation checks non-mission-critical
This will hopefully solve 612 errors on Windows.
2020-08-15 19:07:02 +02:00
Tamás Bálint Misius
126b7adfaa
Open URIs without popping up console windows 2020-08-09 14:26:19 +02:00
Tamás Bálint Misius
6490654733
Fix a few unused result warnings 2020-08-07 01:33:18 +02:00
Tamás Bálint Misius
9024b549a0
Update fonttool.py in accordance with a30a1881ec 2020-08-07 00:03:43 +02:00
Tamás Bálint Misius
6ec87ed1ed
Improve select all saves feature (fixes #725)
Ctrl+A no longer selects all saves if any of the textboxes in
the view are in focus, as a ctrl+A in that case is expected to
select everything in the textbox, not in the save browser.

This change also makes the shortcut deselect all saves if all
saves are selected.

And no, I'm not making events cancellable just for this.
2020-08-07 00:01:56 +02:00
mniip
dd46bf7d42 Fix cyrillic lowercase D and T in the font 2020-08-06 17:33:19 +03:00
mniip
a30a1881ec Update the font file in accordance with 6d95ad898e 2020-08-06 13:55:27 +03:00
Tamás Bálint Misius
a2f97ff494
Add fonttool.py 2020-07-27 12:19:38 +02:00
ConnorCreate
5ab939720a
Add ctrl+a to select all saves in save browser (#698) 2020-07-26 19:29:55 +02:00
Bowserinator
0959354178
Customize BRAY collision life (#712) 2020-07-26 19:17:43 +02:00
Tamás Bálint Misius
94353a9a3b
Remove leftover cooldown-related code from ARAY and DRAY 2020-07-26 19:05:05 +02:00
Bowserinator
41254a2f95
Add PTNM (Platinum) (#711) 2020-07-26 18:48:15 +02:00
moonheart08
85ab70adb3 Add a reaction to produce BCOL 2020-07-26 11:53:37 +02:00
moonheart08
9413a1f0b6
Introduce element 187, SLCN. (#704)
Add SLCN

Co-authored-by: moonheart08 <moonheart08@noreply.github.com>
Co-authored-by: Tamás Bálint Misius <lbphacker@gmail.com>
2020-07-26 11:45:50 +02:00
Tamás Bálint Misius
6d95ad898e
Widen font ptrs to ints
Hopefully we'd be overflowing shorts otherwise.
2020-07-24 20:46:09 +02:00
Tamás Bálint Misius
5c190c1a7a
Remove gaps between lines of selected text 2020-07-01 16:18:35 +02:00
avevad
1635c93822 Fixed The-Powder-Toy/The-Powder-Toy#721 2020-06-22 17:14:57 +02:00
jacob1
688b4bec30 Fix bug with line tool while WIND is selected (id:2554353) 2020-06-14 15:23:27 -04:00
laurencedeclan
a9f07dc5b0 Data in user data directory (backwards-compatible) 2020-06-10 21:04:08 +02:00
Tamás Bálint Misius
9fcf780c78
Necromancy is bad
This is very similar to the SPRK-PROT bug (fixed by 4aa58d6c)
in that the cause for a later crash is the free list of particles
being corrupted by messing with the .life property of a dead
particle.

The code in the loop body following this kill_part call has no
effect on other particles if the call were to happen. The only
thing this continue skips is increasing pressure under the now
dead particle.

Credit goes to @QuanTech for finding the problem, see id:2547788
(originally his save, I just saved to my alt account for future
reference).
2020-05-27 08:42:49 +02:00