jacob1
85ce852cbc
Auto scroll profile viewer when textbox expands, add 20000 character limit
2015-07-09 22:50:01 -04:00
jacob1
906b4a973f
profile viewer now shows age, website, and save stats
...
Also, add Multiline type textboxes (allows pressing enter) and fix some other bugs
2015-07-09 20:17:04 -04:00
jacob1
c786640c74
always use a ScrollPanel in the profile viewer
...
also fix Textbox autosize. TODO: add a bunch more info to the profile viewer
2015-07-09 14:25:01 -04:00
jacob1
732e5b8730
fix some very minor memory leaks
2015-06-30 19:06:18 -04:00
jacob1
6a88e42580
Add tooltip when hovering over any kind of link sign
2015-06-27 20:44:48 -04:00
jacob1
d67cb4b582
add new s: sign which does a save search
...
also change some searchController stuff to properly queue searches when one is already going on
2015-06-27 19:03:41 -04:00
jacob1
f95186d3b9
fix zoom window staying up if you are holding ctrl while placing it
...
press z -> ctrl, then release z -> ctrl
2015-06-26 11:48:56 -04:00
jacob1
80bf240ced
fix coordinates when placing stamps
2015-06-26 11:48:56 -04:00
Aditya Vaidya
13cc593d13
Fixed most spelling errors in code. 'originaly' is read as 'original Y', so not a typo
2015-05-18 15:16:01 -05:00
jacksonmj
34567bc496
Merge pull request #247 from ryanmjacobs:fix_pointer_checks
2015-05-16 02:19:08 +01:00
jacob1
cee08b2024
On first run, set scale to 2 if screen size is large enough
2015-05-14 23:22:20 -04:00
jacob1
0a2b60627f
change left tooltip when a local save is open
2015-05-14 22:34:28 -04:00
jacob1
8e7e8e0670
some changes to LIGH creation (mostly from lua)
2015-05-11 20:50:10 -04:00
jacob1
fef767335f
remove loggedIn variable, small change to tooltips
2015-05-11 10:53:05 -04:00
boxmein
7145cacbb9
implement HDD saving by default in GameView. update tooltips to describe behaviour.
2015-05-01 15:55:22 +03:00
boxmein
424d1d4b47
when you're not logged in, displys a not-highlighted HDD save button
2015-05-01 15:54:41 +03:00
boxmein
bf001dfd77
enable Ctrl behaviour (eg sae to HDD) without highlighting
2015-05-01 14:44:51 +03:00
boxmein
56d04fcde8
add new form of enableCtrlBehaviour for un-highlighted HDD saving
2015-05-01 14:44:22 +03:00
jacksonmj
38e21c8236
Fix crash when STOR is next to PIPE and has an invalid tmp value ( http://tpt.io/~1768004 )
2015-04-10 14:23:58 +01:00
Ryan Jacobs
55a30673c4
Remove unnecessary pointer checks.
...
There are *no* more spacing issues. I used tabs exclusively.
Also, I made changes off of the develop branch.
Here's the Ruby regex that I used:
text.gsub!(/(( |\t)*)if ?\((.*)\) ?{?\n?( |\t)*(free ?\(|delete |delete\[\] )(.*)\)?;/, "\\1\\5\\6;")
2015-02-14 22:13:26 -08:00
jacob1
57d1b4916d
fix last two PVS-Studio bugs, closes #232
2015-02-13 21:45:22 -05:00
jacob1
2c0287b71d
PARTICLEDEBUG define which turns on some particle debugging key shortcuts
...
Also fix particle updating bug
2015-02-06 20:33:10 -05:00
jacob1
b7fe998252
fix mouse coords at startup being 0,0, fix glitch that could make background windows fade completely to black
2015-01-31 14:09:50 -05:00
jacob1
ace9e36cc6
fix ALL the warnings
...
mostly just using more size_t. Also do some formatting around if statements
2015-01-16 22:35:32 -05:00
jacob1
efd69b208d
fix a ton more errors in the interface code, including all the -Wreorder ones
2015-01-16 19:58:39 -05:00
jacob1
54d985f975
gcc warning fixes (up to lua files)
2015-01-16 17:26:13 -05:00
jacob1
577ae3400f
move some stuff around (without changes) in Simulation.cpp, add sim.updateParticles function
2015-01-11 13:17:18 -05:00
jacob1
dce874484a
fix all the gcc warnings in the element files (except one in PSTN) + all the unused variable warnings
2015-01-10 22:43:33 -05:00
jacob1
e92bbac700
fix some lua crashes (use more argument checking)
2015-01-10 18:59:20 -05:00
jacob1
4f6094136e
fix renderer compile and make it create a "Save file invalid" sign when it can't render the save, fixes #97
2015-01-10 18:47:42 -05:00
jacob1
b2954a7f0a
Publish button in browser (replaces Unpublish button when unpublished saves are selected)
...
Works using the html page and isn't really the best way until @simtr implements Delete.json&Mode=Publish or something
2015-01-10 18:18:28 -05:00
jacob1
65a31bb1d1
more "thread safe" fix to save list refreshing problem
2015-01-10 13:43:15 -05:00
jacob1
1a2e3a11fc
cancel drawing when the mouse moves in / out of the zoom window, fixes #228
2015-01-10 13:35:23 -05:00
jacob1
c325543402
refresh save list after unpublishing a group of them, fixes #238
2015-01-10 12:39:19 -05:00
jacksonmj
236ff08da9
Fix some problems noted in http://www.viva64.com/en/b/0298/
...
I've left some of the less important items, like SearchView.cpp "'then' statement is equivalent to the 'else' statement", and RequestBroker::Request::~Request, because I don't feel like spending a few days entirely rewriting those files at the moment (which is what I'd end up doing if I started fixing minor problems and refactoring...)
GameSave::readOPS - not changed. At some point we may have to move to a larger type for element IDs (probably two or four bytes), but PT_NUM isn't likely to be raised to the maximum value of that type immediately, so this check will be needed then. There should be an elements[partsData[i]].Enabled check in there too, but it might be a bit difficult - I'm not sure how to access a Simulation object from GameSave::readOPS...
Notes on changes:
Graphics::textsize, Element_FRZW::Element_FRZW - typos
Button::Draw - the extra case was originally used to invert the icon (draw it in black instead of in white) when the button was clicked. However, the icon colour is now automatically set depending on the background colour. (Note similar conditions "if(Enabled) { if(isButtonDown || (isTogglable && toggle)) " near the start of the function - same logic but in a different place, setting icon colour indirectly).
Simulation::transform_save - unused redundant function, everything uses GameSave::Transform which does much the same thing.
PreviewView::NotifySaveChanged - should be height==YRES/2, it's checking whether the preview image is the correct size, and resizing it if it isn't.
Element_FWRK::update - no idea why that line was there, even though it was my commit that originally added it...
2014-12-25 17:09:35 +00:00
jacksonmj
3ea2d8013d
Correct page count in save browser
2014-12-22 01:33:55 +00:00
jacob1
3b09c4bdbc
change tooltips for the save upload button to make it more clear
2014-12-18 19:54:48 -05:00
jacob1
35782fdd10
'l' always loads last save from disk (won't load cached deleted save)
2014-12-15 15:13:37 -05:00
jacob1
9fdcc28dac
make close icon match the color of the button/text around it
2014-12-04 18:17:44 -05:00
jacob1
16ce3a68c0
more jacksonmj suggestions: save edgeMode in saves, BVBR absorption fix, life saving fix, DEUT graphics change, PROT fix, SOAP graphics fix
2014-11-21 15:41:22 -05:00
jacob1
a182e925fe
some elementpallete fixes + fix SPAWN2 ToolButton
2014-11-20 22:44:02 -05:00
jacob1
1289465a2c
update stamps.def when deleting stamps, missing stamps show up as "error loading save" and can be deleted
2014-11-11 23:48:36 -05:00
jacob1
cd9fa0c85a
Textbox in the stamp browser also
2014-11-11 19:38:29 -05:00
jacob1
efaa32363f
page textbox in browser (go to any page)
...
also fix page count (add one for front page), and make page count invisible until the saves actually load
2014-11-11 17:25:50 -05:00
jacksonmj
beff8e73ba
Fix renderer compiling
2014-11-09 21:32:06 +00:00
jacob1
46eda12479
lua logs fade out individually
2014-11-06 20:24:42 -05:00
jacob1
a801f0a0b4
allow lua mousepress event to cancel drawing, fixes #229
2014-11-06 20:06:45 -05:00
jacob1
377a99294f
this should allow you to place the zoom window while selecting an area to stamp
2014-10-31 14:09:02 -04:00
jacob1
5654425637
placing zoom window cancels shift-lines
2014-10-31 12:47:37 -04:00
jacob1
2fc1dcbe29
fix bug with placing zoom window while saving a stamp
2014-10-31 12:17:33 -04:00
jacob1
12f00db240
loop edge mode from my mod (also works with stickmen)
2014-10-24 00:18:51 -04:00
jacob1
6463d04f6c
fix a few of the most spammy warnings (there are still hundreds of warnings though)
...
TODO: actually fix all the warnings
2014-10-23 00:42:13 -04:00
jacob1
c16caed5dd
fix level 1 msvc compiling warnings + initialize debugFlags
2014-10-08 00:15:51 -04:00
jacob1
717408c9d0
also add back DebugParts
2014-09-27 23:27:41 -04:00
jacob1
32328ad4fe
re-implement tpt.setdebug
2014-09-27 22:25:15 -04:00
jacob1
507ba35ce0
new DebugInfo thing: the old debug lines
2014-09-27 21:49:00 -04:00
jacob1
6beafc354d
fix "open data folder" on windows
2014-09-23 17:06:52 -04:00
jacob1
b20db5fb8a
add a no install check define
2014-08-25 14:55:18 -04:00
jacob1
a3d594c603
command key can be used instead of ctrl on OS X
2014-08-24 00:43:52 -04:00
jacob1
d29c2cb2a5
fix tags button being too long
2014-08-23 20:05:01 -04:00
jacob1
f8782338d7
make tpt.selected* and tpt.brushx/y writable (replaces simstate branch)
2014-08-19 02:01:31 -04:00
Simon Robertshaw
0d617ace7b
Decorate thread entry points in headers
2014-08-15 22:50:28 +01:00
Simon Robertshaw
a629eb9bfc
Force stack re-alignment for entry-points from phread_create with mingw & windows to fix SSE crashes in child threads
2014-08-15 21:42:33 +01:00
jacob1
7e9c507e64
fix memory leak
2014-08-15 12:15:13 -04:00
jacob1
2416a9b454
fix being unable to click link signs unless zoom window is out
2014-08-15 11:53:18 -04:00
jacob1
ae886048f4
Disable fullscreen on OS X
2014-08-11 22:39:03 -04:00
jacob1
986b25b508
redo spark graphics, add spark render setting
2014-08-11 21:56:40 -04:00
jacob1
7740980fcc
fix crash when selecting PROP from element search, fixes #209
2014-08-11 01:00:13 -04:00
jacob1
e4b08c88cf
fix link signs preventing you from using quickoption buttons, fix being unable to place zoom window on link signs. Fixes #222
2014-08-05 19:26:21 -04:00
jacob1
10a26002b4
Add an "Open Data Folder" button in simulation settings
2014-08-05 00:20:56 -04:00
jacob1
c44e734abe
fix crashes when the selected element is NULL (via lua), add gfx.getHexColor (inverse of gfx.getColors)
2014-06-09 17:42:44 -04:00
jacob1
ec29044ce6
output log (console) messages to the console, or stdout.txt on windows
2014-06-09 16:23:18 -04:00
jacob1
6749c2547f
New SConscript (hopefully better)
...
Fixes a lot of bugs, also almost all options are no longer needed and are just auto-detected
2014-06-08 19:33:58 -04:00
mniip
44405827b0
Make the upvote more fancy and bigger
2014-06-04 00:35:40 +04:00
jacksonmj
7b9f43b8bf
Fix some missing return values
2014-05-23 00:00:54 +01:00
jacob1
7e1076ee5f
use drawtext_outline for element descriptions
2014-05-22 12:39:35 -04:00
jacob1
49996a8c02
Auto-focus more textboxes
2014-04-17 12:03:24 -04:00
jacob1
35d97eb14d
fix bug where you couldn't place stamps on top of special signs
2014-04-11 23:17:35 -04:00
jacob1
4e478cfe20
fix bug where InstantOpen never got reset after opening saves in the save browser
2014-03-27 12:21:16 -04:00
jacob1
2e6b4242d6
don't resize save buttons in the online save browser, fix selection bug in console
2014-03-25 14:44:58 -04:00
jacob1
258aaedb0a
add sim.reloadSave, tpt.selectedreplace
2014-03-13 14:44:39 -04:00
jacksonmj
c6d6011337
An ugly fix for numpad, since it seems event.key.keysym.mod isn't entirely reliable for some unknown reason
...
Partial revert of 7ce9907f82
2014-03-12 15:05:54 +00:00
jacksonmj
1ca63b3813
Add more key definitions
2014-03-12 15:04:16 +00:00
jacob1
92891f364b
fix tooltip commit
2014-03-12 00:03:32 -04:00
jacob1
7dc5139b66
toolTips on search / save simulation buttons change when ctrl is held
2014-03-11 14:04:05 -04:00
jacob1
7ce9907f82
fix textbox key repeat issue, fix numpad issue (in two ways)
2014-03-11 12:53:42 -04:00
jacksonmj
9531de49ec
Vertical flip when pasting stamps (Ctrl+shift+r)
2014-03-08 13:41:45 +00:00
jacksonmj
55fbf13157
Display numeric value of ctype instead of element name translation for elements which use it as wavelengths
2014-03-08 13:34:03 +00:00
mniip
43bff37279
fix numpad behavior: movement keys are no longer triggered with numlock on
2014-02-27 20:39:16 +04:00
mniip
55284e6313
Fix most of clipboard-related memory leaks and potential crashes; Fixes jacob#23
2014-02-25 18:44:44 +04:00
mniip
a105ed9df8
Use system clock instead of used CPU time. Fixes key repeat and some
...
other stuff. close #206
2014-02-13 00:26:34 +04:00
jacob1
d38b7b9b11
pressing tab switches between textboxes in the deco editor
2014-02-06 12:15:48 -05:00
mniip
250b522221
map numpad keys to movement keys where applicable
2014-01-30 22:22:04 +04:00
mniip
09beafed3a
Fix ParseExceptions falling through;
...
Apparently since when the RequestBroker was added, the logic has been changed,
and the exception no longer comes through PreviewController's try{} block.
2014-01-25 15:39:44 +04:00
jacob1
f66679e551
a little reorganization (maybe more later)
2014-01-20 13:52:53 -05:00
jacob1
0409d93789
signs can be moved onto the zoom window, fixes #89
2014-01-17 23:27:57 -05:00
jacob1
4e9a5bdaec
make sure comment box height and cursor position don't go too far when it's resizing, fixes #82
2014-01-17 21:49:55 -05:00
jacob1
02aba363c3
slight PROP description change, don't save invalid PROP preferences
2014-01-16 11:09:55 -05:00
mniip
69c9be0e99
implement generic property value as a union instead of void*
2014-01-16 11:00:47 -05:00
mniip
8f2fbcd9e1
brand new prop tool. draws like any other tool
2014-01-16 11:00:47 -05:00
jacob1
0d51d6bd07
manually fix bug where sometimes the top / bottom pixel of circle brushes would disappear
2014-01-07 20:46:42 -05:00
mniip
fdfaa3a29b
add defines for window resolution
...
--amend
2013-12-29 20:12:50 +04:00
mniip
bc84326ca2
Got rid of debug fps counter, just added deltatime into usual fps counter
2013-12-21 05:26:54 +04:00
mniip
c3cf0638d6
This ! shouldn't be there
2013-12-16 00:17:40 +04:00
mniip
9db1358ca3
In element search promote exact and starting position matches (finally possible to access VAC via element search)
2013-12-15 22:57:35 +04:00
mniip
5fc07b4c3c
fix PHOT/BIZ* transparency
2013-12-12 19:54:52 -05:00
mniip
12d98dada1
oooo wait, rectangle snap too
2013-12-12 16:23:58 -05:00
mniip
0fb08c5e97
fix snapping
...
why was trigonometry used in such a simple function
2013-12-13 00:55:20 +04:00
jacob1
1bce4984e3
Merge pull request #192 from mniip/tags
...
Fix tag order
2013-11-12 08:18:09 -08:00
mniip
085d0e8cb8
unused variable
2013-11-12 15:20:17 +04:00
mniip
4b914d12c2
fix tags order ( #141 )
2013-11-12 09:16:17 +04:00
mniip
2be2b6b54b
Adjust position of ContextMenu if it's too close to bottom or right edges #188
2013-11-10 12:28:29 +04:00
Simon Robertshaw
5cc69aa2a9
Skip startup install check if running on Mac OS
2013-10-30 19:48:06 +00:00
mniip
bf908bbfbf
Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions
2013-10-30 04:47:07 +04:00
Simon Robertshaw
67c82ee283
Quick fix: Fix dummy key defs used by renderer and other non-input builds
2013-10-29 20:51:44 +00:00
Simon Robertshaw
2d22776a2c
Iterate through signs in reverse order when seeking for click events in order to ensure when clicking on stacked signs the top-most sign is detected
2013-10-29 19:59:13 +00:00
Simon Robertshaw
f2e28ee667
Merge branch 'feature_sparksigns' into develop
2013-10-29 19:43:02 +00:00
jacob1
48ecbce554
f5: reload sim, f2: screenshot f3: toggle extra HUD
2013-10-26 00:17:06 -04:00
Simon Robertshaw
30d985ba77
Only cancel click events clickable signs (not all signs)
2013-10-26 01:02:20 +01:00
Simon Robertshaw
8f4296ac39
Spark sign tool, {b|sometext}, when the sign is clicked, the a spark will be created at the signs position. Also MouseDown events that draw particles from being triggered when clicking on a sign
2013-10-19 18:59:49 +01:00
jacob1
6edb96ee51
fix bottom row of saves in the save browser being cut off
2013-10-18 16:57:53 -04:00
jacob1
fd6da26b73
fix not being able to select / see all elements in menus with tons of elements
2013-10-18 16:36:37 -04:00
jacob1
ba43e4d238
revert b17ef7f938
(couldn't figure out better fix for the new PSTN bug), fix annoyance with clicking on save comments changing pages
2013-10-18 16:13:40 -04:00
jacksonmj
132755525c
Fix incorrect search page count
2013-10-17 16:09:28 +01:00
jacob1
13d89ce9e1
Fix tpt.get_numOfParts, add "C" next to temperature in HUD
2013-09-28 16:58:01 -04:00
jacksonmj
ce277a11f1
Forgot HUD description for FILT tmp=9
2013-09-15 15:44:01 +01:00
jacksonmj
7270461985
Enabled check for PIPE too
2013-09-08 11:52:44 +01:00
jacksonmj
79edfe9589
Include elements[].Enabled in check for invalid lava ctype
2013-09-08 09:26:31 +01:00
jacob1
a5cee8c393
alternate keys: semicolon for replace mode, ctrl+semicolon for specific delete (also couldn't figure out how to detect mac delete key)
2013-08-29 23:01:07 -04:00
jacob1
fd586d167f
fix bug where when sparks were reset, ctype wasn't
2013-08-29 22:44:38 -04:00
jacksonmj
268158f1dd
More FILT modes: XOR and NOT
2013-08-29 18:24:44 +01:00
jacksonmj
bebe9bd8fd
Add a way for photons to set the colour of FILT (major version bump required)
...
Also add some new FILT modes, and make FILT modes affect BIZR and
BRAY colour in the same way as they affect photon colour. Photons
passing next to DTEC will set the colour of all FILT in a straight
line starting from any FILT adjacent to the DTEC (a bit like an
ARAY beam), and the exact colour of the photon will be used for
FILT interactions instead of the colour based on temperature.
FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined
by FILT temperature. tmp=6: FILT has no effect on photon colour
(possible before by using invalid tmp modes, but here's a supported
method of doing it. Invalid tmp modes should be automatically replaced
in existing saves).
Also, FILT mode is now described in the HUD.
2013-08-29 17:19:07 +01:00
mniip
122dc294c9
Whoops forgot to replace some redundant code related to regex
2013-08-27 01:51:21 +04:00
mniip
e2cb5838c6
specially per @savask's request, put matcher into a function
...
returns 0 if no match, returns position of pipe character if there is
2013-08-22 19:50:20 +04:00
mniip
4e9fe8b8e7
regexless gameModel
2013-08-22 17:51:19 +04:00
Saveliy Skresanov
b2045b0a7f
Fix sign save/topic regex.
2013-08-22 18:43:46 +07:00
jacob1
73544bd069
probably fix issue where your name on your own saves switched between yellow and red, and save owner's comments weren't always red
2013-07-29 00:35:09 -04:00
Simon Robertshaw
387424e007
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-07-28 10:30:45 +01:00
Simon Robertshaw
8cfead7d5a
Use async requests/RequestBroker for PreviewModel
2013-07-28 10:30:32 +01:00
jacob1
a328fc519e
fix your name being red on your own saves, not yellow
2013-07-27 12:47:59 -04:00
jacob1
5518a6bcd6
fix right modifier keys
2013-07-27 11:21:42 -04:00
jacob1
3d16253319
fix ctrl check in stamp and online browsers
2013-07-27 11:19:02 -04:00
Simon Robertshaw
3edee42971
Call OnResponseReady with an identifier for the request, add a WebRequest class
2013-07-27 12:38:52 +01:00
jacob1
bfc1cf99ca
instant save option option, hold ctrl when clicking a save in the save preview to skip the entire preview and not load the comments
2013-07-25 19:43:25 -04:00
jacob1
e0913d2639
can change comment pages without the scrollwheel, click and hold scrollbar area to have it scroll to that point
2013-07-21 17:05:55 -04:00
jacob1
a63f5b875b
when scrolling up through comments, it starts at the bottom of the page instead of the top
2013-07-21 15:59:51 -04:00
jacob1
a9352008cf
your own comments are yellow, save owner's comments are red (like on the forums)
2013-07-21 15:23:41 -04:00
jacob1
da7d107f60
remove specific delete for walls, doesn't work very well and it conflicts with specific delete for elements
...
Also prevent wall replace mode, could never do anything because walls already replace everything
2013-07-18 18:54:09 -04:00
jacob1
40285e107a
flood delete will delete walls even if wall delete tool isn't selected
2013-07-18 18:30:24 -04:00
jacob1
6a4cc7e1f7
stickmen element defaults to right selected element if possible, or else still DUST
2013-07-18 17:57:04 -04:00
jacob1
aa59c89fa2
logging in in the save preview will update the login button on the main screen
2013-07-18 16:33:59 -04:00
jacob1
fe78593ca2
ability to use zoom tool while placing stamps
2013-07-18 16:01:32 -04:00
jacob1
f56a2f6000
add back replace mode and specific delete. Activated with insert key / delete key, use ctrl+alt click to select what to use for the checks
2013-07-18 15:40:32 -04:00
jacob1
a98fb2092d
click a preset once to select it, twice to switch to deco set tool. Prevent changing middle selected element in the deco editor
2013-07-17 17:21:35 -04:00
jacob1
4243987acd
black decoration preset, improve look of deco buttons a little
2013-07-17 16:53:14 -04:00
jacob1
9628a11245
save to server button is disabled when not logged in, but tags are viewable (read only)
2013-07-16 16:55:39 -04:00
jacob1
d4ff778434
small attempt to reduce spam tags
2013-07-16 16:03:26 -04:00
jacob1
19e182ae42
add back rgba images in the local/server save uploads
2013-07-16 14:48:50 -04:00
jacob1
6f29926b96
deco menu button textures (not black)
2013-07-16 13:08:57 -04:00
jacob1
5773e6afb5
fix multiple deco presets being able to be selected at once, fix "Decorations: Enable" coming up every time you open the deco editor, presets deselected when you leave editor
2013-07-16 11:24:11 -04:00
jacob1
f4432b4759
give an error when a local save isn't saved properly, instead of exiting and pretending it worked
2013-07-15 14:59:15 -04:00
jacob1
c2a9b5c6f6
fix quickoption tooltip (ctrl+g, not g)
2013-07-15 13:17:20 -04:00
jacob1
8d5fe459fe
'n' to toggle Newtonian Gravity, quickoption tooltips show which keys you need to press to toggle them
2013-07-15 13:09:19 -04:00
jacob1
01b2d55263
fix being able to draw STKM and SPWN on top of other elements
2013-07-13 14:07:19 -04:00
jacob1
896dd03d25
hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch)
2013-07-13 13:56:30 -04:00
jacob1
728d201e93
stamps and local saves rendered without fire, greatly improves loading times
2013-07-13 13:23:48 -04:00
jacob1
4bcaf7f385
fix being able to go one page too far in searches with the scroll wheel
2013-07-13 12:51:25 -04:00
jacob1
864f0e6f45
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
2013-07-13 12:06:43 -04:00
jacob1
34db317e44
update rules to fix some problems and more closely match the current rules. fixes #126
2013-07-11 23:32:39 -04:00
jacob1
a06202c78f
fixes to wall and particle floodfill. Wall fill ignores particles and always goes to the edges, while particle fill will only ignore walls it can't exist in, and flood particle erase won't check for walls / edges at all
2013-07-11 22:43:36 -04:00
jacob1
4f5c453643
if the previewmodel has exited, the running threads should delete this
2013-07-11 19:30:48 -04:00
jacob1
3203e597b9
fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio
2013-07-10 16:59:10 -04:00
jacob1
e7a3fd1c29
minor changes / fixes to last commit
2013-07-10 15:08:00 -04:00
jacob1
4f6904b1ed
redo threading in PreviewModel so that you don't have to wait for everything to load to quit, and the threads don't access any of PreviewModel's data
2013-07-10 14:53:35 -04:00
jacksonmj
1b58c1eea8
Fix #127 , threads should not be cancelled after being joined
2013-07-06 21:27:47 +01:00
jacob1
519d220101
save more settings in powder.pref like ngrav_enable, aheat_enable, pretty powders, and debug hud. Also save ambient heat in saves, and add a warning in the intro text in betas that you can't save publically
2013-07-02 15:09:00 -04:00
jacob1
76ce2de1ce
change some wall descriptions a little
2013-06-23 20:40:19 -04:00
jacob1
43540eb7e4
Add back replace mode and specific delete *
...
* only usable by Lua
2013-06-22 22:48:51 -04:00
jacob1
60b1bf5066
forgot to push this commit, SDL should only be included in 1 type of way
2013-06-22 09:36:50 -04:00
jacob1
18e2008b01
do ctrl+z snapshots when loading saves / stamps, makes it more predictable to fix problems in issue #110
2013-06-20 22:23:08 -04:00
jacob1
7a2114bc65
add error messages when errors happening while fav. / unfav.ing a save, deleting a save, or unpublishing one. Also don't use session key in url to add a comment since it isn't needed
2013-06-20 22:01:07 -04:00
jacob1
3aac957e50
HUD displays the correct name of LIFE particles in the HUD, show mouse position in HUD on the edges of the screen
2013-06-20 20:29:20 -04:00
jacob1
fcff2ecc7f
fix message when banned not fitting in the window, also partially fix issue #98 but needs to be done from the server
2013-06-20 11:19:31 -04:00
jacob1
52ec8f438b
add the single saveID copytext button into the save preview too
2013-06-09 17:13:57 -04:00
jacob1
9a25fb741c
remove debug printing I accidentally included again
2013-06-09 00:04:38 -04:00
jacob1
e13fb83ee0
SaveID Message after saving a save to the server (like the old tpt did). TODO: Put a similar button in the save preview instead of the two we have now.
2013-06-09 00:01:53 -04:00
jacob1
16cb95de64
fix problems with point queue, where it would draw a Point at A, a line from A to B, and a line from B to B every frame
2013-06-08 22:23:53 -04:00
jacob1
a1f9da2d0c
fix tpt.selectedl not changing sometimes when using the element search or sample tool. Assume that new saves will get the auto-vote, so set that too.
2013-06-08 00:23:06 -04:00
jacob1
69961956bf
fix ToolTips on split buttons not working correctly (button overrode them), fix tooltips displaying on disabled buttons
2013-06-07 20:13:18 -04:00
jacob1
1d00e712ad
save publishing info in the save upload ui
...
also fix the other crash when exiting the game from inside of one of these windows, because first Client::Shutdown would delete all active requests and only later ~Engine would delete _state, which delets the ServerSaveActivity window, which tries to close the active render request
2013-06-07 19:32:38 -04:00
jacob1
e146ae50ab
some minor changes to tools
2013-06-06 23:28:07 -04:00
jacob1
b594d68258
WIND tool creates WIND just by holding down the line tool again
2013-06-06 11:52:33 -04:00
jacob1
2119343b6a
fix sim.NUM_PARTS, other small changes
2013-06-05 23:17:34 -04:00
jacob1
875ca75b07
fix not being able to draw tool lines or boxes, but you can still press ctrl+shift before clicking to use 10x strength
2013-06-05 10:55:46 -04:00
jacob1
8d7ab7f5e2
allow creating WIND lines from lua
2013-06-01 21:57:03 -04:00
jacob1
b16524292e
fix bug where you had to start using a tool before setting it's strength
2013-05-31 19:53:32 -04:00
jacob1
d6d20defde
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-29 20:36:34 -04:00
jacob1
cbc80de652
some new sim and ren lua api functions
2013-05-29 20:35:46 -04:00
mniip
3a640fee3f
some more compiling fixes
2013-05-17 18:32:41 +04:00
jacob1
77bf649fb4
new lua sim api functions to get/set deco color, load a save, and adjust coordinates to the screen / zoom window
2013-05-16 23:12:33 -04:00
jacob1
9cd84eccde
fix tpt.selectedl sometimes being incorrect
2013-05-16 21:59:40 -04:00
jacob1
7b6ded50dc
rename GRAV back to PGRV, fix formatting in generator, remove useless file
2013-05-16 20:04:39 -04:00
jacob1
027649e858
lua simulation api functions for drawing with tools / deco
2013-05-16 19:33:30 -04:00
jacob1
3d530e4f73
fix pause button. I'm not sure why I removed that ...
2013-05-15 20:36:45 -04:00
jacob1
624f038cc9
fix downvote button not being reset when you clear a save
2013-05-15 15:14:48 -04:00
jacob1
dfc33aaeea
finish return values for the legacy api, add sim.saveStamp and sim.loadStamp
2013-05-15 13:51:45 -04:00
jacob1
94d21a1679
when called with no arguments, some tpt. functions will act as get functions (unfinished)
...
Also, redo some menu stuff to use int's instead of Menu *s, and fix bug with toggleable buttons being toggled without triggering their actions
2013-05-14 23:50:26 -04:00
jacob1
431f5a0083
lua simulation api functions for creating particles, walls, boxes, and walls
2013-05-14 14:40:18 -04:00
jacob1
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
jacob1
e5cbcecdb9
fix circle brush shape at some sizes
2013-05-13 19:07:59 -04:00
jacob1
a5ae843553
also check .Enabled in PROP
2013-05-11 22:42:58 -04:00
jacob1
135bf44347
fix bug where you could set invalid types with PROP
2013-05-11 22:29:24 -04:00
jacob1
51f27bfad7
Merge remote-tracking branch 'origin/master'
2013-05-11 21:47:13 -04:00
jacob1
9d89d4b79b
fix tooltips and dt
2013-05-11 21:43:52 -04:00
mniip
4d9b9b17d7
D:
2013-05-11 15:08:32 +04:00
Simon Robertshaw
c2cdec9e62
Togglable lua scripting
2013-05-11 11:52:35 +01:00
Simon Robertshaw
b8b5f91e20
Only free GameView if it can be closed
2013-05-06 00:24:53 +01:00
jacob1
082530d18c
fix tooltip issues in render options too
2013-05-05 00:18:28 -04:00
jacob1
4f2d24bcff
small fix
2013-05-05 00:10:57 -04:00
jacob1
b45a45ba4e
fix element scrollbar issues, fix fading of HUD/intro text, fix compiling error with last commit
2013-05-05 00:07:07 -04:00
jacob1
07486c9885
drawtext_outline to fix unreadable infotips, tooltips fade in and out (more like old tpt)
2013-05-04 23:03:59 -04:00
jacksonmj
b2153b5af4
Typo in rules
2013-05-04 17:19:25 +01:00
jacob1
f93a70edfb
ctrl+r reload shortcut, fix a few brush drawing bugs, fix stamp xor area, fix lua log text overlaps
2013-05-04 11:52:37 -04:00
Simon Robertshaw
b0f14e0c54
Fix position of scrolly bio, increase user profile window size
2013-05-04 15:18:37 +01:00
Simon Robertshaw
99c560bfd3
Prevent TUGN from breaking when resetting air
2013-05-04 15:04:19 +01:00
jacob1
ae34c43c66
update with latest rules, fix grammar, fixes #126
2013-05-03 23:54:08 -04:00
mniip
f9017bc7bb
fixed dropper debug printing
2013-04-25 22:56:41 +04:00
Simon Robertshaw
b4fb55f86e
Allow signing out and editing profile from the old login button, add a button to edit avatar (directs to the website at the moment) Allow viewing profiles by clicking avatars
2013-04-07 14:40:00 +01:00
Simon Robertshaw
bdc69f31c0
Fix includes for GUI stuff
2013-03-22 14:26:24 +00:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00