jacksonmj
7fdc4dc83b
Mismatched new[]/delete in WebRequest::Process()
2013-12-23 19:16:04 +00:00
jacksonmj
4459bf5363
Also, mismatched new[]/delete in APIRequest::Process()
2013-12-23 17:21:14 +00:00
jacksonmj
aa74deb6d5
Mismatched new[]/delete for serialised GameSave data
2013-12-23 17:17:40 +00:00
Simon Robertshaw
e1616fdd82
Hotfix: Don't open saves larger than 200MB
2013-12-08 16:58:17 +00:00
Simon Robertshaw
c75a5a1f80
Remove debug logging for user pref reading/writing
2013-11-19 21:25:03 +00:00
Simon Robertshaw
fc25d5a466
Use NSUserDefaults for powder.pref storage on OS X, fix initial file open handling on OS X
2013-11-18 21:54:41 +00:00
mniip
4b914d12c2
fix tags order ( #141 )
2013-11-12 09:16:17 +04:00
jacksonmj
75b7b85703
Fix sign duplication when loading a save
2013-11-03 14:26:51 +00:00
Simon Robertshaw
e7ebbc0435
Hotfix: Authenticate all Web&ApiRequests to fix save loading/voting issues
2013-10-30 20:31:20 +00:00
mniip
41e058e3b2
Fix a few cpu time leaks in request broker and HTTP, also add a global sleep function
...
(and why did HTTP.c have it's own copy of mystrdup anyway)
2013-10-30 21:39:30 +04: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
mniip
9183fa1755
apparently Ximon hates const; a lot;
...
added a bunch of const everywhere, had to modify a few functions to be const-compliant
2013-10-30 04:38:13 +04:00
jacksonmj
02a4c17d72
Ignore invalid walls in some old saves, so that they load correctly
...
E.g. save 10631 from old server
2013-10-17 16:09:38 +01:00
jacob1
aa2ec3d162
fix SOAP crashes by making sure particle id's are between 0 and NPART. Also cut off .life to between 0 and 65535 when saving
2013-09-12 14:35:10 -04:00
jacob1
332aa25bf6
save pavg[] in saves, for VIRS, PIPE, and STOR
2013-09-11 20:41:43 -04:00
jacksonmj
9eccad80b1
Missing breaks in readOPS
...
Causing some elements to be loaded incorrectly
2013-09-08 18:14:12 +01:00
jacob1
d38af2764c
move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing
2013-08-29 22:18:35 -04: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
Simon Robertshaw
ddd51aed3d
Async Request methods for SaveInfo and SaveData
2013-07-28 10:30:01 +01:00
Simon Robertshaw
7a847e7a55
Fix request identifier tracking
2013-07-28 10:29:30 +01: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
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
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
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
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
c1320d2007
fix sim.loadStamp return value, remove VINE_MODE
2013-06-27 12:10:55 -04:00
jacob1
776b2f6607
fix version tagging in saves
2013-06-24 00:02:00 -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
jacksonmj
4e4bd9a11b
Signed integers can be negative, so prop>x does not always correctly indicate whether higher bytes are used
2013-06-11 00:26:41 +01: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
58f8451b9e
make saves private by default again
2013-06-07 13:08:45 -04:00
jacob1
8d7ab7f5e2
allow creating WIND lines from lua
2013-06-01 21:57:03 -04:00
jacob1
6f8e2c0345
remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't conflict with lua elements (the 11th one won't work right now)
2013-05-16 17:01:33 -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
mniip
4d9b9b17d7
D:
2013-05-11 15:08:32 +04:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00
Simon Robertshaw
2c311b9a36
Use "http://" for update/startup check
2013-03-22 13:40:54 +00:00
Simon Robertshaw
e6db760205
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-22 13:21:13 +00:00
Simon Robertshaw
700aff4784
Don't try to parse update check response if it's NULL!
2013-03-22 13:20:54 +00:00
jacob1
29e2604f57
fix compiling error
...
also bug, I had some weird formatting that broke the json parsing
2013-03-21 21:49:04 -04:00
Simon Robertshaw
c4a500aa21
Merge
2013-03-21 21:49:59 +00:00
Simon Robertshaw
81a34222d1
POST requests for APIRequest, allow saving user details from within the game, Asynchronous HTTP POST
2013-03-21 21:49:06 +00:00
jacob1
b617b8b656
fix compiling error
2013-03-16 14:00:11 -04:00
Simon Robertshaw
f05044ab68
APIRequest, Aync methods for client, Profile edit/viewer (WIP)
2013-03-16 17:45:18 +00:00
Simon Robertshaw
d383d6d7e5
Higher quality thumbnails for Renders
2013-03-16 11:25:13 +00:00
Simon Robertshaw
ca9ea8bb8a
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-15 13:41:27 +00:00
Simon Robertshaw
73b6ff4efb
Use VideoBuffer in place of thumbnail
2013-03-15 12:59:55 +00:00
jacob1
2aa483e0a2
fix gravatars not showing for moderators
2013-03-14 23:58:09 -04:00
Simon Robertshaw
6b68c04cd6
Fix multiple free after merging multiple request objects
2013-03-14 12:10:56 +00:00
Simon Robertshaw
9479b7f330
Move requestbroker into new folder, make request process function a method of Request
2013-03-14 11:30:24 +00:00