Tamás Bálint Misius
79f9a2d62d
Prioritise ctypeDraw functions over sparking
...
This adds an exception from brush-based sparking behaviour for
elements that have a ctypeDraw function. A functionally equivalent
exception has been removed in de1fc0f
, thus making it impossible to
ctype-draw SPRK on a few elements that otherwise aren't sparkable,
such as CONV.
2019-08-01 16:47:29 +02:00
jacob1
9327eecd7b
Update gravity mask even while paused
2019-07-31 22:28:02 -04:00
jacob1
7a3c0c1d9a
Fix tpt.eltransition.<elem>.presHighType
2019-07-31 22:10:35 -04:00
Tamás Bálint Misius
8b81023770
Replace a few occurrences of hard-coded font height with FONT_H
...
These two are all I managed to find, but there may be others.
2019-07-31 23:57:13 +02:00
Tamás Bálint Misius
de1fc0f906
Revise ctype-drawing ( fixes #657 )
2019-07-27 19:12:05 +02:00
jacob1
a73d1f97f6
Fix stamps not saving properly to stamps.def. Make "Rescan Stamps" sort stamps by time created
2019-07-26 23:09:27 -04:00
jacob1
c696a11793
Fix 'l' crash
2019-07-24 00:43:48 -04:00
Ian Bastos
4383de7ad5
Implement file drop handler ( #666 )
2019-07-24 00:04:41 -04:00
jacob1
9faf95a858
misc whitespace changes
2019-07-23 00:11:48 -04:00
jacob1
fb06e0028b
Add disable-network command line argument
2019-07-23 00:11:26 -04:00
Tamás Bálint Misius
7ad797275b
Make Renderer::ResetModes actually reset modes
...
See 2333786
.
2019-07-22 16:18:05 +02:00
Tamás Bálint Misius
23337862a4
Use current rendering modes when placing a save ( fixes #446 )
2019-07-22 10:38:13 +02:00
Tamás Bálint Misius
8223e06670
Fix selection background of formatted labels
...
The metrics of the rectangles comprising the selection background
were calculated based on the selected range and the unformatted
text, so these rectangles would be off when the formatted text
was different (i.e. had any formatting).
2019-07-19 11:28:51 +02:00
Tamás Bálint Misius
34b4665d4b
Purge the last traces of PositionAtCharIndex and CharIndexAtPosition
...
Also fix a bunch of other ugly things.
2019-07-19 09:47:15 +02:00
Tamás Bálint Misius
7c793020c6
Fix highlighting in ConsoleView
2019-07-19 09:22:55 +02:00
Tamás Bálint Misius
bea4576d89
Allow wrapping after certain punctuation characters
2019-07-19 08:58:47 +02:00
Tamás Bálint Misius
4bb85578a8
Fix text wrapping ( fixes #166 )
...
This breaks the syntax highlighting in ConsoleView.
I haven't yet thought of a way to fix that properly,
ideas anyone?
2019-07-19 02:53:54 +02:00
Ian Bastos
c5c4d92c32
check SDL2 framework on OSX
2019-07-17 01:35:10 +02:00
Tamás Bálint Misius
cf7e478ac5
Use tool desc. and relevant menu desc. in tool search ( fixes #289 )
2019-07-16 22:17:11 +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
Tamás Bálint Misius
5391fc3ee0
Get widths in order, various other things
2019-07-06 09:03:07 +02:00
yarek
bc5fd4ffc8
Small UI refactor
...
nFixed category refreshing
2019-07-06 09:03:07 +02:00
yarek
803182dda4
Add horizontal separator
2019-07-06 09:03:07 +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
Cracker1000
b2adbb54db
Add .life serialization support to lsns ( #652 )
2019-06-25 20:57:43 +02:00
Tamás Bálint Misius
eba51a1ea5
Ignore more VS crap
2019-06-23 12:52:39 +02:00
Tamás Bálint Misius
8968c3c30f
Invoke vsproject.py automatically and make newelement.py a bit more friendly
2019-06-23 11:23:27 +02:00
Tamás Bálint Misius
92a748bf76
Add missing standard include ( fixes #644 )
...
... which is apparently needed on some systems. I guess we might
be missing includes all over the place.
2019-06-12 22:52:12 +02:00
Tamás Bálint Misius
3a845051be
Update README and intro text
...
(Another step toward world domination! Also, woohoo 5000th commit on master!)
2019-06-11 21:27:15 +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
75e6ece184
Expose transition constants to Lua ( fixes #654 )
2019-06-11 20:43:34 +02:00
Tamás Bálint Misius
07b0d52f90
Add more transition type checks and fix tpt.eltransition
...
Though I'm quite sure nobody actually cares about that table. It's been broken for a
very long time.
The PROP tool now properly calls part_change_type when type is being set.
2019-06-03 19:27:06 +02:00
Tamás Bálint Misius
97bde1111d
Fix part_change_type not being called by sim.partProperty
2019-06-03 12:59:39 +02:00
Tamás Bálint Misius
8671332e60
Fix transition properties not being validated
...
Also clean up some more of the Lua API code, again. Eww.
2019-06-02 17:49:21 +02:00
jacob1
20c98e9b48
Add sim.CELL constant + some other change I made a while ago for some reason
2019-05-15 00:21:17 -04:00
Tamás Bálint Misius
c193e88c28
Leave only the 'wants pressure' check in Simulation::Load for QRTZ/GLAS/TUNG
2019-05-07 21:15:41 +02:00
Tamás Bálint Misius
74b0d49131
Add new element script
2019-05-06 11:00:55 +02:00
Tamás Bálint Misius
532508de43
Add really basic VS project generator
2019-05-04 19:48:13 +02:00
Nuno Miguel
81380acc86
Fix namespace error
2019-04-20 23:12:54 -04:00
Tamás Bálint Misius
e1b3ddcbcb
Nuke using namespace std;
2019-04-20 17:03:23 +02:00
Tamás Bálint Misius
0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00
jacob1
711453ad65
Fix crash when searching in element search ui
2019-04-17 23:49:27 -04:00
Tamás Bálint Misius
e1d32c9352
Move notification out of block locking associated mutex in Gravity.cpp
...
I don't know how it ended up inside, I wanted it outside. For the record,
signalling the CV while the associated mutex is locked is a pessimisation,
it just yields predictable scheduling.
2019-04-17 09:50:41 +02:00
Tamás Bálint Misius
5810a19dbc
Get GetUserName out of the way on Windows
2019-04-17 01:16:45 +02:00
Tamás Bálint Misius
2e76b10619
Use C++11 threads
2019-04-17 00:23:57 +02:00
Tamás Bálint Misius
9d92b77163
Clean up sign-related code a bit
...
Also draw search signs with purple text and thread signs with red.
2019-04-12 17:09:34 +02:00
Tamás Bálint Misius
59afaec70f
Fix Element::Identifier assignment leak ( closes #205 )
...
I didn't use 'fixes' because this doesn't strictly fix that specific
bug (I think?). Anyway, it does remove strdup which is mentioned in the
issue.
Also fix elem.free not allowing DEFAULTFOO_PT_STUFF and similar to
be freed.
2019-04-12 00:27:27 +02:00
Nikolas Ostrowski
1b2a52501d
include libcurl package in prerequisites
2019-04-10 21:31:21 -04:00
jacob1
76a92d75d2
Fix POLO eating PROT ID#0 no matter where it is
2019-04-09 22:11:14 -04:00