Commit Graph

5309 Commits

Author SHA1 Message Date
jacob1
240bb3bd92 restrict saves to version 94.0 when they use newer elements / features 2019-02-10 22:02:17 -05:00
jacob1
edba703aab don't allow right click -> select a save when you aren't logged in 2019-02-07 23:30:09 -05:00
jacob1
6869612561 Update README date 2019-02-03 12:49:16 -05:00
wolfy1339
a2bb531c46 Remove inclusion of deprecated C++ headers 2019-01-31 20:09:15 -05:00
jacob1
abce030d5d ignore mouse button 4/5 when drawing, fixes #626
perhaps in the future we'll add a use to these
2019-01-31 20:06:09 -05:00
jacob1
4593a95405 going back to old icon for now. Also Windows icon is now centered, and linux icon has higher 128x128 resolution. 2019-01-26 00:46:43 -05:00
jacob1
28d7b56bda Change MotD links to https 2019-01-24 00:03:14 -05:00
jacob1
dcd08a343e newer icon, @Mrprocom added a gradient and I removed the shadow
.svg files were used to generate the .png files but are both out of date
android icon will likely be a brown circle with a SAND colored pile
2019-01-23 22:56:15 -05:00
jacob1
82bdf4a777 Fix macOS data directory (for real this time, I think) 2019-01-22 00:26:29 -05:00
jacob1
af20029e08 Files for new icon
Still not entirely final, may change android (circle) icon a bit, and not sure if the mac icon works
2019-01-20 12:53:39 -05:00
jacob1
87f17fd7c3 in mac version, download the update file using a browser
not possible to update executable inside app packages anymore
TODO: update website to serve .dmg link instead
2019-01-19 11:54:43 -05:00
jacob1
e8b4256503 Fix gravity sometimes persisting a frame after ctrl+z / clearing sim, fixes #571 2019-01-14 21:11:06 -05:00
jacob1
50a88c9c26 Fix whitespace 2019-01-12 12:50:28 -05:00
jacob1
655f4bb6d0 chdir to data directory on mac
May change this later if I decide to go back to using objective-c (or swift?) later to reimplement the rest of the mac features
2019-01-12 12:08:18 -05:00
jacob1
cc93479c4b Fix incorrect time format being used sometimes when not in UTC timezone, add day of month to "previous year" time format 2018-12-31 21:49:44 -05:00
jacob1
2d838087b5 minor fix 2018-12-30 13:49:00 -05:00
jacob1
08c22031e2 Add tpt.unregister_keypress to eventcompat.lua 2018-12-30 13:47:57 -05:00
jacob1
f3f1fbf77f switch back to normal dns (was only intended as a quick fix in a snapshot) 2018-12-29 14:00:04 -05:00
jacob1
10bee577a2 eventcompat.lua: Add shift mapping for us keyboard layout 2018-12-28 19:16:22 -05:00
jacob1
3b3775addf Add blur lua event, called when opening another interface window 2018-12-27 21:17:24 -05:00
Caeleron
9e94abb150 Transfer properties of COAL breaking into BCOL (Fixes #602)
Fixing a problem where decoration is not transferred from COAL to BCOL when broken. All properties of COAL should now be copied to the new BCOL particle, including if it is burning, decoration and discoloration caused from heating.
2018-12-25 17:12:56 -05:00
jacob1
87fb94ce94 Delete unused Thumbnail handling code 2018-11-27 22:13:29 -05:00
jacob1
d0dd9ec22f fix sim.brush being double size, fix compile warning 2018-11-21 12:38:26 -05:00
Tamás Bálint Misius
5a57c37ae9 Make close event trigger consistently 2018-11-20 21:06:59 -05:00
jacob1
b41f228c10 fix a few cases where the rng calls were converted improperly 2018-11-20 21:02:20 -05:00
jacob1
a3eae58120 fix (msvc) compile error 2018-11-17 19:33:16 -05:00
jacob1
2929264885 embed event api compatibility lua script
probably temporary, can't deprecate and remove an extremely common api in the same version.
lua script embed code mostly copied from my mod
2018-11-17 00:09:48 -05:00
Tamás Bálint Misius
e48bd482f6 Add close event 2018-11-16 23:02:05 -05:00
Tamás Bálint Misius
3de68c4346 Fix event objects not being freed 2018-11-16 23:02:05 -05:00
Tamás Bálint Misius
531229daa9 Move EventTypes inside LuaEvents to prevent global scope pollution 2018-11-16 23:02:05 -05:00
jacob1
a8489ba6f5 add new events api, replaces legacy event functions
event.register(event.mousedown, function(...) print(...) end)
event.unregister(event.mousedown, somefunc)

mouseclick event split into mousedown, mouseup, mousemove, mousewheel
keypress event split into keypress, keyrelease, textinput. key* events only contain keycode and scancode, don't attempt to represent a letter (was very broken at this before). Also have helpful shift/ctrl/alt flags passed in. textinput just represents inserted text, can probably even handle foreign characters.
register_step replaced with event.tick event

All legacy register_* and unregister_ functions are removed. There is a compatibility lua script, might embed it later. tpt.set_shortcuts / tpt.test also removed. event.getmodifiers added, just a misc function to get the currently held modifiers

Lots of code duplication to handle each event is removed, it's not handled in a more generic way. Although the Event class / child classes could use some work.
2018-11-16 00:07:26 -05:00
Nikolas Ostrowski
fa0809d146 Fix missing library in build instructions (#610)
Added missing libsdl2-dev package for building on Linux.
2018-11-03 21:36:58 -04:00
jacob1
48bc6e02ba Fix gcc 8 warnings 2018-11-03 19:36:07 -04:00
LBPHacker
5733073c33 Fix dray with tmp=0 acting weirdly 2018-10-30 21:28:57 -04:00
jacob1
50a121f613
Use https in readme links 2018-10-30 21:24:24 -04:00
kazitor
f42d099d02 Update README.md 2018-10-30 21:19:06 -04:00
EchoHowardLam
813cab7af7 Hotfix endless air current
Fix issue #580
2018-10-30 21:04:52 -04:00
nunom2005
31b45312b2 Add a message a message while fetching the motd (#603) 2018-10-30 21:01:17 -04:00
jacob1
f7e8ade347 fix another single-pixel PIPE generation issue 2018-09-30 23:46:52 -04:00
jacob1
276098f9db fix crash when using elem.element on windows 2018-09-17 23:03:05 -04:00
jacob1
7f215a6a17 fix particle #0 not being removed from the photons map when moving 2018-09-09 10:53:02 -04:00
jacob1
3707ecd563 fix "publish" button in save browser 2018-08-24 23:11:09 -04:00
jacob1
bbef295fe3 fix default elements disappearing when loading saves if the identifiers don't match 2018-08-24 23:10:46 -04:00
jacob1
c1e4644dc8 It's that time of year again 2018-08-07 09:24:11 -04:00
jacob1
d435f30834 fix LDTC temp/airdrag 2018-07-22 00:05:03 -04:00
krawthekrow
bdc3f300ba show conv tmp as element name in hud 2018-07-21 22:36:06 -04:00
krawthekrow
d42d7486e7 allow prop tool to parse particle type for tmp 2018-07-21 22:36:06 -04:00
krawthekrow
d05e4b2d0b show ldtc tmp2 in hud 2018-07-21 22:27:11 -04:00
krawthekrow
711d65bbd5 rewrite ldtc to be less buggy 2018-07-21 22:27:11 -04:00
jacob1
1c1bcb0cdc fix stasis wall not having any blob mode effects 2018-07-21 21:26:14 -04:00