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
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
c0c550e920
Add a new font editor
2018-04-29 18:49:40 +03:00
mniip
04c875120a
fix some tools' icons breaking their bounding box
2018-04-29 04:23:03 +03:00
jacob1
db8b32363e
remove tpt-math.h includes
2018-04-28 00:09:14 -04:00
Saveliy Skresanov
cda029ff42
Use xoroshiro128+ random generator (everywhere besides BSON code).
2018-04-23 22:47:44 +07: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
wolfy1339
27f6a6b297
Strip whitespace from files in repo ( #553 )
2018-04-03 21:46:01 -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
f2ac8a951c
add ctrl+q shortcut to exit the game from anywhere
2018-03-10 16:01:14 -05:00
jacob1
b07e8d93d5
When finding particles, show how many were found in HUD
2018-03-07 23:19:55 -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
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
f9b5c6bb1a
use std::string instead of c strings for sign stuff, fixes #545
2018-03-03 20:44:03 -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
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
ac24810da5
add some defines to reduce usages of hardcoded r>>8
2017-12-28 12:03:26 -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
krawthekrow
68af269b76
sort local saves alphabetically
2017-12-19 21:15:06 -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
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
Matthew Moore
7d4010d2df
Fix Newtonian Gravity Tooltip
2017-10-24 22:30:39 -04:00
QuanTech0
c52c2d7a6f
Expanding vocabulary.
...
:)
2017-10-07 17:32:28 -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
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
55b31d6f0e
my mod uses -1 for this
2017-08-05 21:47:39 -04:00
jacob1
fd91fa4438
'enter' closes SaveIDMessage interface after uploading a save
2017-08-03 23:27:58 -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
ac489c9295
hide .tmp in HUD for RFRG and RFGL
2017-07-29 22:54:39 -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
cbad202ac2
fix brush when CELL is changed to 1
2017-07-28 19:40:50 -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
1cfd9d8fc7
only display updates based on build number, not version number
2017-07-23 16:41:38 -04:00