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
Simon Robertshaw
85bdeae694
Merge branch 'master' of https://github.com/simtr/The-Powder-Toy
2016-07-17 21:34:29 +01:00
Simon Robertshaw
3b106b7c22
Crash fix for wall drawing when OpenGL is enabled.
2016-07-17 21:33:54 +01:00
cxi1
0c972469b8
Improve consistency of error messages, use InformationMessage instead of ErrorMessage
2016-07-17 16:27:13 -04:00
jacob1
4ec4b32021
Add font editor from my mod, add two new icons for favorites menu
2016-07-16 21:10:03 -04:00
jacob1
443c81e67a
extra sanity check (was needed in my mod)
2016-07-16 00:50:09 -04:00
jacksonmj
57a3121a51
Limit MERC tmp to valid range
...
This preents "anti-mercury" (negative tmp from console) and also
slightly reduces how overpowered it can be in walls (enormous positive
tmp from console).
2016-07-16 01:16:04 +01:00
jacob1
bc1dd6748c
Fix double screen mode fail
2016-07-13 00:15:57 -04:00
cxi
7251f645e4
Increase speed of MIX tool and make it work with liquids ( #306 )
...
* Make MIX tool work with liquids and gases
2016-07-12 23:34:08 -04:00
Simon Robertshaw
5b525852b4
More OS X compatibility fixes with OpenGL
2016-07-12 22:34:31 +01:00
Simon Robertshaw
6cfaeb9c5c
OpenGL UI fixes for on OS X/all platforms
...
- Reinitialise textures after SDL_SetVideoMode
- Fix header includes and remove GLEW setup on OSX
2016-07-12 21:31:29 +01:00
Simon Robertshaw
b66ca770da
Performance optimisation for blitting loops and depth3d
2016-07-12 19:48:58 +01:00
jacob1
8146598967
fix blank screen when hitting "Cancel" on double screen dialog
2016-07-10 17:38:19 -04:00
jacob1
a3865c8f49
remove debugging stuff
2016-07-09 19:07:03 -04:00
jacob1
16b93083d4
Changes to support starcatcher build server with updates
...
Cherry-picked from 3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
2016-07-09 19:00:54 -04:00
jacob1
b75c8318e4
add tpt.num_menus and tpt.menu_enabled functions
2016-07-08 20:33:01 -04:00
jacob1
88097496af
Allow hiding menusections
...
Cherry-picked from 75437c7d4c
2016-07-08 19:58:21 -04:00
jacob1
111468c672
Fix not being able to turn off FIND tool when a life element is selected
2016-07-08 19:41:55 -04:00
jacob1
e68dd74b68
less scary report message
2016-07-03 12:51:40 -04:00
jacob1
ecddfcbc0d
don't reset edge mode when saving local saves
2016-06-30 08:16:53 -04:00
jacob1
dfdee7afeb
delete UTF-8 BOMs
2016-06-25 12:16:40 -04:00
jacob1
4190946de5
fix warning+exit crash, fix menusection offset resetting when menus are rebuilt
2016-06-25 11:56:03 -04:00
Matthew Miller
083d488566
Added a favorites menu. ( #298 )
...
Added a favorites menu.
2016-06-25 11:55:18 -04:00
jacob1
9a18338476
remove debugging thing
2016-06-11 23:50:46 -04:00
jacob1
2a541bd2f5
fix for lua keydown events, send 'j' when ctrl+somekey is pressed, not ^J
2016-06-11 15:54:19 -04:00
jacob1
7e4924e7ab
windows pthread_t is uncooperative, just check this instead
2016-06-11 13:08:27 -04:00
jacob1
5b5390f822
attempted error fix
2016-06-11 12:57:13 -04:00
jacob1
337a929cc3
A few description updates from boxmein. Closes #282
...
I don't think we need to add the element name for elements like ACID in the description when it is already obvious
2016-06-11 11:00:06 -04:00
SopaXorzTaker
0af4b54bc3
extra NULL check
...
It is undefined behavior what happens when you try to call pthread_join on a NULL thread (which will happen if you close the game before opening the save browser). Seems to be harmless, but make sure we don't do that just in case --jacob1
2016-06-11 10:46:59 -04:00
SopaXorzTaker
c85ac21d84
Fix gravity field appearing after ctrl+z even if gravity is off, Fixes #293
2016-06-11 10:29:09 -04:00
jacob1
d63c6012c6
force a stacking check when undoing (id:1997880)
2016-06-11 10:21:25 -04:00
SopaXorzTaker
fbd75c6293
This effect is called "3D anaglyph" ( #292 )
2016-05-26 18:48:18 -04:00
jacob1
ce55c8e58b
Fix --opengl-render option. Please NEVER use this option though
2016-05-14 09:44:49 -04:00
jacob1
63ac47a270
update .life properly when using particle debug shortcuts
2016-04-30 10:50:48 -04:00
jacob1
64f81000cd
Fix typo
2016-04-27 00:00:28 -04:00
jacob1
a8427ef33a
only use -Wno-unused-result on Linux, also actually fix the unused results that we could possibly care about
...
Fixes cross compilers, TODO: I don't think scons can check if a flag exists but might support adding a test for that, even if through hacky means, like CheckFramework
2016-04-26 23:55:14 -04:00
jacob1
6624550dc1
fix a ton of build server warnings (they were all the same)
2016-04-26 23:28:52 -04:00
jacob1
7a18f6ec09
maybe compile fix
2016-04-26 23:22:36 -04:00
jacob1
1c15b426d5
Fix ctrl+MIX not actually doing anything, and shift+MIX being too powerful
2016-04-26 23:15:33 -04:00
jacob1
57be4ef498
'character' is always 0 in sdl keyup event, so just send 'key' instead to lua keyup events
2016-04-26 22:42:57 -04:00
jacob1
6b6bd67a9f
extra debugging thing for visual studio
...
I think this prevents random "exited with code 3" errors, but I can't remember ...
2016-04-23 11:39:06 -04:00
jacob1
5cab8f45f2
Fix 'n' toggle also resetting air
2016-04-23 11:39:06 -04:00
Simon Robertshaw
17cdf980cb
Remove commented code from MIX.cpp
2016-04-17 21:56:39 +01:00
Simon Robertshaw
e7b0e3f90d
Particle/powder mixing tool
2016-04-17 21:55:08 +01:00
jacob1
1171c308e1
Fix warnings, fix crash when ctrl+click opening a save
2016-04-02 20:47:50 -04:00
jacob1
0b1ffbcfd6
probably fix uninitialized thing in VIBR, might spend longer later messing with d4zk1tty's fuzzer script
2016-04-02 01:04:13 -04:00
jacob1
21e3a50096
91.3.328
2016-04-02 00:44:38 -04:00
jacob1
623d9ca4b9
save double scale mode setting on exit
2016-04-02 00:39:51 -04:00
jacob1
51ff868935
use user-set edge mode when saving powder.pref, not the one from the open save
2016-04-02 00:25:05 -04:00
jacob1
59d69ac8d0
revert THDR being changed to an energy particle
...
was causing issues that I forgot already so it is easier to just undo it
2016-04-02 00:21:13 -04:00
jacob1
aa99258101
more cleanup so that 3D can stay a more permanent thing
2016-04-02 00:10:15 -04:00
jacob1
30e82851bc
Fixes to 3D mode (mostly fixes it on OS X)
2016-04-01 22:06:21 -04:00
jacob1
4c066cd7a7
another blind compile fix
2016-03-31 22:50:03 -04:00
jacob1
0ebe2ed2b8
add newline to the end of tpt-thread.h because windows cross compiler really hates the lack of one
2016-03-31 22:38:47 -04:00
jacob1
0fbb3bb27f
fix compile error with renderer
2016-03-31 22:38:28 -04:00
jacob1
33aad70294
Version 91.2.327 (hopefully updating works)
2016-03-31 22:10:18 -04:00
jacob1
46d096206f
Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience
2016-03-31 22:08:04 -04:00
jacob1
535ade0ec4
InformationMessage expands like the other dialogs, "numeric" textboxes now allow negative numbers
2016-03-31 22:05:55 -04:00
jacob1
ad49bfbb82
ALL CAPS R COOL
2016-03-27 11:46:30 -04:00
jacob1
40c2ff27b0
Test using DownloadManager from my mod instead of RequestBroker
...
The crash when opening saves on mac is definitely something to do with the threading, and i'd rather just test this first to see if it fixes it
Copied from my mod almost entirely as-is, with the changes to HTTP.cpp included, also added locks into Download.cpp even though it is probably overkill
2016-03-27 11:41:36 -04:00
jacob1
49fac83995
New version: 91.1.325
2016-03-23 20:28:55 -04:00
jacob1
81c68c46b0
Check for beta updates even if not a beta
...
The site has been updated to not send beta update information unless user is enrolled in beta updates
2016-03-13 23:35:29 -04:00
jacob1
15068552b5
really fix the remainders in loop edge mode
2016-03-12 13:54:50 -05:00
jacob1
0b0c73647a
don't remder AMTR as a gas
2016-03-12 13:39:54 -05:00
jacob1
3a76c1cadf
fix PBCN(LIGH)
2016-03-12 13:32:12 -05:00
jacob1
ccec5fbff4
that .5f should have been ouside the remainder_p
...
also fix random compile warning (error?)
2016-03-12 13:24:59 -05:00
jacob1
d334209027
loop edge mode: allow particles to have velocities greater than the size of the screen
...
Also, added terminal velocity for stickmen
2016-03-12 13:14:34 -05:00
jacob1
13d3547211
Compiling fix for scons on windows
...
something is up with the pthreads library (dynamic compiles still broken), probably windows libraries all need to be recompiled and distributed separately like I did for visual studio
2016-03-12 00:36:11 -05:00
jacob1
1ef8b0c08b
Fix progress disappearing on hover in the local save browser, fixes #287
2016-03-09 23:30:05 -05:00
jacob1
66aeb84354
disable HIGH_QUALITY_RESAMPLE when compiling debug builds for OS X
...
crashes my compiler ...
2016-03-07 21:01:33 -05:00
jacob1
16ee8711bb
update version number to 91.0.324
2016-03-05 21:51:52 -05:00
jacob1
10262b87da
remove PARTICLEDEBUG define and replace it with tpt.setdebug(0x8) to activate the key shortcuts
2016-02-24 22:06:43 -05:00
jacob1
983ed4eb53
use json page when publishing saves from save browser
2016-02-24 22:06:43 -05:00
jacob1
be170fe73d
prevent errors being printed to stderr when opening saves
...
adding a hack onto a hack
2016-02-13 16:23:57 -05:00
jacob1
926f556bcc
fix compile error
2016-01-31 22:59:29 -05:00
jacob1
36e8f6d900
show confirm dialog for double screen mode in case of false detections
2016-01-31 22:30:39 -05:00
jacob1
aa108be3df
Pass in actual character sdl saw into keypress functions
...
Previously you couldn't detect what shift+somekey would do on alternate keyboard layours.
2016-01-31 21:39:39 -05:00
jacob1
28598a43be
another compiler fix (include <stdexcept> manually)
2016-01-26 00:31:05 -05:00
jacob1
4e484ae2a4
compiler fixes, apparently using [] as intended is ambiguous ...
2016-01-26 00:24:14 -05:00
jacob1
ac03162cc2
remove cajun library
2016-01-25 23:53:00 -05:00
jacob1
855d735b50
replace the rest of the cajun references with jsoncpp
2016-01-25 23:52:46 -05:00
jacob1
df1a2243fd
use jsoncpp for ParseServerReturn and startup check
2016-01-25 22:58:09 -05:00
jacob1
5c1cc0c0fb
rewrite powder.pref handling to use jsoncpp instead of cajun
...
cajun is a hard to use library with many necessary features missing. It also has been causing the windows version, and probably the mac version, to randomly crash.
Other json stuff still uses cajun (TODO: remove)
2016-01-25 22:30:43 -05:00
jacob1
82dc5e1f71
don't save powder.pref in a .plist file on OS X
...
untested, but it didn't make sense how we were doing it anyway. Also, it was spelled wrong
2016-01-24 15:44:13 -05:00
jacob1
3cf5395697
make jacobot / boxmein have blue nicks in save comments (hack)
2016-01-16 11:39:04 -05:00
jacob1
f6d82b6f8a
separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console
2016-01-11 22:38:42 -05:00
jacob1
d3c44dbffa
fix deco color being reset to 0x00000000 when loading a lua element
2016-01-10 22:48:45 -05:00
jacob1
7073c1bf9c
remove unnecessary / broken if statements
2016-01-10 22:32:18 -05:00
jacob1
226a66a860
add ctrl+f shortcut to easily locate elements in red from my mod
...
doesn't support walls or better life finding because tools are much harder to work with here
2016-01-10 22:23:06 -05:00
jacob1
85d89e9f87
simpler version of 9a2b7749c7
(gravity wall change)
...
All gravity sources are now prevented, now just the specific elements that create gravity.
2016-01-05 23:12:12 -05:00
jacob1
adf0fa72df
Actually use .Properties instead of .Falldown for wall blocking
2015-12-30 23:45:05 -05:00
jacob1
8630b0a926
change CRMC creation reaction from BREL + LAVA(CLST) to LAVA(QRTZ) + LAVA(CLST)
...
BREL didn't make much sense, and this one is funner
2015-12-27 21:28:57 -05:00
jacob1
c76ec2be43
PHOT going through turned off GPMP turns into GRVT
...
GRVT .tmp depends on the GPMP temp
2015-12-26 01:24:22 -05:00
jacob1
9a2b7749c7
Newtonian Gravity sources inside of a no gravity grav wall zone no longer generate gravity
2015-12-26 01:23:53 -05:00
jacob1
c73d81b277
fix renderer trying to use SDL
2015-12-19 16:36:17 -05:00
jacob1
2725a32b8e
Fix NTCT / PTCT / INWR triggering EMP blasts ...
2015-12-19 02:44:20 -05:00
jacob1
d92f356f8d
probably fix compile error
2015-12-19 02:12:15 -05:00
jacob1
5ba34021bc
jacksonmj: Reduce ETRD lag e7c4b989654e
...
Improvement isn't as good as the EMP one in normal cases, but for intentional lag bomb saves it is much better. Tested it and confirmed it worked just like before this commit. etrd_life0_count is hopefully valid, the accuracy may not be as good as in jacksonmj's fork
2015-12-19 01:39:03 -05:00
jacob1
af48997228
fix mistake in EMP.cpp, add license header in Probability.cpp
2015-12-18 23:23:44 -05:00
jacob1
52a22bc7d6
jacksonmj: Move EMP triggering into SPRK_update 6ae719deb70d
2015-12-18 23:17:25 -05:00
jacob1
bb9b35f01d
jacksonmj: EMP lag is hereby banished. eeef50c0fcba
...
EMP destruction loop now happens once per frame instead of once per EMP
particle.
2015-12-18 23:10:28 -05:00
jacob1
74b8ba8a07
fix for previous commit, make sure .ctype is valid
2015-12-18 20:05:52 -05:00
jacob1
139bdd7f4d
fix STKM being unable to pick up most energy particles, or LOLZ/LOVE
2015-12-18 20:02:53 -05:00
jacksonmj
edf180b94e
SPRK(ETRD): Check life value of destination before conducting
...
This prevents ETRD conducting to neighbours which are still in the
cooldown period after the previous spark. This is for consistency with
all other conduction rules, and to prevent behaviour being dependent
on particle order.
2015-12-18 23:39:03 +00:00
jacob1
37eb674d40
fix being unable to set floating point values in element.property
...
broken in e92bbac700
2015-12-18 18:21:04 -05:00
jacob1
07be209094
remove extra spacing in all the element files
2015-12-18 02:27:19 -05:00
jacob1
b9c3eeae92
Allow old lua scripts which use state to work
2015-12-18 02:07:16 -05:00
jacob1
95ab91e91d
Remove .State property from all element files
2015-12-18 01:51:22 -05:00
jacob1
f1ea32516d
jacksonmj: Stop using Element.State 618c4b5ce5cd
2015-12-18 01:14:31 -05:00
jacob1
bfc19d1fd7
revert pull request #258 ( e308dd73bb
)
...
Causes some issues with particle movement which was breaking some saves, and the previous commit still fixes these elements to move through gas wall instead of powder wall
2015-12-18 00:56:42 -05:00
jacob1
3226ce0ac2
jacksonmj: Always use Properties instead of Falldown to decide whether particles can pass through walls e52a62354473
2015-12-18 00:51:04 -05:00
jacob1
d2807cb28f
Change AMTR and MORT to TYPE_GAS, and THDR to TYPE_ENERGY
2015-12-18 00:48:07 -05:00
jacob1
76aeef24a4
ctrl+a support in Labels
2015-12-18 00:33:40 -05:00
jacob1
762093371b
fix crash from previous commit
2015-12-16 14:06:44 -05:00
jacob1
8d4e333986
Overwriting a local save now updates the reload button save, add message to confirm that local save was successful, fixes #274
2015-12-16 14:02:03 -05:00
jacob1
16e3532980
fix 'large screen' description
2015-12-15 02:27:55 -05:00
jacob1
f63c3072a4
fix crash when doing simulation = nil in the console
2015-12-11 12:05:00 -05:00
jacob1
6930d830bf
shouldn't return an error in whatever case this is (reverted from commit ec99fcdf5d
)
2015-12-02 11:25:24 -05:00
jacob1
ec99fcdf5d
shouldn't return an error in whatever case this is
2015-12-01 01:15:30 -05:00
jacob1
5afb95dcf1
change shift+wind tool to not always act like alt was pressed
2015-11-30 19:19:50 -05:00
jacob1
9cab6959b6
fix flood fill delete on normal particles also deleting photons
2015-11-30 14:20:37 -05:00
jacob1
998f5a4cad
fix infinite loop error message sometimes always coming up on startup
2015-11-29 01:59:36 -05:00
jacob1
5be9773eca
fix another crash with invalid SOAP (soap was detached before SOAP update function ran)
2015-11-22 17:53:22 -05:00
jacob1
7a78b91f4f
reformat ARAY.cpp because coding style was really hard to read
2015-11-22 00:12:10 -05:00
jacksonmj
d1dcae5574
Only show wavelengths in HUD if there is at least one valid wavelength
2015-10-29 07:15:02 +00:00
jacob1
9a9f80fefa
don't add extra newlines when downloading scripts via tpt.getscript
2015-10-23 00:18:41 -04:00
jacob1
dc679d7eb0
Add more elements to .tmp2 list, use local varibles instead of constantly accessing sample.particle.type
2015-10-22 21:39:12 -04:00
jacob1
46dc5da455
fullscreen only blocked on OS X when not using SDL 1.2.15 (untested)
2015-10-22 20:14:56 -04:00
jacksonmj
d0cf82de03
PSTN: compatibility with old saves with non-PSTN particles layered on top of the starting PSTN particle
...
P.S. don't use layering, this commit is exactly why it's bad. Layering makes adding new functionality without changing existing behaviour much more difficult, and makes the code more complicated than necessary.
2015-10-22 22:39:08 +01:00
jBot-42
6ee0bc4cda
remove stor and pipe
2015-10-18 18:36:22 -07:00
jBot-42
cf615c323f
Show Tmp2 in HUD for elements that use it
2015-10-17 18:18:19 -07:00
jacob1
7fcc056cb6
fix really fast particles moving through EHOLE
2015-10-15 00:26:57 -04:00
jacksonmj
bb455ea893
Add more breaks.
...
Fixes tmp values being set to 0 for CRAY.
2015-10-13 10:23:19 +01:00
jacob1
31b1e6aace
only require version 91.0, will add note on snapshot page about possibly breaking
2015-10-12 21:52:26 -04:00
jacksonmj
d0445258c5
CONV tmp value can now be used to restrict which elements get converted. Requires version bump to 92.
2015-10-13 01:33:19 +01:00
jacksonmj
d88c18adaf
Fix collision detection for liquids on top of streamlines
2015-10-13 00:49:42 +01:00
jacob1
59377e49e5
fix 'Prev' button placement
2015-10-11 02:05:49 -04:00
jacob1
f435cf3881
fix edge mode not loading properly in saves, options menu uses edge mode from Simulation and not GameModel
2015-10-10 18:10:17 -04:00
jacob1
a8c141c144
show more specific error when catching json exceptions
2015-10-10 17:39:47 -04:00
jacob1
da53e7de78
fix error parsing json with \u
2015-10-10 17:37:36 -04:00
jacob1
3cc27a7c9b
Reupload -> Re-upload (cracker64 complaint)
2015-10-10 01:22:39 -04:00
jacob1
66863b7578
update last tool and drawMode when clicking too, fixes some issues
2015-10-10 01:17:19 -04:00
jacob1
d4e3196070
fix wall brush displaying incorrectly when drawing boxes
2015-10-10 00:53:21 -04:00
jacob1
bff6dedd48
show cursor when drawing even when mouse is out of bounds
2015-10-10 00:34:27 -04:00
jacob1
286dd02dad
Ignore "Unspecified Error" when searching for saves
2015-10-10 00:32:09 -04:00
jacob1
bc112b54df
initialize GoL variables, add sim.gspeed function
2015-10-10 00:03:04 -04:00
cracker64
9a65d60c6e
Now with 100% less =( .
...
Hot FWRK less laggy.
Define more constant floats.
Pump will now work at x=4,y=4.
Revert a DEUT change
2015-10-08 12:48:56 -04:00
cracker64
3263c9437a
Jacob's laziness made me do this again.
...
CELL checks +-1 aren't required.
Moo
2015-10-08 01:48:44 -04:00
jacob1
63843c2bd7
add new minimumVersion setting in saves, can restrict the smallest version of TPT that is able to open the save. Uses major/minor version for this
...
Also add RESTRICTVERSION macro to help when adding restrictions later
Also show errors when opening broken stamps now too
2015-10-02 21:25:15 -04:00
jacksonmj
1bd861719f
Turn "save from newer version" back into an error, until an improved method of checking compatibility can be devised
2015-10-02 21:10:06 +01:00
jacob1
cd3d54d3bd
use a ScrollPanel in ConfirmPrompt (supports longer changelogs)
2015-10-01 23:32:17 -04:00
jacob1
91cf20e521
prevent tool buttons from being longer than 7 characters
...
for i=1,250 do elements.property(i,"Name",(("ALL BASE BELONG TO US "):rep(20)..(" "):rep(120)..string.char(10)):rep(70)) end
Could prevent it from lua, but too much work for no reason. Still allows SPWN2 button to work.
2015-10-01 22:55:32 -04:00
jacob1
55d20f1bb2
Adding a comment updates the comment total / number of pages
2015-10-01 22:26:23 -04:00
jacob1
b184c78cff
"Save from a newer version" is now just a warning (OPS format never changes)
...
Also, actual save errors now prevent you from clicking "Open" (which allowed you to vote and do other stuff even though the save was never loaded)
2015-10-01 21:35:40 -04:00
jacob1
9c44fc641c
fix crash with sim.floodWalls(1,1,4,0)
2015-09-29 00:09:41 -04:00
jacob1
1f7b6a6bb4
fix wind line from lua changing brush size, allow setting wind tool strength
2015-09-28 23:53:14 -04:00
jacob1
0a907c5177
fix bug if the first space after the DRAY was empty, fix bug with DRAY's ctype sometimes not working
2015-09-28 11:28:19 -04:00
jacob1
93d6816740
Send username with alternate update server request
2015-09-26 16:50:02 -04:00
jacob1
cae8c9e095
fix some compile errors with last commit, remove snapshot version info from HUD and add to intro text instead, add tpt.version.snapshot
2015-09-26 14:56:37 -04:00
jacob1
908f60d47a
support alternate update servers, and optional changelogs
2015-09-26 11:47:51 -04:00
jacob1
cf5ec57ab3
prevent 'z' keypresses while doing stamp stuff, add skipDraw variable to prevent wasted drawing calls
2015-09-25 15:43:13 -04:00
jacob1
74471dcda4
DRAY only copies enery or non-energy particles, depending on the first one it sees
2015-09-25 13:52:59 -04:00
jacob1
b2840de173
mouse drawing triggered on mouse move, flood fill triggered on mouse down/move/up
2015-09-25 13:17:24 -04:00
jacob1
610cd82f0d
remove bad wind tool exception, make sure UpdateDrawMode() is called on zoom mouseups
...
should be pretty easy to remove any remaining tptmp syncing issues now. There are still a few possible bugs in my list but they require a mouse to test ...
2015-09-24 02:14:56 -04:00
jacob1
5acf366d70
fix terrible mouse bug from last commit, redo tool strengths to be less buggy and only ever have an effect on normal drawing (not lines / boxes)
2015-09-24 01:39:20 -04:00
jacob1
e5ef3cd4a8
More changes to ensure that switching between selectMode stuff works properly (won't get stuck or trigger on mouseup when it shouldn't)
...
Hopefully no bugs but lots of the previous commits had bugs.
Also, remove wasd shortcuts for shifting stamps because they conflicted with being able to press 's' to switch selectMode at any point.
2015-09-24 01:11:49 -04:00
jacob1
a0c77fe6e8
fix it being impossible to select wall menu, add wall identifiers from my mod
2015-09-24 00:26:37 -04:00
jacob1
4594de57b0
allow DRAY to copy energy particles
2015-09-24 00:14:28 -04:00
jacob1
dab25160cc
last commit was buggy, this tiny rewrite should be perfect
2015-09-22 22:52:25 -04:00
jacob1
a81a41b67f
fix being able to change between box/line/flood fill while drawing (by releasing keys), a bunch of other extremely obscure fixes
2015-09-22 21:40:19 -04:00
jacob1
13a71b611a
more tptmp mouse fixes, fix buttons and menusection buttons staying highlighted sometimes
2015-09-22 19:59:31 -04:00
jacob1
f230ac8945
send fake lua key release event when going into another interface
2015-09-21 19:50:03 -04:00
jacob1
cacef125c6
tptmp mouse syncing fix
...
mouse lines now end on the point where the mouse is lifted up as intended, instead of at the point where the mouse is at the end of the frame
also remove unneeded variable
2015-09-21 19:33:27 -04:00
jacob1
6fc787502c
remove debug logging from last commit
2015-09-21 02:14:45 -04:00
jacob1
6ae3593465
remove pointQueue, replace with something that works properly
...
No longer draws a single point by itself at the start, and draws a final line to the point where the mouse is released
2015-09-21 02:13:01 -04:00
jacob1
16781bcb8e
two new lua mouse up events (4 & 5) for some corner cases
...
Also fixes mouse held event being stuck in one of those cases
2015-09-20 21:40:00 -04:00
jacob1
cd97d6364b
add comma before Newtonian Gravity in HUD
2015-09-20 17:29:30 -04:00
jBot-42
78c700a62b
Added ambient heat to the HUD
2015-09-20 17:26:38 -04:00
jacob1
9b9555226b
fix compiling in visual studio, fix maybe bug with updates?
2015-09-20 00:59:37 -04:00
jacob1
722b9d93d6
a few minor improvements so that stamps are more consistent in tpt++ / my mod
2015-09-19 21:19:17 -04:00
jacob1
71d75e37e3
you can now press any key while loading / saving stamps
...
This means you can do stuff like press 'l' while saving a stamp, pressing 'k' while placing a stamp, press 's' while copying an area, and it will cancel the old action and start a new one
also, 'l' doesn't reset mouse to DrawPoints state
2015-09-19 20:51:54 -04:00
jacob1
6230bc70b1
fix some buttons remaining visible in the stamp browser while covered up
2015-09-19 20:33:30 -04:00
jacob1
8ecb2682aa
modifier keys are now checked when doing stamp stuff
2015-09-19 20:20:32 -04:00
jacob1
bbdbb67079
fix tpt.brushx returning incorrect value when brush is updated with tpt.brushID
2015-09-19 20:01:53 -04:00
jBot-42
146fc4d5fa
Move GBMB to Force Menu
2015-09-18 15:46:53 -04:00
jacob1
f5774ad9b9
update tpt.getscript to use starcatcher.us
2015-09-18 13:00:01 -04:00
jacob1
e9043c93aa
fix lua windows to allow -1 for position again (centers the window)
2015-09-16 01:48:15 -04:00
jacob1
81b2efaf5b
fix textbox crash, fix ctrl+c / ctrl+x to not copy an empty string when the textbox is empty
2015-09-11 13:08:56 -04:00
jacob1
a629979d8b
fix tpt.reset_spark to also reset WIFI
2015-09-10 23:59:13 -04:00
jacob1
f827e125cb
fix sim.loadStamp / tptmp crash
2015-09-10 13:07:52 -04:00
jacob1
fee8516157
new function tpt.confirm (confirm prompt which returns true or false)
2015-09-08 01:27:20 -04:00
jacob1
cd9d13503a
render modes interface can be exited with ESC
2015-09-01 13:31:28 -04:00
jacob1
b0ce2ee615
only automatically use scale 2 if there is a little more space than required (just in case)
2015-09-01 12:39:58 -04:00
jacob1
5433766311
fix ETRD creating plasma as if it were created by the brush (-2)
2015-09-01 12:26:06 -04:00
jacob1
2e32fba4d9
fix GRAV and EXOT button colors
...
this also fixes GRAV with pretty powders on. TODO: maybe use old GRAV color cycling
2015-09-01 01:46:33 -04:00
jacob1
fbbc755283
resetting sparks resets any sparks in WIFI too
2015-09-01 01:27:03 -04:00
jacob1
476c2cce06
new sim.signs api
...
It is a metatable that can set/read text, x, y, and justification; and also read displayText, screenX, screenW, width, and height
There is also a function sim.signs.new, it returns the new sign id or nil if it can't create a new sign
2015-09-01 00:57:31 -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
9048a3c50e
new lua API: platform
...
you can get current OS / build information, exe name, restart tpt, open a link in the web browser, and use clipboard copy/paste functions
Also remove some older Platform.h file which wasn't really needed or used
2015-08-31 23:33:40 -04:00