Commit Graph

5204 Commits

Author SHA1 Message Date
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.
snapshot-175
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
Tamás Bálint Misius
06e2836726 Fix Lua reference leaks (fixes #638) 2019-04-09 15:28:40 +02:00
Tamás Bálint Misius
783310dc16 Fix a few exceptions returning pointers to temporaries in what()
LocalBrowserModelException and GameModelException returned pointers to
data owned by temporaries in what(). Solution: don't create a temporary
in what(), store the ByteString version of the error message in the
exception.
2019-04-08 19:18:54 +02:00
iczero
2ba0f70efd Fix race condition in Gravity.cpp 2019-04-07 23:31:08 +02:00
Tamás Bálint Misius
ff39c82e48 Print libcurl error buffer to stderr on client error snapshot-174 2019-04-05 21:22:51 +02:00
Tamás Bálint Misius
e3fefe30d1 Add option to redirect cout/cerr to files 2019-04-05 20:55:05 +02:00
jacob1
ea4c355748 better capitalization snapshot-173 2019-04-03 20:19:25 -04:00
Tamás Bálint Misius
6468a51ac1 Add more SSL client error strings 2019-04-04 01:39:11 +02:00
Tamás Bálint Misius
79c5813ba3 Fix msvc compile error again snapshot-171 2019-04-02 19:53:11 +02:00
Tamás Bálint Misius
c8df51a8b3 Fix {ctype} sign macro displaying Empty for non-element ctypes 2019-04-02 19:50:01 +02:00
jacob1
58a3411255 Fix msvc compile error 2019-03-31 16:42:21 -04:00
Tamás Bálint Misius
c8960d1358 Add more sign macros (fixes #578) 2019-03-31 21:44:54 +02:00
Tamás Bálint Misius
3de92f5ef4 Fix pavg loading behaviour of QRTZ/GLAS/TUNG (fixes #607)
Those particles now save/load pavg if pressure is being saved/loaded.
This means they won't ever break again when being loaded as part of
a stamp.

They actually save pavg01 * 64 because pavg is saved as an integer and
these elements are too sensitive to pressure changes for integer pavg
values to be adequate.
2019-03-31 12:18:41 +02:00
jacob1
d22d22e662 Fix pressure / ambient heat being saved as 0 instead of not at all when shift is held 2019-03-30 20:25:51 -04:00
Tamás Bálint Misius
47f898ca5a Tweak replace mode and specific delete mode (fixes #631) 2019-03-30 23:59:20 +01:00
jacob1
4cf0fe5aab Fix sim.deleteStamp not updating stamps.def 2019-03-25 23:52:48 -04:00
jacob1
e9011033eb Allow loading window positions on 2nd monitor snapshot-170 2019-03-24 23:17:09 -04:00
Tamás Bálint Misius
89c7d9ea02 Fix save buttons and probably other things not being cleaned up in FileBrowserActivity (fixed #635) 2019-03-24 21:47:31 +01:00
jacob1
c7ae820f1c Add MotD when using a broken alternate update server snapshot-169 2019-03-23 11:01:32 -04:00
Tamás Bálint Misius
e07b133e5a Another curl version-dependent feature thing
Seriously, who thought doubles were a good idea?
2019-03-23 10:30:26 +01:00
Tamás Bálint Misius
bd7aa33286 Only use curl mime feature if it actually exists 2019-03-22 22:27:11 +01:00
Tamás Bálint Misius
5192356b76 Fix AbandonableTask being utterly broken 2019-03-22 15:21:13 +01:00
jacob1
ad712272a3 run curl-config on linux; remove hacks for detecting old mac compiler snapshot-168 2019-03-20 00:06:21 -04:00
jacob1
4734c6e419 Add CURL_STATICLIB when compiling on windows, add possibly needed msvc libraries 2019-03-19 23:03:25 -04:00
jacob1
ed2eac627b Fix msvc compile 2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
296b758193 Follow redirects and fix save loading by ptsave parameter 2019-03-18 23:50:38 -04:00