Commit Graph

5282 Commits

Author SHA1 Message Date
jacob1
076be894d1
Take snapshot when using ctrl+x 2021-05-30 19:45:31 -04:00
Tamás Bálint Misius
48d1226f59
Rewrite tpt.set_wallmap, it can now set WL_FAN velocity 2021-05-28 11:58:25 +02:00
Tamás Bálint Misius
ed29794fb8
Remove LuaSocket, add new socket API backed by libcurl 2021-05-27 15:13:43 +02:00
Tamás Bálint Misius
d8e641b977
Fix dangling pointer smuggling in PreviewModelException 2021-05-22 14:53:45 +02:00
Sam Robertson
2c207a934e
Makes GLOW element glow under pressure. Fixes #774
Co-authored-by: Tamás Bálint Misius <lbphacker@gmail.com>
2021-05-22 11:18:31 +02:00
Tamás Bálint Misius
6a07a89480
Moving to Libera
Also add a space to REALISTIC so it's in line with the other indicators, and move spaces to the front so there's no trailing space. Not that anyone would ever see a trailing space.
2021-05-20 09:34:32 +02:00
jacob1
14be92c013
Prop tool - only check GoL rulestings / names for ctype
They are meaningless when applied to any other property, even .type
2021-05-19 00:04:23 -04:00
Maddy Miller
e26ec36fe9
Update name in readme & intro text (#775) 2021-05-18 11:56:26 +02:00
jacob1
a25fa700e2
Don't show GoL .tmp in HUD, check if create_part was successful while simulating GoL 2021-05-11 23:40:31 -04:00
jacob1
829c0bced5
Fix issue allowing drawing unlimited LIGH with 1x1 cursor
Also fix warnings from a previous commit
2021-05-10 21:04:08 -04:00
jacob1
fca0c62cd7
Remove "Auto Draw Rate" option, there is no reason to turn this off
It can still be turned off or adjusted via Lua, though
2021-05-10 00:07:52 -04:00
jacob1
aac6b7258c
Improve stack pasting behavior
It will now clear all particles in positions being pasted over
2021-05-10 00:02:27 -04:00
jacob1
0e530dc0ca
Fix "NONE" showing in HUD in many cases 2021-05-02 23:58:19 -04:00
jacob1
4e2e054c50 Make username case-insensitive when logging in
Username will be fixed automatically if not in the right casing
Logins are always sent over https
Logins are stored and salted using bcrypt on the server-side (wraps around original md5), fixes #294
2021-04-24 22:39:56 -04:00
Tamás Bálint Misius
2e16eecae0
Fix a bunch of LDTC and DTEC issues
Namely: LDTC GoL detection, ctype-drawing and HUD rendering, alongside DTEC HUD rendering.
2021-04-18 20:32:32 +02:00
jacob1
f441626de4 Fix some issues in elementCount
Count goes negative if an element is killed due to .life=0 on the same frame an elementRecount is scheduled
element count skyrockets when recount is scheduled during game pause
Element count increases by a static amount when undoing, because it schedules a recount without clearing the old counts
2021-04-18 14:01:51 -04:00
Tamás Bálint Misius
11f6abdfca
Update elementCount when restoring a snapshot (fixes #592) 2021-04-18 15:48:10 +02:00
Tamás Bálint Misius
8590a74785
Also flush prefs on user change, see previous commit
Flushing user changes to powder.pref was in fact the reason why I began this pref flushing thing at all, but of course Client handles user changes by modifying preferences directly, not through SetPref, so it skipped WritePrefs.
2021-04-18 15:28:11 +02:00
Tamás Bálint Misius
dfc8dc80bd
Write prefs every time they change (fixes #770) 2021-04-18 12:23:31 +02:00
Tamás Bálint Misius
2a23a38120
Normalise GetPrefs 2021-04-18 12:23:31 +02:00
jacob1
60395f50f6 Make changelog.txt only necessary for mods, not vanilla snapshots 2021-04-17 22:05:08 -04:00
Tamás Bálint Misius
bcbcdbe06b
Make custom can_move settings persistent (fixes #764) 2021-04-17 21:23:39 +02:00
Tamás Bálint Misius
6a6b14f871
Redo and add type parameter to sim.neighbours 2021-04-17 10:40:10 +02:00
jacob1
7409b08a2f Update changelog for snapshot 2021-04-16 21:05:49 -04:00
moonheart08
a3f5731a43
Add element LITH (#726)
Co-authored-by: Tamás Bálint Misius <lbphacker@gmail.com>
2021-04-17 00:01:26 +02:00
Tamás Bálint Misius
62af7504b2
Correctly set snapshot_id (acting as build number) for mods
Also refactor a bunch of variables and their handling in the workflow.
2021-04-16 23:31:14 +02:00
Tamás Bálint Misius
706be01044
Pass github secrets the correct way 2021-04-16 21:02:00 +02:00
Tamás Bálint Misius
b94e26d6f0
Disconnect version numbers from the content of v* tags 2021-04-16 17:54:25 +02:00
Tamás Bálint Misius
824372102f
Use more recent python and homebrew on ghactions 2021-04-12 21:23:39 +02:00
jacob1
ffb88259d6 Split Simulation::IsValidElement into IsElement and IsElementOrNone
Allows finer control over whether you want none included or not.
Fixes some invalid things being allowed for element 0 in legacy lua api
Fixes {ctype} signs showing 0 instead of NONE
2021-04-11 23:20:33 -04:00
Tamás Bálint Misius
1859125218
Fix undo not updating air block map 2021-04-11 21:44:33 +02:00
jacob1
1e933287ba Add changelog for starcatcher snapshot server 2021-04-10 16:52:42 -04:00
Tamás Bálint Misius
844c5c5186
Add workaround_gcc_no_pie option to force non-PIE output
Certain file managers need this figure out that the executable is actually executable. The problem is further complicated by meson being uncooperative and not implementing its own -Db_pie=false correctly.
2021-04-10 18:44:02 +02:00
Tamás Bálint Misius
e1ca5f2177
Add list of libraries and other assets used to readme 2021-04-09 18:27:21 +02:00
Tamás Bálint Misius
7f83e21de1
Add commit parameter to perform-release request 2021-04-09 16:22:49 +02:00
Tamás Bálint Misius
47d43f0a5b
-mmacosx-version-min=10.9 2021-04-09 11:00:51 +02:00
Tamás Bálint Misius
b98c9c8a2e
Fix crash on exit when using nvidia-460 + SDL with EGL support 2021-04-06 20:03:48 +02:00
Tamás Bálint Misius
4e5527ce97
Wire up the starcatcher.us snapshot service 2021-04-05 00:09:52 +02:00
Tamás Bálint Misius
1681ca77d8
Add Lua support for composition 2021-04-02 10:21:54 +02:00
Tamás Bálint Misius
3dbf6d7810
Use SDL text input correctly, add basic composition support 2021-04-02 10:21:52 +02:00
jacob1
da2ccc70fe Some ROCK fixes
Improve efficiency in FIRE logic, it no longer runs the check multiple times for each surrounding particle. RNG chances reduced accordingly.
Remove unnecessary code in init_can_move
Set Weight to 100, which is the proper max for weight
2021-03-30 23:14:53 -04:00
jacob1
7614042e19 Update MotD when MotD fails to download 2021-03-30 23:01:13 -04:00
jacob1
4f6e565905 Update / rearrange .gitignore
Tried to categories everything but some stuff I'm not sure where it came from.
Added .kdev4 (kdevelop) files to .gitignore
2021-03-30 23:01:13 -04:00
Tamás Bálint Misius
ee22c3e631
Fix Windows registry values broken by d155b0f
Also remove unused resource IDs from the resource script.
2021-03-24 22:42:56 +01:00
Tamás Bálint Misius
36e9fdc39d
Add support for i686-win 2021-03-20 23:02:03 +01:00
Doxin
cc2022504a Add ren.showBrush to the LUA api to allow hiding the brush 2021-03-18 16:13:15 -04:00
Doxin
b1506e15d4 Don't draw intro text when hud is disabled 2021-03-18 16:13:15 -04:00
Tamás Bálint Misius
f86ffb48c6
Fix colour picker colour square broken by 4b7e85c 2021-03-14 21:12:12 +01:00
Tamás Bálint Misius
93b920a57f
Ignore key events with KMOD_GUI set #2, see previous commit 2021-03-08 21:09:35 +01:00
Tamás Bálint Misius
dbe4e78257
Ignore key events with KMOD_GUI set
As those are probably not meant for us.
2021-03-08 20:42:44 +01:00