jacob1
67bc12de97
Fix issue where TPT was bought by EA
2018-04-01 15:26:13 -04:00
jacob1
40d2850ff7
TPT has now gone free to play! Many elements are unlocked by default, but by using Powdercoins you can unlock new elements and promote your saves to front page!
2018-03-31 22:40:23 -04:00
jacob1
6efedcdd33
undo authors changes on ctrl+z, prevent excessive nesting
2017-07-15 16:21:16 -04:00
jacob1
8e5b0c760e
Add logging inside saves which remembers which other saves material was taken from
...
The logging is saved inside the bson data in all online saves, local saves, stamps, and clipboard pieces. It is loaded back when reloading each of those.
See #474 for the format of the data. It is the same format for the bson data. Note that "links" is an array of objects. It can be recursive.
There is some effort to not duplicate information, we don't care if you loaded a stamp 10 times or if you are using the clipboard in your own save. Extra information is mostly not saved for your own stuff, only when you take material from other saves.
Press ctrl+a in debug builds to show what info it is currently saving in Client. Also enabled in snapshots for now.
There is one unrelated change in here, which fixes a crash pointed out by QuanTech. It was also save related and it was too close to the other changes to separate it into another commit. It fixes a crash when saving signs with invalid unicode. the BSON library doesn't like this, it was returning an error but we ignored it, which caused a crash. It now notices those errors. I also had to update several Serialize calls to check if it actually returned save data, or else it then would have started crashing there instead.
Also some debug prints were removed
2017-07-13 00:19:35 -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
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
908f60d47a
support alternate update servers, and optional changelogs
2015-09-26 11:47:51 -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
cee08b2024
On first run, set scale to 2 if screen size is large enough
2015-05-14 23:22:20 -04:00
jacob1
54d985f975
gcc warning fixes (up to lua files)
2015-01-16 17:26:13 -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
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
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
mniip
4b914d12c2
fix tags order ( #141 )
2013-11-12 09:16:17 +04:00
Simon Robertshaw
ddd51aed3d
Async Request methods for SaveInfo and SaveData
2013-07-28 10:30:01 +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
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
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
Simon Robertshaw
f05044ab68
APIRequest, Aync methods for client, Profile edit/viewer (WIP)
2013-03-16 17:45:18 +00:00
Simon Robertshaw
86b7a11800
Make thumbnailbroker more general purpose, image requests for requestbroker, avatars in previewview
2013-03-12 21:17:19 +00:00
Simon Robertshaw
e6bca489c9
AvatarButton/holder, rename ThumbnailBroker for more general purposes
2013-03-10 18:08:34 +00:00
jacob1
c06afff0a5
selecting a stamp moves it to the front of the list again (unless you hold ctrl)
...
attempted to do MVC right?
2012-12-18 12:20:52 -05:00
Simon Robertshaw
38862a78d1
New Conversation notifications
2012-12-09 12:05:27 +00:00
jacob1
3a29fc0268
Save local saves as current name option (overwrites them automatically). Fix filename not showing when first saving a local save
2012-10-26 15:15:38 +01:00
Simon Robertshaw
b35fd0298c
Flush stamps list to file when deletins, Rename stamps undelete function to rescan
2012-10-05 15:46:42 +01:00
jacob1
d45dd605e9
Stamp fix button to bring back deleted stamps
2012-10-05 15:20:33 +01:00
Simon Robertshaw
97a819c79c
Fix autoupdate issue where temp file is not deleted, fixes #128
2012-08-18 12:44:07 +01:00
Simon Robertshaw
8ca27520a4
Use forward declarations more to avoid excessive includes
2012-08-12 22:32:57 +01:00
Simon Robertshaw
5d3d1d4916
Message of the day and user session check on startup
2012-08-12 15:15:47 +01:00
Simon Robertshaw
cd051924d9
Installation with Ctrl+I, fixes #77
2012-08-10 15:41:39 +01:00
Simon Robertshaw
d352a10d80
PTsave opening
2012-08-08 21:32:10 +01:00
Simon Robertshaw
346e9d2168
Proxy from command line arg
2012-08-08 18:34:37 +01:00
Simon Robertshaw
4ce22e4e77
Wall Edge option, fixes #70
2012-08-05 18:35:12 +01:00
Simon Robertshaw
5a2da01a5b
Tags, fixes #55
2012-08-04 20:55:59 +01:00
Simon Robertshaw
cbefea85d7
Local Saving, Server Saving rewrite
2012-08-01 22:29:22 +01:00
Simon Robertshaw
1d258eab6b
ThumbnailBroker for background retrieval and rendering
2012-07-31 19:49:08 +01:00
Simon Robertshaw
5befe5c25f
Local file browser + some more interesting things like Progress bar UI component
2012-07-27 20:06:17 +01:00
Simon Robertshaw
e65e222f2c
Integer values for prefs, Default decoration colour, clear decoration
2012-07-24 13:03:28 +01:00
Simon Robertshaw
97bf9a517e
Snapshot checking
2012-07-22 18:51:05 +01:00
Simon Robertshaw
a8e4221f38
Working comment submission
2012-07-18 13:07:33 +01:00
Simon Robertshaw
2479b8664d
Add comment box to save preview - doesn't work yet
2012-07-17 19:14:05 +01:00
Simon Robertshaw
eb52f759de
Success/Failure return from Asyn Task, Prompt to visit website upon update failure
2012-06-22 19:04:38 +01:00
Simon Robertshaw
3c91e526bb
Client now provides methods for reading and saving preferences - less powerful than raw access to Cajun, (no mixed type arrays, for example) but allows other save formats to be used, such as property lists on OS X
2012-06-22 01:04:55 +01:00
Simon Robertshaw
2be9c92508
OpenGL canvas for Windows, Notifications for main Game, Update checker in Client (+ other client triggered events)
2012-06-20 13:40:18 +01:00
Simon Robertshaw
fd572e9da6
Change stamp storage to a list, insert new stamps at the begining, 'l' loads the first stamp or the previously used stamp, 'k' shows the stamp browser
2012-06-10 19:52:24 +01:00
Simon Robertshaw
61ed6e0276
Rename Save class to SaveInfo, introduce SaveFile for hanlding of local data (stamps and local saves). Rename Stamps browser to LocalBrowser, ready for sharing code with the local save browser
2012-06-07 14:23:26 +01:00
Simon Robertshaw
e0c9dab8cb
Move more SDL dependancies out of program, OpenGLCanvas for JNI and JNI methods.
2012-05-31 10:24:44 +01:00
Simon Robertshaw
900e23128a
Add ability to get favourites
2012-04-14 21:11:54 +01:00
Simon Robertshaw
4c6be4ff2c
Graphics:: Extra icons for Report and Favourite. Client:: Get favourite status in GetSave, FavouriteSave, ReportSave, Preview:: Failure state when loading save
2012-04-14 19:00:24 +01:00
Simon Robertshaw
bbfbb81086
Confirmation Dialogue, Save selection and multi-delete
2012-04-07 00:45:24 +01:00