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
mniip
22e1de3fe8
Work around a thread_local bug in MinGW with the WIN32 threading model
2018-05-13 04:32:28 +03:00
mniip
a87acf56b7
Replace strdup with mystrdup
2018-05-10 10:34:45 +03:00
jacob1
8a8cbb81e4
fix getting/setting description in elements api
2018-05-10 00:27:55 -04:00
mniip
b8c9888d87
...Fix opengl renderer compilation too
2018-05-09 20:16:28 +03:00
mniip
67df4fd963
Fix renderer compilation
2018-05-09 20:15:26 +03:00
mniip
3781b36c31
Merge branch 'data'
2018-05-09 19:28:58 +03:00
mniip
12e79ea111
Fix compilation on windows
2018-05-09 19:05:39 +03:00
mniip
f30215bb83
Merge remote-tracking branch 'origin/master'
2018-05-08 08:36:15 +03:00
mniip
f8da7452c6
Remove codecvt
2018-05-08 08:35:06 +03:00
mniip
32aaafee94
Move data into either cpp files or const arrays
2018-05-08 07:38:55 +03:00
jacob1
190107c1b2
fix CLNE
2018-05-08 00:01:34 -04:00
mniip
deaa17a947
Work around some holes in the BitmaskType specification
2018-05-08 06:05:12 +03:00
mniip
d404f4a538
Fix some C++14-isms.
...
Apparently C++11 is more strict regarding default argument and return
value conversions. Also return brace-initializer construction has had
little support.
2018-05-08 05:48:32 +03:00
mniip
ea1d574caf
Add copy-paste to the font editor
2018-05-08 03:58:30 +03:00
mniip
954086fb86
Fixx macos compilation
2018-05-08 03:10:19 +03:00
mniip
51adf37853
Fix order and composition of String(char[]) operators to make clang happy
2018-05-07 08:10:50 +03:00
mniip
e0af41350a
Add String/Format commentary
2018-05-07 06:22:24 +03:00
jacob1
56cba4595c
Merge branch 'unicode'
2018-05-06 20:15:23 -04:00
jacob1
49703404be
change almost all the rest of the rng calls to .chance/.between
2018-05-05 11:56:17 -04:00
mniip
f8586ea3a2
Remove ByteString::Stream
2018-05-04 23:10:39 +03:00
mniip
e29d2c58c2
Copy the Format interface too
2018-05-04 21:12:47 +03:00
mniip
1485ae5a21
Fix incorrect uses of String(char[])
2018-05-04 20:05:26 +03:00
mniip
d6a92bdab5
Copy the String interface to ByteString
2018-05-04 14:45:57 +03:00
jacob1
ef2a0c2c81
fix single pixel pipe, remove ugly color bit hack
2018-05-03 21:40:48 -04:00
jacob1
44a8665f6f
update rng functions in a lot of element files to use .between/.chance
...
conversion is still very incomplete
2018-05-02 23:53:15 -04:00
mniip
7f5c164d22
Fix partial name element search
2018-05-03 05:22:05 +03:00
mniip
730cf0806a
Fix number to string conversion failing after a failed string to number
...
conversion
2018-05-03 04:55:20 +03:00
mniip
5d80d77f55
Remove String::Stream and with it the locale hacks.
...
Also fixes the crash when compiled with -O
2018-05-03 04:18:40 +03:00
mniip
ecb41661f8
Fix String::{Begins,Ends}With and with it a bunch of stuff
2018-05-03 04:12:09 +03:00
mniip
5ff8cefca4
Replace String::Stream parsing with number splitting
2018-05-03 04:11:43 +03:00
mniip
1ea7a035d1
Add Number parsing facilities
2018-05-03 02:54:32 +03:00
mniip
4b92926f0d
Fix partition again
2018-05-03 00:45:22 +03:00
mniip
2f9cab7e54
Move "big" methods out of the header. Also fix Partition
2018-05-03 00:34:47 +03:00
mniip
d1610c5127
Add string partitioning methods
2018-05-02 23:42:34 +03:00
mniip
6c9cb174fb
Change some uses of String::Stream to StringBuilder
2018-05-02 22:11:41 +03:00
mniip
7523c14252
Reword the Format interface
2018-05-02 08:45:50 +03:00
mniip
eeacc90fc5
Add StringBuilder formatters
2018-05-02 06:54:28 +03:00
mniip
f864f81a76
StringBuilder mockup
2018-05-02 05:38:08 +03:00
mniip
ced7b0c993
Move the ConversionError class
2018-05-02 02:22:10 +03:00
mniip
a121c62c3b
Add some helper methods and rewrite some of the string manipulation code
2018-05-02 01:32:04 +03:00
mniip
833383b121
Move TPT's icons to the (real) Private Use Area of the unicode
2018-05-01 07:03:48 +03:00
mniip
b8c5e94a41
Add blocks/gaps to the font format
2018-05-01 05:57:03 +03:00
mniip
9d927cbd6f
Add an auxiliary font reader class to reduce code repetition
2018-05-01 02:21:34 +03: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
mniip
4912674bfe
Add unicode/byte string classes which are supposed to eventually phase
...
out std::string
2018-04-29 22:55:00 +03:00
mniip
c0c550e920
Add a new font editor
2018-04-29 18:49:40 +03:00
jacob1
d2e0986bf6
fix occasional issue where deleting the particle RAYT is detecting would delete the particle it is sparking instead
...
only happened when unpaused and only if the spark was in a certain state. part_change_type was called with the wrong coordinates, which confused pmap and put the sparked particle on top of pmap in the detected particle for a frame
2018-04-29 00:48:53 -04:00
mniip
04c875120a
fix some tools' icons breaking their bounding box
2018-04-29 04:23:03 +03:00
mniip
16acc95621
Enlarge the font by adding 2 pixels above the cap height
2018-04-29 04:08:03 +03:00
jacob1
67132c9925
fix another out of bounds crash relating to stasis wall
2018-04-28 11:45:16 -04:00
jacob1
be57130c7a
fix crash when particles are out of bounds
2018-04-28 00:27:03 -04:00
jacob1
777cb967a5
add M_PI definition back
2018-04-28 00:26:43 -04:00
jacob1
db8b32363e
remove tpt-math.h includes
2018-04-28 00:09:14 -04:00
jacob1
29920c8999
remove trig tables, they are unused and alternatives are faster
2018-04-28 00:04:42 -04:00
jacob1
d56a4ee378
make RNG a singleton, update a few calls and start using between/chance functions
2018-04-28 00:01:08 -04:00
jacob1
f9211c2f90
msvc compile fix
2018-04-23 22:46:28 -04:00
jacob1
de757bc2c3
made sure the windows version actually compiled
2018-04-23 22:32:03 -04:00
jacob1
601af1feff
fix compile warnings, remove ugly PRTI/PRTO hack
2018-04-23 21:57:30 -04:00
Saveliy Skresanov
1c600249dc
Remove a useless header.
2018-04-23 22:55:22 +07:00
Saveliy Skresanov
7afd82469e
Use vector math in cyclone.
2018-04-23 22:48:10 +07:00
Saveliy Skresanov
cda029ff42
Use xoroshiro128+ random generator (everywhere besides BSON code).
2018-04-23 22:47:44 +07:00
jacob1
fbe81baca3
make Platform::ExecutableName return std::string (fixes minor memory leak)
...
update code is untested
2018-04-21 19:28:47 -04:00
Vgr E. Barry
90cfd1f70f
Add inverted mode for TSNS and PSNS with .tmp == 2
2018-04-21 12:36:25 -04:00
jacob1
9211fab9f7
fix memory leak when saving stamps
2018-04-21 00:34:49 -04:00
jacob1
6731fa16b7
fix memory leaks when loading stamps ('l') and viewing saves
2018-04-21 00:15:15 -04:00
moonheart08
22b9bf4953
Adds RAYT ( #540 )
2018-04-10 21:32:19 -04:00
krawthekrow
64b7fcf334
fix single-particle PSTN bug
2018-04-08 20:10:51 -04:00
jacob1
70b02301ff
fix compile error
2018-04-05 23:40:21 -04:00
jacob1
11b2f58db7
define M_PI in tpt-math.h
2018-04-05 23:31:28 -04:00
jacob1
34e73e4d7d
remove asin/acos because they aren't necessary and don't work
2018-04-05 23:07:29 -04:00
jombo23
564a9dfc48
Add ultrafast semi-accurate trig functions and update Cylone to use them. ( #547 )
2018-04-05 23:04:57 -04:00
jacob1
7f985b47dc
whitespace fixes + description change
2018-04-03 22:33:25 -04:00
moonheart08
3f99a59cb2
Adds STASIS wall. ( #556 )
2018-04-03 22:24:38 -04:00
wolfy1339
27f6a6b297
Strip whitespace from files in repo ( #553 )
2018-04-03 21:46:01 -04:00
wolfy1339
31fcb1bfaa
Fix some errors produced by clang
2018-04-03 21:02:23 -04:00
jacob1
f812d7194b
fix obscure division by 0 issue that only QuanTech would ever be affected by
2018-04-02 23:06:51 -04:00
jacob1
9f1d676391
Version 93.3 build 340
2018-04-01 17:19:03 -04:00
jacob1
07868ba2b7
Adjust SOAP links to non-SOAP particles properly when saving
2018-04-01 16:04:38 -04:00
jacob1
dfc5bd1d85
don't restrict containing certain new 93.0 features to 93.0 (so renderer can render them)
2018-04-01 15:28:54 -04:00
jacob1
67bc12de97
Fix issue where TPT was bought by EA
2018-04-01 15:26:13 -04:00
jacob1
71c96dd060
fix salt issue, for future reference
2018-04-01 15:06:33 -04:00
jacob1
9c5876f0b4
fix crash when can't purchase back, fix debug info in tampering message
2018-03-31 23:38:53 -04:00
jacob1
fdd6618896
fix buying erase tool in a pack, increase price of erase tool to 5000
2018-03-31 23:09:11 -04:00
jacob1
17c79f1661
fix bug where purchases always succeeded
2018-03-31 22:44:15 -04:00
jacob1
40d2850ff7
TPT has now gone free to play! Many elements are unlocked by default, but by using Powdercoins you can unlock new elements and promote your saves to front page!
2018-03-31 22:40:23 -04:00
jacob1
1f97199df6
fix solar panels sometimes not working
2018-03-25 18:34:25 -04:00
jacob1
1b658a3022
version 93.1 build 338
2018-03-25 12:29:16 -04:00
jacob1
b89ea68acd
remove fromNewerVersion TODOs in GameSave.cpp
2018-03-24 14:38:26 -04:00
jacob1
fac996722b
save stickmen rocket boots / fan flag in saves
2018-03-24 13:09:02 -04:00
jacob1
3bd35ce83f
fix STKM + fan wall
2018-03-21 23:58:27 -04:00
jacob1
126acb7db5
change TSNS/HSWC/PSNS/PUMP .tmp to 0 in older saves
2018-03-18 19:59:48 -04:00
jacob1
f76d10df4d
remove unused cpu check
2018-03-18 10:25:52 -04:00
jacob1
f45d0d1683
save palette now works for elements stored in ctype/tmp/tmp2
2018-03-17 21:46:35 -04:00
jacob1
96de9bbc36
don't use _update in update filename because of windows "feature"
2018-03-13 22:13:15 -04:00
jacob1
01741b05ce
betas should still look for stable updates
2018-03-12 23:32:37 -04:00
jacob1
6d515c3009
remove debug thing, blame jacob1
2018-03-11 23:03:11 -04:00
jacob1
138410c41f
blame simon
...
render compatibility stuff, allow renderer to open saves with elements it doesn't understand, because something is better than nothing
2018-03-11 23:02:12 -04:00
jacob1
3b95ff7983
93.0 save loading fix (todo: remove this stuff on 93.0 release)
2018-03-10 20:30:20 -05:00
jacob1
c861d69f9c
add RESTRICT_VERSION check to digitation stuff, update readme date
2018-03-10 17:03:44 -05:00
jacob1
f2ac8a951c
add ctrl+q shortcut to exit the game from anywhere
2018-03-10 16:01:14 -05:00
jacob1
ab4cdf2aa1
minor efficiency fix
2018-03-10 15:43:25 -05:00
jacob1
ad5b12fe6d
part_change_type now returns true if it killed the particle
2018-03-10 15:39:39 -05:00
jacob1
b07e8d93d5
When finding particles, show how many were found in HUD
2018-03-07 23:19:55 -05:00
jacob1
5a61e6a619
a bunch of fixes to heat/pressure digitation
...
add limits so that you don't get impossible temp or pressures
only undigitize from FILT 1 pixel away
ensure everything only works through FILT, not sometimes PHOT or BRAY
HSWC with .tmp of 1 no longer conducts heat to FILT
2018-03-07 23:03:10 -05:00
jacob1
5eb0d1bd27
add hidden settings for not including/loading pressure in saves, closes #524
...
If I ever redo the options menu, there will be an actual checkbox for these
2018-03-06 21:01:49 -05:00
Novocain1
68efe49a5b
Digitization (PSNS) and Application of Digitized Pressure (PUMP) ( #532 )
2018-03-03 23:04:51 -05:00
jacob1
c3ff761288
my editor decided to use spaces here for some reason
2018-03-03 22:07:36 -05:00
jacob1
bd7f9fa247
prevent people from stealing the 404 save
2018-03-03 22:05:08 -05:00
jacob1
5dd01e9976
I guess if we're trying to save instructions, we should do it like this
2018-03-03 21:36:11 -05:00
jacob1
d666559481
more accurate O2 fusion calculation, fixes #505
...
seemed to only be 3% slower in my tests with a full screen of heated pressurized O2
2018-03-03 21:15:28 -05:00
jacob1
2adae64041
fix ambient heat going to high negative values with high life LIGH, fixes #536
2018-03-03 20:58:39 -05:00
jacob1
f9b5c6bb1a
use std::string instead of c strings for sign stuff, fixes #545
2018-03-03 20:44:03 -05:00
jacob1
5f4c5fb118
Fix &255 usage
2018-02-28 22:01:49 -05:00
krawthekrow
d7e26e8c03
fix free particle list messing up during particle debug
2018-02-24 18:24:07 -05:00
jacob1
a0a7281cc7
add TOOL_CYCL lua constant, change ID to 7
2018-02-14 22:19:31 -05:00
jombo23
0a63e1afb5
Add Cyclone Tool and Brush X/Y Arguments ( #542 )
2018-02-13 00:08:00 -05:00
Nikolay Marchuk
30b8078ad2
fix undoing changes in gravity mask
2018-02-13 00:06:55 -05:00
jacob1
257fe6f61b
Fix debug print in PLNT causing lag
2018-02-12 00:09:35 -05:00
jacob1
1237b49e37
allow compiling renderer with --msvc in scons
2018-02-11 14:47:36 -05:00
jacob1
0d1c3f5f49
ctrl+p shortcut to select prop tool
2018-02-03 17:39:23 -05:00
jacob1
3d66b7e263
remove hardcoded op
2018-02-03 17:38:47 -05:00
jacob1
25ef5b19fd
fix STOR to PIPE
2018-01-07 20:27:54 -05:00
jacob1
1405c10046
fix STOR->PRTI transfer
2018-01-03 00:13:06 -05:00
jacob1
5012c3cfe6
fix build error when UPDATESERVER is defined
2018-01-01 12:12:43 -05:00
jacob1
07988147b9
prevent compiling if pmap doesn't have enough space, make lua elements favor 1 byte IDs
2018-01-01 00:31:44 -05:00
jacob1
b5159ab74e
Changes to save format and PIPE
...
Update save format to optionally store type as two bits
PIPE now stores element in ctype
Disallow uploading saves using two bytes in type or other fields
update save format to store pmapbits and automatically convert data
2017-12-31 23:55:41 -05:00
jacob1
0c8c4de125
convert all of the rest of the things except GameSave.cpp and pipe/ray elements
...
also add sim.PMAPBITS and sim.PMAPMASK constants
2017-12-29 21:01:28 -05:00
jacob1
20e1abd840
update Simulation.cpp to use new macros
2017-12-29 17:34:19 -05:00
jacob1
da45e0e469
last src/simulation/element changes
...
PSTN, CRAY, and possibly some others will need to be modified to account for this without breaking saves. The save format will need to include PMAPBITS and adjust properly
2017-12-28 21:27:01 -05:00
jacob1
208cf14ce8
convert r&0xFF in src/simulation/elements
2017-12-28 13:00:23 -05:00
jacob1
4b1c929f58
use macros for the rest of the necessary >>8/<<8 in src/simulation/elements
2017-12-28 12:18:44 -05:00
jacob1
ac24810da5
add some defines to reduce usages of hardcoded r>>8
2017-12-28 12:03:26 -05:00
jacob1
fbf7210814
fix division by 0 in PHOT+C5 interaction, shoot the photon off at 90 degrees instead
2017-12-27 18:11:33 -05:00
jacob1
c31267b06f
use unique_ptr in GameSave::readPsv, rename variables
2017-12-27 16:57:32 -05:00
jacob1
ae9b416f2f
use c++11 (unique_ptr) in GameSave::readOPS
2017-12-27 13:00:48 -05:00
jacob1
70bbb16f37
sort local saves alphabetically, accounting for uppercase/lowercase
2017-12-27 11:50:28 -05:00
jacob1
887d60628d
use c++11, use unique_ptr in GameSave::SerializeOPS
2017-12-27 11:50:09 -05:00
jacob1
23c68b1db1
fix issue loading manually created SOAP bubbles in some saves
2017-12-19 22:15:32 -05:00
jacob1
553eaf9524
fix loading saves with stacked particles
2017-12-19 21:15:19 -05:00
krawthekrow
68af269b76
sort local saves alphabetically
2017-12-19 21:15:06 -05:00
jacob1
e956e7c5fd
fix issue where stamps would stack if you loaded multiple in one frame
...
sim.loadStamp in the console, or a lua script
2017-12-03 19:30:21 -05:00
jacob1
63c13bda89
fix use of deprecated luaL_getn function
2017-11-23 22:34:22 -05:00
jacob1
c2064b48c3
fix comment
2017-11-23 22:23:56 -05:00
jacob1
3529f6f468
fix ambient heat not loading in ctrl+c paste, fix pressure resetting to 0 when loading saves without pressure
2017-11-23 22:09:33 -05:00
jacob1
78fb27b354
fix SOAP links not saving/loading properly
2017-11-23 21:53:21 -05:00
jacob1
1971efe8b8
include tpt-minmax in the rest of the files it is needed in
2017-11-23 16:21:19 -05:00
jacob1
c9d9f5b71d
more include fixes (CoordStack.h)
2017-11-23 16:06:09 -05:00
jacob1
2ccbec1d05
include tpt-minmax header in Simulation
2017-11-23 15:12:47 -05:00
jacob1
a674dc93e2
include tpt-minmax header in Renderer
2017-11-23 15:01:04 -05:00
LBPHacker
a12785cd5d
Use a dropdown instead of a textbox
...
Textboxes don't mix well with error messages fired from from keypress handlers.
2017-11-23 12:24:34 -05:00
LBPHacker
be29fad7e8
Add support for window scale modes other than 1 and 2
...
Window scale can now be anything between 1 and 10 (suggest something other than 10 for maximum scale?). This required a number of subtle changes:
* made blit2 (PowderToySDL.cpp) handle scale modes correctly (it really only handled scale:2 correctly before)
* replaced `bool scale` with `int scale` everywhere in the options view/model/controller
* replaced the _large screen_ checkbox with a _window scale_ textbox in the options view
The new scale is only checked and applied when the options view is closed. There's no reason to not apply it live, I just chose not to.
This commit does *not* make TPT able to figure out an optimal scale mode at first run. It still suggests using scale:2 if it makes sense though.
I had doubts about using a second loop in blit2 but it doesn't seem to be an issue. If there's a more optimal way of going about what blit2 does, I haven't figured it out.
(Sublime seems to have eaten a few trailing spaces, hence there are a few seemingly identical pairs of lines in the diff.)
2017-11-23 12:24:34 -05:00
krawthekrow
62d57cc1de
fix indentation
2017-11-23 00:42:42 -05:00
Novocain1
db6fb5461d
Adds ways to digitize temperature and ways to turn that digitization to an actual temperature. ( #525 )
2017-11-23 00:28:12 -05:00
wolfy1339
255ca13fab
Remove unused code in src/Config.h ( Fixes #516 )
...
- Remove commented out code as it was not used anywhere in the code
2017-11-23 00:18:44 -05:00
wolfy1339
87f3ada7b0
Remove stuff from Config.h that doesn't belong
2017-11-23 00:12:48 -05:00
jacob1
6cfaed0e1b
fix compile warnings, fix tooltips fading in too slowly
2017-11-23 00:10:15 -05:00
RobertBScott
4c3b4dab47
Implemented tooltip element descriptor display in element search.
2017-11-23 00:10:15 -05:00
jacob1
b5bc4ad3d2
potential crash on exit fix (can't tell if it actually fixes it or if it is related)
2017-11-18 17:11:46 -05:00
jacob1
1b19e042b2
fix crash when using tpt.start_getPartIndex
2017-11-04 13:22:22 -04:00
Matthew Moore
7d4010d2df
Fix Newtonian Gravity Tooltip
2017-10-24 22:30:39 -04:00
jacob1
3c2de70564
fix compilation / ensure this check only runs when compiling on windows
2017-10-13 00:03:35 -04:00
wolfy1339
536b20b164
Fix pthread deprecation warning, fixes #502
2017-10-12 23:33:05 -04:00
QuanTech0
c52c2d7a6f
Expanding vocabulary.
...
:)
2017-10-07 17:32:28 -04:00
jacob1
97c4123533
translate wall grids when shifting stamps by more than 4 pixels
2017-10-04 21:07:00 -04:00
jacob1
4ff0a9f52c
only expand stamp in the direction you are moving
2017-10-04 21:07:00 -04:00
krawthekrow
ca542b1ef1
autoexpand save when particles are translated out of boundaries
2017-10-04 21:07:00 -04:00
jacob1
17c9340434
CRAY wall checking fix
2017-10-02 21:38:15 -04:00
jacob1
77b6f44c74
fix issue with molten STKM that could break the simulation and cause crashes
2017-09-28 23:12:16 -04:00
jacob1
631570cbd0
mac luajit fix, version 92.5.336
2017-09-20 20:42:24 -04:00
jacob1
834e966842
Version 92.2.333
2017-09-04 23:08:52 -04:00
jacob1
6bd068713e
recording improvements
...
remove 'r' record shortcut
add tpt.record function. Still gives the user a confirm prompt
recordings now go into recordings/<timestamp>/, where timestamp is the time the recording was started. <timestamp> is returned by the tpt.record function. Each new recording starts the filenames over at 0 again.
you probably still need a lua script to use the recording feature, this should make it easier for those
2017-09-04 14:06:28 -04:00
jacob1
e4089a276a
fix illuminati symbols appearing when rescanning stamps
2017-09-04 12:51:28 -04:00
QuanTech0
07e879e74c
fix buffer overflow in opt_meth_setoption ( #496 )
2017-09-03 19:48:28 -04:00
jacob1
c34b54d974
add sim.takeSnapshot lua function
2017-08-31 23:48:00 -04:00
MrZacbot
be786d85a7
Added a bounds check for BOMB reading pmap ( #497 )
2017-08-29 20:44:14 -04:00
jacob1
1ceae1ba43
fix interface api in lua5.2
2017-08-20 18:13:46 -04:00
LBPHacker
ce58c4aadf
Fix Simulation::Restore decrementing life values
...
Simulation::Restore used to call Simulation::RecalcFreeParticles. The problem with that was that RecalcFreeParticles does more than just what its name suggests: it also decrements life values. Restore shouldn't do that. The solution is to tie decrementing life values to an argument in RecalcFreeParticles. This is also makes to code more future-proof as it lets everyone know that they have to keep their eyes peeled when invoking RecalcFreeParticles.
2017-08-17 00:23:37 -04:00
jacob1
eb1bcf1b95
Revert "Temporarily use IP addresses instead of dns (untested)" fa322902bf
2017-08-11 20:54:36 -04:00
jacob1
fa322902bf
Temporarily use IP addresses instead of dns (untested)
2017-08-07 12:51:12 -04:00
jacob1
3045125a88
Version 92.1.332
2017-08-06 21:56:58 -04:00
jacob1
1dd4b00ec6
minor gravity transition fix
2017-08-06 19:41:04 -04:00
jacob1
55b31d6f0e
my mod uses -1 for this
2017-08-05 21:47:39 -04:00
jacob1
6fca44fd70
fix newtonian gravity state transitions flashing
2017-08-05 17:53:41 -04:00
jacob1
fd91fa4438
'enter' closes SaveIDMessage interface after uploading a save
2017-08-03 23:27:58 -04:00
jacob1
26f70331de
fix debug thing breaking pressure display in HUD, fixes #494
2017-08-03 23:12:03 -04:00
jacob1
6931f35520
hold shift when saving or loading stamps to not save / load pressure, closes #491
2017-08-03 00:13:06 -04:00
jacob1
99c568f136
ensure air doesn't "leak" out of TTAN containers when loading stamps and saves
2017-08-02 23:49:51 -04:00
jacob1
ac489c9295
hide .tmp in HUD for RFRG and RFGL
2017-07-29 22:54:39 -04:00
jacob1
7e9124033b
fix RFRG description typo (use more common spelling)
2017-07-29 22:49:40 -04:00
jacob1
c4e1f49618
fix BOMB explosion - wasn't creating circle EMBR, and too much velocity EMBR
2017-07-29 22:47:07 -04:00
jacob1
8fe3ca0f5c
don't use std::pow here
2017-07-29 11:26:53 -04:00
jacob1
2a829c2394
fix ctrl+f shortcut not working with particle debugging enabled
2017-07-29 00:32:22 -04:00
jacob1
a278892267
make XCNTR / YCNTR not hardcoded
...
Alexwall request
2017-07-29 00:15:09 -04:00
jacob1
b38b2047e6
some changes to sign handling (attempt to fix crash that I can't reproduce)
2017-07-28 21:19:06 -04:00
jacob1
adb39b91a9
attempt to reduce "script is not responding" when debugging (valgrind / breakpoints)
2017-07-28 20:32:46 -04:00
jacob1
b02a72a77b
add length limit to authors on saving/loading, fix type issue causing mass duplication
...
When making a local save, then stamping and loading the stamp (without doing anything else in between), issues with the code would cause the unsigned int in the json to turn into a normal int. It would then think the authors data from the stamp was from something else and append it. For users that do an excessive amount of stamping, this causes duplication in the authors links that shouldn't have ever happened.
2017-07-28 20:00:19 -04:00
jacob1
cbad202ac2
fix brush when CELL is changed to 1
2017-07-28 19:40:50 -04:00
jacob1
8064d3b467
remove useless debug print in !set
2017-07-25 20:11:57 -04:00
jacob1
2b3fbbd50e
fix -nan RFRG glitch
2017-07-24 21:55:16 -04:00
jacob1
541417008e
fix FIGH spawning glitch: id:2165807
2017-07-24 21:44:37 -04:00
jacob1
16323320ce
turned off HSWC acts as insulator for HEAC
2017-07-24 21:30:12 -04:00
jacob1
8c7729de85
"failed to x" messages in save browser are no longer arbitrarily yellow
2017-07-23 23:20:43 -04:00
jacob1
bf9014ac60
fix HEAC conducting to HSWC which is turned off
2017-07-23 21:17:21 -04:00
jacob1
3c4ca5cd4b
ensure DMG turns WOOD to SAWD
2017-07-23 19:39:09 -04:00
jacob1
1cfd9d8fc7
only display updates based on build number, not version number
2017-07-23 16:41:38 -04:00
jacob1
aad8eba5df
Version 92.0
...
also update README, and make ctrl+a moderator only shortcut
2017-07-23 10:58:52 -04:00
jacob1
ddce20da5b
authors clipboard fix
...
MergeStampAuthorInfo prevents some duplication now, don't need this
2017-07-16 21:33:49 -04:00
jacob1
971e405462
don't add null stuff when loading old stamps without author info
2017-07-16 15:52:18 -04:00
jacob1
ad5a2a0972
tpt.parts: only prevent writing to dead particles, not reading
2017-07-16 11:43:50 -04:00
jacob1
b8ce522779
sim.signs.delete() api function
2017-07-16 10:42:53 -04:00
jacob1
6d141b0722
add new PhotonReflectWavelengths property, add reflection color for POLO
2017-07-16 00:07:32 -04:00
jacob1
08ba035a53
fix nesting checks
2017-07-15 16:27:11 -04:00
jacob1
6efedcdd33
undo authors changes on ctrl+z, prevent excessive nesting
2017-07-15 16:21:16 -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
jacob1
781a90a970
CAUS.cpp whitespace fixes, closes #464
2017-07-13 21:07:08 -04:00
jacob1
711d15fe0c
fix compile error, blame @moonheart08
2017-07-13 21:02:23 -04:00
moonheart08
a76afb0bfc
Add the ability to make POLO from acceleration ( #477 )
...
tmp value of 310+ results in POLO.
2017-07-13 20:58:18 -04:00
QuanTech0
1ff280acb2
another typo fix...
2017-07-13 20:56:51 -04:00
jacob1
f3a7d966d2
potential fix in sim.partCreate, also
2017-07-13 20:55:03 -04:00
LBPHacker
7dd538b82c
Fix tpt.parts being unsafe
...
`tpt.parts` does check whether the particle ID it gets is valid, but it doesn't check whether that particle ID is used. One could potentially modify the life property of dead particles to break the linked list of free particle IDs, thus potentially gaining the ability to read from or write to arbitrary addresses in memory.
2017-07-13 20:33:46 -04:00
jacob1
8e5b0c760e
Add logging inside saves which remembers which other saves material was taken from
...
The logging is saved inside the bson data in all online saves, local saves, stamps, and clipboard pieces. It is loaded back when reloading each of those.
See #474 for the format of the data. It is the same format for the bson data. Note that "links" is an array of objects. It can be recursive.
There is some effort to not duplicate information, we don't care if you loaded a stamp 10 times or if you are using the clipboard in your own save. Extra information is mostly not saved for your own stuff, only when you take material from other saves.
Press ctrl+a in debug builds to show what info it is currently saving in Client. Also enabled in snapshots for now.
There is one unrelated change in here, which fixes a crash pointed out by QuanTech. It was also save related and it was too close to the other changes to separate it into another commit. It fixes a crash when saving signs with invalid unicode. the BSON library doesn't like this, it was returning an error but we ignored it, which caused a crash. It now notices those errors. I also had to update several Serialize calls to check if it actually returned save data, or else it then would have started crashing there instead.
Also some debug prints were removed
2017-07-13 00:19:35 -04:00
jacob1
be6ac1d91e
workaround for incorrect 404 save
2017-07-01 21:38:57 -04:00
jacob1
057435baa6
Differentiate between created date / updated date in save preview
...
still only shows most recent date, this just changes the text
2017-06-30 21:21:09 -04:00
jacob1
d0f1024f95
add BCOL + NEUT -> SAWD, closes #471 and #472
2017-06-30 20:10:15 -04:00
My main account
284e653aa5
Convert another if-elseif block to switch ( #465 )
2017-06-30 20:01:12 -04:00
QuanTech0
d0feba6445
Temp. displayed using {aheat} not in celsius
...
Since it is displayed in celsius for {t}, shouldn't it be for {aheat} too? Just a consistency thing.
2017-06-30 19:55:38 -04:00
jacob1
fb08400552
add PROP_LIFE_DEC back to GLOW, fixes #466
2017-06-22 22:50:20 -04:00
jacob1
2e4617c956
GAS+CAUS+pressure = RFRG, move HEAC to solids
2017-06-18 23:32:25 -04:00
My main account
5de384cfbc
Fix CRAY creating FILT
2017-06-18 21:49:47 -04:00
iczero
3336209527
Fix STOR modded element processing
...
fixes #460 , again
2017-06-18 09:02:20 -04:00
jacob1
67b87b1dab
palette now used for default elements again, with some fixes
...
palette now used in VIRS, fixes #460
2017-06-18 00:08:41 -04:00
jacob1
c1e91260eb
fix deco colors being 1 R/G/B value less than they should be
...
The proper way would be to divide by 255, but that is slower than >>8. This is a better approximation (or perhaps equivalent?)
2017-06-17 21:02:52 -04:00
iczero
42b8f52611
Add type for POLO, closes #458
2017-06-17 20:34:57 -04:00
jacob1
714ee8ff65
clear redoHistory memory on exit
2017-06-14 00:16:44 -04:00
jacob1
4214f85599
HEAC now checks for heat insulators
...
Also testing c++ stuff, maybe reuse this function for GOLD later
2017-06-14 00:04:44 -04:00
jacob1
d8edb3c2e0
make sure STKM / other particle graphics aren't drawn over the menus
2017-06-13 10:00:35 -04:00
jacob1
694bc6a9cb
new reaction suggested by Skylark: RFRG+NEUT=GAS/CAUS
2017-06-11 23:07:52 -04:00
jacob1
32d834c351
fix VIBR asymmetric heat releasing, fixes #424
2017-06-11 22:47:05 -04:00
jacob1
510c33a986
fix BOMB issue from previous commit that deletes particle #0
...
also, code cleanup
2017-06-11 22:22:30 -04:00
jacob1
5ac66bda75
BOMB: use kill_part instead of delete_part, fixes #432
...
this was the only element to use delete_part. Only brush drawing should ever use delete_part
2017-06-11 22:08:30 -04:00
jacob1
d4a0ff9ac8
draw_image can now draw images with x<0, fixes #433
...
this isn't used at all in the source
2017-06-11 22:01:11 -04:00
jacob1
0ea5c1d0e0
Fix #438
...
I didn't actually notice any difference with this change
2017-06-11 21:26:42 -04:00
jacob1
1718fe9287
HEAC is now meltable via LIGH, fix HEAC hardness, fixes #441
2017-06-11 21:10:19 -04:00
jacob1
fb2431d99e
replace some if-else with switch statements, code formatting, closes #444
2017-06-11 20:39:23 -04:00
jacob1
81259c5d11
remove PROP_LIFE_DEC from some elements that don't need it, closes #447
2017-06-11 11:29:42 -04:00
LBPHacker
2c0468ef2e
Sign justification is now called pointer alignment
2017-06-09 23:58:06 -04:00
cppxor2arr
12d2af7925
Removed unnecessary CleanString() function ( #443 )
...
Two `CleanString()` functions with the only differing thing the first parameter (`const char*` vs `std::string`); removed the one with `const char*` since `std::string` can be constructed with `const char*`.
2017-06-09 23:57:12 -04:00
jacob1
3d9d57e0ff
don't allow loging in using email as username
...
(actually, just don't allow @ in usernames)
2017-06-09 23:54:43 -04:00
jacob1
25b3244d6c
add warning messages when certain words are found in comments
2017-06-09 22:19:54 -04:00
jacob1
4242e38968
update LSNS description + default temp
2017-06-04 21:56:12 -04:00
jacob1
1cb3917fcc
Fix comment
2017-06-04 21:33:45 -04:00
jacob1
d73586c566
POLO fix (I can't count)
2017-06-04 19:46:59 -04:00
jacob1
2dbdc3109b
new element description updates
2017-06-04 18:29:35 -04:00
jacob1
572e432045
update snapshot save restriction code
2017-06-04 18:10:07 -04:00
jacob1
35ce9570d6
make Mrprocom's name blue
2017-06-04 17:48:31 -04:00
jacob1
48a95ac5d5
more POLO fixes
2017-06-04 17:26:56 -04:00
jacob1
53bb1f4802
file renaming / deletion, code cleanup
2017-06-04 17:26:56 -04:00
moonheart08
649133ff41
Removed unneeded comments
2017-06-04 17:26:56 -04:00
moonheart08
94eb0a8ec2
Replace E182 with a real, functional element.
...
Implemented Polonium!
2017-06-04 17:26:56 -04:00
jacob1
1fb883a450
replace E181 with SAWD (sawdust), created by hitting WOOD with high velocity particles
2017-06-04 14:50:14 -04:00
jacob1
06b2631f8d
rename E180 to HEAC (rapid heat conductor), now affects photons, code formatting
2017-06-04 12:56:25 -04:00
jacob1
fb1622da41
minor bugfix, this is a test
...
TESTING 123
2017-06-03 18:11:17 -04:00
jacob1
9bc19d9933
fix elementRecount parenthesis
2017-05-10 00:11:53 -04:00
jacob1
f54189a97f
fix PHOT/PLSM not following the correct heat scale, fixes #336
...
Still many issues if you manually add on other effects to heat mode, but at least now the default graphics are fine
2017-05-09 22:43:53 -04:00
jacob1
ec417095b9
add sim.TOOL_MIX, fixes #414
2017-05-09 21:59:15 -04:00
jacob1
b0f3b2a36b
Fix QRTZ killing life=0 PHOT, fixes #415
2017-05-09 21:56:01 -04:00
jacob1
b9c658ae20
elements are only recounted when unpaused, apparently
2017-05-09 21:52:40 -04:00
jacob1
2d7934bca6
fix elementRecount never being reset to false, fixes #417
2017-05-09 21:49:54 -04:00
jacob1
8830120479
use part_change_type in legacy fire update, closes #418
2017-05-09 21:45:42 -04:00
jacob1
0f40db4ef9
proper ctrl+backspace support
2017-05-08 23:45:18 -04:00
jacob1
abf60508cd
fix ambient heat being reset when creating saves
2017-05-06 23:57:27 -04:00
LBPHacker
e1d8e814a5
Restrict type check to type field
2017-05-06 20:45:50 -04:00
LBPHacker
e15bfac60f
Moving conditional branches around
2017-05-06 20:45:50 -04:00
jacob1
ce054bfc3f
fix misc. errors reported by clang static analyzer
2017-05-06 20:02:23 -04:00
jacob1
9b954c7ed5
CRAY(LIGH) defaults to LIGH with .life 30
2017-05-06 19:40:22 -04:00
jacob1
cdc8f64896
fix clang compile warnings, fixes #406
...
also, sim.ambientAirTemp takes floats now
2017-04-27 23:08:06 -04:00
jacob1
8d492ef549
meant to move those functions into GameSave class
2017-04-25 00:05:15 -04:00
jacob1
5ce60b5f5f
clean up massive repeated code in GameSave.cpp
2017-04-24 23:59:47 -04:00
jacob1
c98f63bd89
save ambient heat in saves, if it is enabled
2017-04-24 22:29:45 -04:00
jacob1
184777ed12
GameSave.cpp 2D array cleanup
2017-04-23 22:44:31 -04:00
jacob1
ddd326eafd
fix LSNS
2017-04-23 12:51:40 -04:00
jacob1
6d6a615a37
msvc min/max fixes
2017-04-23 12:30:39 -04:00
Tamás Bálint Misius
0fe596f741
Make RFGL and RFRG a bit more realistic ( #366 )
...
* Make RFGL and RFRG a bit more realistic.
This means that they both more or less follow Gay-Lussac's law: T2 = T1 * P2 / P1. Simple heat transer mechanism, no playing around with .life, shared update function.
* Ditch weird pressure scale
* No /0 pls
2017-04-23 11:25:42 -04:00
jacob1
40972f9434
pressure and air velocity are now saved in saves
2017-04-22 17:06:28 -04:00
jacob1
0dd1cbf050
Add C5 to phot HUD list, fixes #401
2017-04-21 20:32:12 -04:00
jacob1
866289c179
remove duplicate function, fix Simulation::GetParticleType, fixes #402
2017-04-21 20:24:24 -04:00
jacob1
01d17cb860
remove unused PSTN code (is this a sign of a bug?)
2017-04-20 21:16:25 -04:00
Nickolay
7078d7e528
Customizable FRAY and INVS ( #390 )
2017-04-20 17:37:09 -04:00
LBPHacker
3fbfb83b0e
Fix cache value from Lua graphics functions being ignored
2017-04-17 23:46:03 -04:00
jacob1
e712a8dbec
make last 3 arguments to sim.brush optional, for convenience
2017-04-17 23:28:12 -04:00
LBPHacker
e9d80fe52a
sizeof(unsigned char)
2017-04-17 23:28:12 -04:00
LBPHacker
5cf3fa3f5b
More parameters for sim.brush
2017-04-17 23:28:12 -04:00
krawthekrow
c2642f35f8
fix FRME breaking when partially blocked
2017-04-17 22:58:11 -04:00
krawthekrow
446d4412ea
fix pstn oddity
2017-04-17 22:58:11 -04:00
jacob1
076ec711a9
fix photon refraction on windows
2017-04-16 21:41:50 -04:00
jacob1
cf03731dc3
Skylark: make GRAV prettier
2017-04-11 23:15:23 -04:00
jacob1
d3f0896599
Changes by Skylark:
...
Double the preciseness of photon refracting
photon refracting efficiency improvement on GCC
CRMC now slightly scatters photons when reflecting
BGLA now scatters photons
PQRT scatters photons like QRTZ does
C5 frequency doubling, id:2087410
*slight styling changes by jacob1*
2017-04-11 23:15:01 -04:00
jacob1
bcebe7560e
fix typo in Air.cpp
2017-04-10 23:30:56 -04:00
jacob1
1af4fa912f
fix debug portal lines to the highest ID particle not working, fixes #393
2017-04-08 09:54:45 -04:00
Me4502
bda17dd62e
Fixed favorites being able to be added multiple times.
2017-04-08 09:51:50 -04:00
LBPHacker
804b33f389
Fix WIFI cooldown
...
For some reason WIFI would only add sparks to the spark queue
(sim->wireless[1]) if there was no spark added to it in the previous
frame (sim->wireless[0] in the current frame). Fixed.
2017-03-20 23:04:28 -04:00
LBPHacker
becd92bfc2
Fix downvote button not being reset when opening a local save
2017-03-19 23:16:39 -04:00
Mark Theng
1c12d1ec16
Take history snapshot before setting save ( #358 )
2017-03-19 23:15:08 -04:00
Capacitor Set
2d4c195c86
Fix memory leaks
2017-03-19 23:05:39 -04:00
jacob1
0832caa4f9
fix typo, gasses -> gases
2017-03-18 00:35:33 -04:00
jacob1
287d5f9534
minor text fixes
2017-03-05 10:56:11 -05:00
jacob1
83657e8773
disable experimental elements in mods, intro text fix for mods
2017-03-04 23:54:03 -05:00
jacob1
cd448a5747
fix Misc.cpp file_load (this function isn't used anywhere)
2017-02-27 22:28:03 -05:00
jacob1
d5347b0906
Fix test error
2017-02-26 14:02:38 -05:00
jacob1
b01e7a6a36
put #ifdef around denormal functions, they only exist when using SSE/SSE3
2017-02-20 19:15:41 -05:00
jacob1
ca792f12b5
misc compiler warning fixes (multiple compilers)
2017-02-20 19:14:50 -05:00
Issue tracking bot
d9115fc3fe
Fix -Werror=misleading-indentation ( #369 )
2017-02-20 18:51:10 -05:00
jacob1
ac8c01ae57
ensure floating point denormals aren't used, they can massively lag the air sim
2017-02-19 19:29:41 -05:00
jacob1
08a7dfebea
move undohistorylimit config pref, change default to 5
2017-02-18 23:58:14 -05:00
jacob1
61e19a3237
fix crash when undoing if there were no snapshots
2017-02-18 23:41:52 -05:00
jacob1
51eeaf218d
fix crash when doing Textbox.new()
2017-02-13 17:43:48 -05:00
jacob1
6040ccd27e
ugly fix for two empty snapshots being created on startup
2017-02-09 23:08:44 -05:00
jacob1
787939db3d
add ctrl+shift+z alternate shortcut for redo
2017-02-09 22:57:31 -05:00
jacob1
8f4e3a56bd
reduce ctrl+z snapshot memory usage
2017-02-09 22:55:05 -05:00
jacob1
a1431b6d2b
Fix memory leak
2016-11-14 10:19:49 -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
krawthekrow
63b2227802
add ctype-based filt shift modes ( #351 )
2016-11-07 18:06:43 -05:00
Tamás Bálint Misius
57f5d0f84f
Add sim.brush ( #350 )
2016-11-07 18:00:34 -05:00
Mark Theng
3a3254f38b
fix debug zeroth particle ( #352 )
2016-11-07 17:43:20 -05:00
krawthekrow
477d2be92c
always calculate tool button offsets directly from mouse position
2016-11-07 17:39:13 -05:00
krawthekrow
f5ede49362
combine GameView DoMouseMove into OnMouseMove
2016-11-07 17:39:13 -05:00
jacob1
c1fad5ebf9
linux compiling fix
2016-10-14 09:30:29 -04:00
jacob1
9e33906858
VS 2015 compiling fixes
...
note, wiki guide still doesn't work unless you also have vs2013 installed
2016-10-13 22:32:52 -04:00
jacob1
5370f07bf0
Don't control STKM when placing stamps, fixes #320
2016-10-13 20:29:10 -04:00
Tamás Bálint Misius
4aa58d6c0c
Fix crash on SPRK(ctype=0) being killed by PROT ( #344 )
2016-10-07 09:37:25 -04:00
cxi
ef9ef5bbce
Fix bug with conservation of energy in RFGL ( #338 )
2016-10-01 00:19:48 -04:00
jacob1
85e2516a42
missed movement code fixes from my mod? b7ef4c8f2b95
2016-10-01 00:16:50 -04:00
jacob1
e8b4f99644
delete old comment
2016-10-01 00:04:26 -04:00
Mark Theng
8e0708daad
fix particle debug when unpaused ( #343 )
2016-09-30 23:54:03 -04:00
jacob1
69d28bd7b0
Fix crash with really high speed photons, a check is needed here too
2016-09-24 10:07:53 -04:00
jacob1
2708c379a1
Update RFRG / RFGL element IDs
2016-09-10 13:12:39 -04:00
jacob1
f94b0489f5
fix formatting in RFRG and RFGL
2016-09-10 12:56:12 -04:00
cxi
6e6eb36bf5
RFRG and RFGL ( #315 )
2016-09-10 12:54:10 -04:00
cxi
ad4ef65cb3
Make CRAY copy its own life to particles it creates ( #335 )
2016-09-10 12:51:07 -04:00
jacob1
797f9357ff
fix float detection in console, fixes stuff like !set type all 0.8C
2016-09-10 12:46:15 -04:00
jacob1
86fef64309
Fix potential build error, fixes #333
2016-09-04 21:53:41 -04:00
jacob1
fc451e5385
don't allow publishing E182 saves
2016-09-04 21:49:24 -04:00
jacob1
9277839f11
enable E182 in snapshots
2016-09-04 21:47:45 -04:00
jacob1
8a130aaab4
add log message when particle debugging is advanced due to unpause
2016-09-04 21:42:48 -04:00
Mark Theng
8de12d616e
fix resume simulation/reload in the middle of subframe debugging ( #330 )
2016-09-04 21:33:33 -04:00
jacob1
2df333c99f
TPT is now shown in desktop menus when installing on linux
...
uses powder-48.png as icon + 3rd .desktop entry
2016-09-04 21:27:55 -04:00
jacob1
b405674d3d
minor updates to .desktop files
2016-09-04 20:17:35 -04:00
SopaXorzTaker
968116bcad
Typo in BRMT's description ( #319 )
2016-09-04 19:47:10 -04:00
jacob1
a7d108593c
convert spaces in BSON lib to tabs
2016-08-14 18:23:45 -04:00
jacob1
89e7238f3b
fix invalid read in BSON.cpp when loading some kinds of invalid saves
2016-08-14 18:18:59 -04:00
jacob1
6dc1c222bc
catch potential ParseExceptions when loading saves, use bson error handler to prevent exit(-5)
2016-08-14 18:18:59 -04:00
Simon Robertshaw
97a9f41ab9
Another experimental elemement, E182, some kind of nuclear fuel.
2016-08-07 21:36:32 +01:00
jacob1
cd41aac1f7
allow snapshots to still publish saves, as long as they don't use new features
2016-08-07 15:31:28 -04:00
Simon Robertshaw
b8e2113b05
Another experimental element, floats on water, supports other structures
2016-08-07 16:15:30 +01:00
Simon Robertshaw
4a3f3e763c
Rename experimental element
2016-08-07 16:15:01 +01:00
Simon Robertshaw
86b83798f7
More graceful exit when X11 is not available on Linux
2016-08-07 13:17:17 +01:00
Simon Robertshaw
30c7c9107d
Experimental element - extra high thermal conductivity
2016-08-06 17:35:06 +01:00
jacob1
9a855cc8cb
fix some commas in HTTP.cpp that should be semicolons
2016-08-02 08:31:33 -04:00
jacob1
07e06efbe0
New version: 91.5 (330)
2016-07-26 22:21:28 -04:00
jacob1
8cfe2af6ca
I think the word "for" made more sense before
2016-07-26 21:12:18 -04:00
cxi
e313e4bf3d
Add reporting because of tags to report dialog ( #316 )
2016-07-26 21:10:40 -04:00
jacob1
59ac872d5f
restrict saves using newer features of elements
2016-07-26 19:33:04 -04:00
jacob1
647ad902fa
take ctrl+z snapshot before placing a stamp, not after
2016-07-26 19:08:57 -04:00
jacksonmj
4f8f97d04b
Add control of gravity strength using tmp to WHOL
2016-07-26 23:26:37 +01:00
jacob1
6eb832207c
PIPE: don't try to render stickmen graphics if stickmen are inside the pipe
2016-07-25 23:59:26 -04:00
jacksonmj
fdb539064d
Prevent diffusion of stored water between GEL and SPNG if no water is stored
...
Reported by camtech56 in http://tpt.io/.293650
2016-07-26 00:59:41 +01:00
jacob1
adb200d3f7
remove commented out code, heart icon shows even when element is selected
2016-07-24 22:43:54 -04:00
jacob1
8efe8853de
allow favoriting / ctrl+alt selecting elements in element search ui
2016-07-24 22:31:31 -04:00
jacob1
ae247a2d2b
Fix uglyness with how Favorites menu was done
2016-07-24 22:30:56 -04:00
jacob1
fe4653c30e
Fix crash when BuildMenus() is run with elements in the favorites menu
2016-07-24 17:30:00 -04:00
jacob1
9cae1f0fe7
HTTP.cpp: parsing headers shouldn't be case sensitive
2016-07-24 16:28:20 -04:00
jacksonmj
f6615deed2
Fix uninitialised variable (sim->player(2).rocketBoots)
2016-07-24 20:09:28 +01:00
jacob1
70b7fee8b7
New version: 91.4 (build 329)
2016-07-24 12:41:50 -04:00
jacob1
f0f104097d
finish / fix ecb08952e5
...
must have accidentally reverted Keys.h halfway through making it?
2016-07-23 19:15:07 -04:00
jacob1
21e0c4079c
Fix LIFE tool sampling
2016-07-23 15:07:49 -04:00
jacob1
0c95c33da0
reorder deco tool IDs (to match my mod for tptmp)
2016-07-23 12:34:11 -04:00
jacob1
2b15024818
allow using C/F for temperature in PROP tool
2016-07-23 12:15:49 -04:00
jacob1
8fe78eacd8
add help text to favorite's menu tooltip when the list is empty
2016-07-23 11:58:20 -04:00
jacob1
ecb08952e5
Add SDL_keysym.h, Use official SDL constants
2016-07-19 22:42:10 -04:00
jacob1
95fde9d699
MIX won't mix together elements with different states now
2016-07-18 22:01:44 -04:00
wolfy1339
b65e94900e
Use C++ includes ( #308 )
...
Replaces stdio.h, stdlib.h, string.h, math.h, time.h, limits.h and othters with their C++ equivalents.
2016-07-17 23:37:24 -04:00
jacob1
eafd8115b0
add onlyEnabled option to tpt.num_menus (probably useless)
2016-07-17 23:36:36 -04:00
jacob1
8a0496e60a
another fix for lua key events
2016-07-17 18:19:00 -04:00
jacob1
b8cdf4ae2f
3 dots doesn't need to be a separate icon (running low on icon space)
2016-07-17 17:13:52 -04:00
SopaXorzTaker
17398dd201
RPEL's ctype sets the element it repels
2016-07-17 16:47:43 -04:00