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
jacob1
92244f78bb
initialize some variables to fix -Werror=maybe-uninitialized warnings
...
most aren't actually bugs, but gcc isn't able to determine that the paths it can follow guarantee they are initialized
2018-07-08 00:49:35 -04:00
jacob1
8e09edd188
fix typo in favorites menu
2018-07-07 21:41:36 -04:00
krawthekrow
143ba20191
check for correct prefix in hex property decoding
2018-07-07 19:12:12 -04:00
LBPHacker
a3a3b3be1a
Make ctrl+shift+click toggle favorite status
2018-07-07 19:10:41 -04:00
LBPHacker
27f5ba199d
Fix PIPE being reversed
2018-06-24 10:37:19 -04:00
krawthekrow
11d33d5b77
call rayt linear detector
2018-06-24 10:37:11 -04:00
Mrprocom
2935a94b27
Update in-game rules to match the new TPT rules
2018-06-24 10:37:01 -04:00
Antoine Belvire
953687a5c2
Fix mime-info format
...
update-mime-info may fail to parse the file if attributes are not
between quotes.
2018-06-24 10:36:37 -04:00
jacob1
9a707003aa
fix blue line in smudge tool texture
2018-06-05 23:15:09 -04:00
jacob1
969e99c78c
also fix SplitFromEndBy in String
2018-06-05 00:26:31 -04:00
jacob1
53f6807ea6
make fps update less often in hud
2018-06-04 23:48:40 -04:00
jacob1
01b9a7c7e8
fix Saves/ appearing before all saves in local save browser
2018-06-04 23:34:40 -04:00
jacob1
0e383e1045
fix scrolling in browsers being reversed
2018-06-01 00:22:06 -04:00
mniip
48a333f0de
Fix some scrolling issues
2018-05-30 13:35:44 +03:00
jacob1
7393c577f8
fix double scale firstrun check. We shouldn't need this popup anymore though
2018-05-28 14:02:50 -04:00
jacob1
3ce906b25d
even better desktop size detection, now accounts for taskbars / panels
2018-05-28 13:55:49 -04:00
jacob1
a40ab1e50d
don't load invalid window positions, only load window pos on first run
2018-05-28 13:33:01 -04:00
jacob1
d4255d1974
minor SConscript cleanup
2018-05-28 11:55:54 -04:00
jacob1
ce6c913c88
Merge branch 'sdl2'
2018-05-28 11:49:35 -04:00
jacob1
40d836106f
update libraries required for static sdl2 compile
2018-05-26 19:03:55 -04:00
jacob1
324602fe26
adjust for window border when loading window position too
...
fixes window moving up every time on windows, on linux the border size gets reported as 0 so nothing changes there
2018-05-26 17:38:01 -04:00
jacob1
743ec98e3f
add resizable window and original fullscreen options
2018-05-25 21:19:44 -04:00