jacob1
5caf8bc8e1
allow longer signs, add 'None' justification where the pointer line isn't drawn
...
signs have a longer width limit and hard 45 character limit from the textbox and when loading saves
2015-08-29 18:56:38 -04:00
jacob1
9f9fef6cad
Add new function ParseServerReturn, try to properly display all http errors
...
Also fix crash with invalid ptsave link, and fix some cases where it wouldn't ever tell you it errored
2015-08-29 13:14:17 -04:00
jacob1
052681ef2b
fix crash when using LIGH (base class should be ElementTool, not Tool)
2015-08-28 16:12:45 -04:00
jacob1
15537d4eff
"Enabled" setting of button is now the old unused "Locked" setting of Components, also fix graphical bug with disabled buttons
2015-07-15 00:49:06 -04:00
jacob1
e990eead10
add CleanText function from my mod, used when copying / pasting / loading signs
2015-07-10 00:05:58 -04:00
jacob1
67bcd5e863
style improvements in Window.cpp / Window.h
2015-07-09 22:59:01 -04:00
jacob1
f65c4363b1
hovered / focused components are always drawn last
2015-07-09 22:58:19 -04:00
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