Commit Graph

5121 Commits

Author SHA1 Message Date
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
jacob1
58127f355b fix windows / renderer compile (renderer requires sdl for now) 2018-05-25 21:19:44 -04:00
jacob1
841022c907 recenter linux icon 2018-05-25 21:19:44 -04:00
jacob1
002ab799c5 whitespace fixes 2018-05-25 21:19:44 -04:00
jacob1
7ac7eec6cf more sdl2 fixes:
don't recreate window every scale / fullscreen change
better renderer handling, input scaling no longer needed even if window resizing is enabled
load/save window position (replaces old windows code to do this)
calculate initial mouse position on startup because sdl no longer does this for us
2018-05-25 21:19:44 -04:00
jacob1
802ec4d252 remove icon debug stuff 2018-05-25 21:19:44 -04:00
jacob1
bd8550c2d5 fix a few more sdl 2 bugs:
mouse movement captured outside the window when mouse is down
fullscreen now focuses the window (there is a bug where you have to click once to get mouse input, though)
add linux icon, will need to be redone properly because it's offcentered with a black border (mask isn't present)
allow typing ~ into the console + some other fixes
2018-05-25 21:19:44 -04:00
jacob1
ba362c1ab7 fix options menu crash 2018-05-25 21:19:44 -04:00
jacob1
e5230b5b9f upgrade to SDL 2
Still currently in process, there are some issues:
Windows version doesn't work, mac version might not work, opengl might not work
Icon doesn't work (on Linux at least)
Lua will need some changes, there are some sdl 1.2 hacks in there
When entering fullscreen, the window loses focus
When holding down mouse out of bounds, mouse move events stop being sent
When letting go of mouse out of bounds, mouseup event doesn't take into account double scale mode
Clicking on startup without moving mouse will draw at 0,0 for a frame
Renderer probably won't compile because USE_SDL doesn't entirely work

... and maybe others

Some nice things were done though:
no more blit2, sdl can do the scaling itself
3d effect removed, no reason to support this joke any longer
No need to support copy/paste ourselves, sdl does it now
text handling done much better now, separate events for key presses and text input
when a new window is shown, all events ignored until next tick (ignore textinput event if window shown from key press event like console)
2018-05-25 21:19:44 -04:00
jacob1
38fac7046a add #define NOMINMAX before windows.h includes 2018-05-17 21:49:46 -04:00
jacob1
e8373ffa4c mac compile fix 2018-05-17 21:31:26 -04:00
jacob1
3b428789c7 fix selecting another element turning off find tool 2018-05-17 20:59:37 -04:00
jacob1
6ef0f065a6 fix .what methods on exceptions 2018-05-17 20:55:29 -04:00
mniip
aa389dbbfd Add missing locale header 2018-05-14 05:38:10 +03:00
mniip
30dd49235d Add ToLower/ToUpper 2018-05-14 05:12:32 +03:00
jacob1
36a545124e fix setting element properties in legacy lua api 2018-05-13 16:16:14 -04:00
mniip
9f6f43cf90 Fix float parsing in the PROP tool 2018-05-13 04:49:31 +03:00