Tamás Bálint Misius
2a23a38120
Normalise GetPrefs
2021-04-18 12:23:31 +02:00
Tamás Bálint Misius
360297c338
Mesonification
2020-12-14 20:16:52 +01: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
jacob1
899a2a046c
Add ctrl+u shortcut to reset ambient heat
2020-04-27 23:20:54 -04:00
jacob1
1e23269dd4
Add "perfect circle brush" option (on by default), to allow using old circle brush
2020-02-03 00:20:46 -05:00
Tamás Bálint Misius
51e5f2bffa
Add option to make deco tools use sRGB colour space
...
Currently only affects the smudge tool. I'd have to look
into the others to decide if they need chaging. They probably
do though, they're not exactly intuitive.
I also fixed a bug with DropDowns where their popup would
show up in some random place if the parent window was a
ScrollPanel, and changed a few alignments here and there.
Notably, DropDowns now align the popup so that the currently
selected item is vertically centered and doesn't move when
the popup is opened.
2019-09-21 21:37:34 +02:00
Tamás Bálint Misius
dbd5999d1c
Reinstate inversion of inclusion of pressure when shift is held
...
This feature was removed temporarily in a407aba
.
Whether pressure is included when saving or loading is
determined as follows:
* load-like operations (which invoke Simulation::Load) always
include pressure;
* save-like operations (which invoke Simulation::Save) include
pressure if the Simulation.IncludePressure preference node
is true;
* finally the state of the shift key inverts the decision.
2019-07-16 19:43:52 +02:00
Tamás Bálint Misius
a407aba087
Make Simulation.IncludePressure pref node accessible from OptionsView
...
Also remove ugly and messy behaviour depending on whether
shift is being held while copying or stamping.
2019-07-10 00:35:49 +02:00
yareky
5508f0ccfd
Allows to change menu selection from hovering to mouse click
...
New option in the menu available. This new menu behaviour is disabled by default.
2019-07-06 09:03:07 +02:00
Tamás Bálint Misius
8897c6daea
Make elem.free rebuild menus ( fixes #649 )
...
Also make sure removed elements don't stay selected.
2019-06-11 21:12:22 +02:00
Tamás Bálint Misius
0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00
mniip
ff27d69424
Switch from std::string to String/ByteString in most of the code
...
Also switch SimulationData from weird arrays to std::vector
2018-04-30 21:13:24 +03:00
Matthew Moore
7d4010d2df
Fix Newtonian Gravity Tooltip
2017-10-24 22:30:39 -04:00
jacob1
5ee10d14e4
reduce unnecessary #include dependency chains
...
for example, elements no longer include Client.h or Graphics.h, and interface stuff won't include Window.h or Graphics.h unless requested
2017-07-13 23:24:35 -04:00
Mark Theng
1c12d1ec16
Take history snapshot before setting save ( #358 )
2017-03-19 23:15:08 -04:00
jacob1
6040ccd27e
ugly fix for two empty snapshots being created on startup
2017-02-09 23:08:44 -05:00
jacob1
389159728c
Configurable undo history
...
Note: Each undo adds 16.7 MB of RAM usage, max is 200 (3.4GB), but don't set it to this
2016-11-14 10:03:09 -05:00
jacob1
25a2d9b5b5
some modifications to ctrl+z/ctrl+y
...
allows infinite undoing / redoing, improvements when history limit is greater than one
2016-11-14 10:03:09 -05:00
krawthekrow
95d2014724
allow redo with Ctrl-Y
2016-11-14 10:03:08 -05:00
Matthew Miller
083d488566
Added a favorites menu. ( #298 )
...
Added a favorites menu.
2016-06-25 11:55:18 -04:00
jacob1
df854f72a6
only print 'Loaded autorun.lua' to screen (not to console/stdout.txt)
...
All the other debug output was already removed in earlier commits
2015-08-31 23:51:50 -04:00
jacob1
efd69b208d
fix a ton more errors in the interface code, including all the -Wreorder ones
2015-01-16 19:58:39 -05:00
jacob1
1a2e3a11fc
cancel drawing when the mouse moves in / out of the zoom window, fixes #228
2015-01-10 13:35:23 -05:00
jacob1
35782fdd10
'l' always loads last save from disk (won't load cached deleted save)
2014-12-15 15:13:37 -05:00
jacob1
0409d93789
signs can be moved onto the zoom window, fixes #89
2014-01-17 23:27:57 -05:00
mniip
bf908bbfbf
Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions
2013-10-30 04:47:07 +04:00
jacob1
f56a2f6000
add back replace mode and specific delete. Activated with insert key / delete key, use ctrl+alt click to select what to use for the checks
2013-07-18 15:40:32 -04:00
jacob1
dfc33aaeea
finish return values for the legacy api, add sim.saveStamp and sim.loadStamp
2013-05-15 13:51:45 -04:00
jacob1
94d21a1679
when called with no arguments, some tpt. functions will act as get functions (unfinished)
...
Also, redo some menu stuff to use int's instead of Menu *s, and fix bug with toggleable buttons being toggled without triggering their actions
2013-05-14 23:50:26 -04:00
jacob1
431f5a0083
lua simulation api functions for creating particles, walls, boxes, and walls
2013-05-14 14:40:18 -04:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00