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