Commit Graph

167 Commits

Author SHA1 Message Date
Simon Robertshaw
97bf9a517e Snapshot checking 2012-07-22 18:51:05 +01:00
Simon Robertshaw
5bf0a084ac Prevent race condition when reloading local stamps, fix task so "after()" gets called and correct stamp name so they actually get deleted" 2012-07-21 13:09:59 +01:00
Simon Robertshaw
33de0482a2 Use exceptions instead of goto to corrup state. Fix Fan wall loading with PSV and New wall IDs with OPS 2012-07-20 19:39:38 +01:00
Simon Robertshaw
332fbfe590 Ensure GameSave internal pointers are NULL at the start 2012-07-20 17:43:08 +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
1b1963932e Move array terminator for sign saving into if statement 2012-07-06 16:08:52 +01:00
Simon Robertshaw
adc9cc0816 Move graphics into seperate folder 2012-07-06 16:06:26 +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
beee75d9d1 Multiple pages of comments 2012-06-22 16:35:32 +01:00
Simon Robertshaw
2e48bd149c Stage 2 of autoupdate working 2012-06-22 01:44:30 +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
e81e18238d Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-20 13:40:34 +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
1fceab6e4a Ensure partsSimIndex is freed upon success state of OPS parsing 2012-06-18 15:57:41 +01:00
Simon Robertshaw
fc86c24027 Better freeing for memory in GameSave 2012-06-18 15:54:55 +01:00
Simon Robertshaw
780682c22d TPT: oxygen fusion, fix two small bugs 2012-06-12 19:26:47 +01:00
Simon Robertshaw
5144451b30 TPT: Check for version before enabling movable flag for sponge. 393d247312 2012-06-12 18:55:44 +01:00
Simon Robertshaw
318499350d TPT: strncpy for loading sign text in OPS 433c1881bc 2012-06-12 17:13:30 +01:00
Simon Robertshaw
f2e1d38b58 TPT: Save soap bubbles 6717f4ff32 2012-06-12 17:06:38 +01:00
Simon Robertshaw
a270acfc54 OPS loading: don't replace existing particles twice, and clear soap c 2012-06-12 16:30:27 +01:00
Simon Robertshaw
74d7fb59c3 TPT: Save tmp2 for tron c8a1524d6b 2012-06-12 16:11:34 +01:00
Simon Robertshaw
117b1fb5c4 TPT: Fix includes for OSX and BSD a75da2c4c3 2012-06-12 16:05:02 +01:00
Simon Robertshaw
96ec616442 TPT: BSD Platform, -DBSD 9e18556ae6 2012-06-12 16:00:18 +01:00
Simon Robertshaw
5eb9370fc1 Uncomment bounds checking for stamp loading 2012-06-10 19:53:46 +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
cdc4b4df86 Fix save rotation 2012-06-09 20:16:47 +01:00
Simon Robertshaw
26dbb9d309 Missing 'delete' on old blockMap data in save Tranformation 2012-06-09 19:43:35 +01:00
Simon Robertshaw
050ad82155 Unify stamp and clipboard placement code, GameSave translation and transoformation working (not particularly well) 2012-06-09 19:42:07 +01:00
Simon Robertshaw
c408e035fa Preview: Wait for save to load before opening, Simulation: Correct block coords when reading wall data, replace existing particles when placing stamps on top, Game: Clear the simulation when loading a save 2012-06-09 14:54:58 +01:00
Simon Robertshaw
0ee1e1875d Load save data when showing the save preview 2012-06-08 22:04:14 +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
8fae7dbade Saving and loading at position, yuse exceptions for parsing saves 2012-06-06 01:46:13 +01:00
Simon Robertshaw
7063587706 Fix bmap reading error caused by signed/unsigned comparison 2012-06-05 22:55:39 +01:00
Simon Robertshaw
49dafbfd26 Use a different method for decoding saves with uncompressed object in memory for stamps and clipboard, also allows for transformation (rotation), missing failure states and code for loading it into a Simulation 2012-06-05 20:08:35 +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
136675b56a Move style into Component 2012-05-15 18:13:17 +01:00
Simon Robertshaw
0bab640fe4 Fix warning in Client.cppcpppcppc 2012-04-20 01:45:43 +01:00
Simon Robertshaw
c4bace95bf Allow deleting of stamps 2012-04-19 15:22:18 +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
Simon Robertshaw
838a612026 Use a single instance of a background simulation for thumbnail rendering 2012-04-03 17:08:56 +01:00
Simon Robertshaw
efddc12e5d Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader 2012-04-02 17:01:28 +01:00
Simon Robertshaw
63af6abd29 Add and remove tags.\nBrings to light an interesting issue with adding or removing UI components within component Event handlers 2012-03-22 22:12:16 +00:00
Simon Robertshaw
23873eae71 More work on Tags - display tags in Tag window and Tag button 2012-03-22 13:50:43 +00:00
Simon Robertshaw
afe9e061e1 Better names for sort, allow showing own saves 2012-02-12 16:47:01 +00:00
Simon Robertshaw
725f1aff85 Fix thumbnail alignment for save buttons, add code for building PSv format 2012-02-11 17:04:39 +00:00
Simon Robertshaw
9f7b06ff47 Comments on save preview and some minor changes for vote bars 2012-02-11 16:08:59 +00:00
Simon Robertshaw
f86091d421 Use useragent for version, fix URl encoding 2012-02-01 21:20:27 +00:00
Simon Robertshaw
857b0cc1fc Load user information from preferences, fps display for testing 2012-01-31 18:49:14 +00:00
Simon Robertshaw
259fc2bcf7 ASCII for key events, save and Textarea (no caret, yet) 2012-01-30 00:40:28 +00:00
Simon Robertshaw
7c53ca7799 Voting, fix save browser 2012-01-28 19:56:13 +00:00
Simon Robertshaw
d520a70acf Save loading and reloading 2012-01-26 16:18:43 +00:00
Simon Robertshaw
9e1be78bc2 I've got to a point where I can no longer be bothered to think of a proper commit comment 2012-01-26 01:13:33 +00:00
Simon Robertshaw
8b80942b16 Login working, segfaults sometimes 2012-01-25 17:21:55 +00:00
Simon Robertshaw
9cdf2b5902 Login complete (minus brokenness) 2012-01-25 00:57:39 +00:00
Simon Robertshaw
35858ef607 Fix textbox 2012-01-24 23:33:32 +00:00
Simon Robertshaw
97b35bc470 Various 2012-01-24 20:19:19 +00:00
Simon Robertshaw
df72f2580f Better element buttons, Save preview WIP 2012-01-23 22:53:57 +00:00
Simon Robertshaw
1cee908c16 Fix thumbnail crash, turns out SaveButton was storing a Thumbnail pointer, not a Thumbnail as I thought 2012-01-21 18:51:28 +00:00
Simon Robertshaw
8ec6aae617 Better cleanup for simulation - fix memory leaks 2012-01-21 13:19:10 +00:00
Simon Robertshaw
36a952ca4d Better handling of save vector from client 2012-01-21 00:17:42 +00:00
Simon Robertshaw
c8073657fc More stuff, need to fix memory leak 2012-01-20 22:07:49 +00:00
Simon Robertshaw
c5e8b34521 Add "cajun" for JSON reading and writing, Save searching in client and some more stuff for searcg 2012-01-19 20:10:05 +00:00
Simon Robertshaw
6d3b447f8e Changes to thumbnail retreival 2012-01-19 17:59:00 +00:00
Simon Robertshaw
44639a6423 Some folder changes, started search and client 2012-01-19 13:44:59 +00:00