Commit Graph

244 Commits

Author SHA1 Message Date
Simon Robertshaw
f6f83cc276 Correct overlapping rectangles with translucent stamp selection 2012-06-11 13:48:34 +01:00
Simon Robertshaw
3205df3a21 Saving and loading other flags from GameSave, remove old saveloader 2012-06-11 13:39:39 +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
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
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
f41ab864ef Fix slight issues when clicking on menu section buttons and missing isMouseInside in MouseEnter action for buttons 2012-05-23 19:49:44 +01:00
Simon Robertshaw
f1953603c0 Use mouse hover callback for menu buttons 2012-05-23 19:31:53 +01:00
Simon Robertshaw
2c5400a732 Warp display with newer shader, Render options works in OpenGL 2012-05-17 22:34:16 +01:00
Simon Robertshaw
bbf7851596 Seperate new/old CreateParts functions 2012-05-15 20:01:20 +01:00
Simon Robertshaw
136675b56a Move style into Component 2012-05-15 18:13:17 +01:00
Simon Robertshaw
45563e97e8 Make flood_prop use PropertyType from StructProperty, Property tool works 2012-05-15 00:10:10 +01:00
Simon Robertshaw
be849a9150 Style improvements to sign tool 2012-05-14 20:51:16 +01:00
Simon Robertshaw
f39d2361e7 Improve appearance of some dialogues, style defaults 2012-05-14 20:47:14 +01:00
Simon Robertshaw
4bb90d0d79 Text alignment for dropdown, make sign UI nice 2012-05-13 21:11:02 +01:00
Simon Robertshaw
41e1d28c56 Correct air include path for OptionsModel, correct Window debugmode logic, justifications for sign 2012-05-13 20:54:29 +01:00
Simon Robertshaw
4032a0469b Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic 2012-05-13 17:43:41 +01:00
Simon Robertshaw
724c99102e Stupid git 2012-05-12 22:28:45 +01:00
Simon Robertshaw
7128188048 Primitive sign adding 2012-05-12 22:25:45 +01:00
Simon Robertshaw
c5798c7456 Tools implemented in a similar way to elements 2012-05-12 18:11:20 +01:00
Simon Robertshaw
16d3895e9c Redo Wall IDs 2012-05-12 13:21:04 +01:00
Simon Robertshaw
1c993435ef Default elements in gamemodel 2012-05-07 18:08:41 +01:00
Simon Robertshaw
51b17badf4 A bit of refactoring (elements) 2012-05-07 17:59:50 +01:00
Simon Robertshaw
bb8a3f76e3 OS X compiling working, Make it a bit more friendly with stricter compilers 2012-04-26 13:10:47 +01:00
Simon Robertshaw
e38fd405af Correct quirks with drawrect and fillrect, change UI components accordingly, shorten save name in save button 2012-04-22 17:13:43 +01:00
Simon Robertshaw
96506610b2 Clean out graphics, add openGL graphics in seperate file, change brush to use unsigned char rather than boolean for bitmap/outline 2012-04-21 22:46:37 +01:00
Simon Robertshaw
75a9460c83 OpenGL rendering 2012-04-20 19:21:10 +01:00
Simon Robertshaw
43ae47ba77 TPT: Added smudge tool afbe8cf38e 2012-04-18 16:40:43 +01:00
Simon Robertshaw
df2d698ed5 Fix drawing of lines, rects and fill within the zoom window 2012-04-17 20:20:45 +01:00
Simon Robertshaw
465cb12af4 Newtonian gravity working 2012-04-16 13:58:20 +01:00
Simon Robertshaw
a0506495ad Simulation options 2012-04-15 22:16:57 +01:00
Simon Robertshaw
20b3be68a7 Remove some unnecessary files. 2012-04-14 14:49:26 +01:00
Simon Robertshaw
84ceea525b Nice drawing for brush 2012-04-11 18:23:10 +01:00
Simon Robertshaw
798c78b04e Add missing GOL data 2012-04-09 11:46:42 +01:00
Simon Robertshaw
c88079d084 Element sampling HUD thingy (No very good with MVC) 2012-04-08 00:11:21 +01:00
Simon Robertshaw
8f8de875c6 Modifier keys for Lua, Air display, correct render mode saving 2012-04-05 13:48:50 +01:00
Simon Robertshaw
ea51cde1f0 Change brush size with [ and ] keys, change order of drawing for Lua, Fix print and tpt.log so they log to the console when it is open 2012-04-04 21:47:58 +01:00
Simon Robertshaw
89cdeef9ad CommandInterface, Mouse, Keyboard and Tick events, on screen log, print redirected to tpt.log 2012-04-04 18:52:34 +01:00
Simon Robertshaw
299c1da9ae Search and stamps scolling with mouse wheel, Esc to exit 2012-04-03 18:12:32 +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
73c5082cbc Super, megaheavyweight thumbnail renderer 2012-04-03 14:07:39 +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
289556ac70 Replace Error notification with exception for Tags model 2012-03-29 16:17:30 +01:00
Simon Robertshaw
1f388e4ca0 Exception when loading invalid save 2012-03-29 00:59:10 +01:00
Simon Robertshaw
e9770d8ee7 Clipboard and Stamp from selection (no way to paste/place yet) 2012-03-28 22:01:44 +01: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
7e3d45bbfb Tag UI - actually more of a box at the moment 2012-03-05 19:55:39 +00:00
Simon Robertshaw
81f3114cb2 Better sliders for Decoration editor 2012-03-05 17:10:18 +00:00
Simon Robertshaw
55acb6aa80 More fancy Sliders for deco colour 2012-03-05 15:24:52 +00:00
Simon Robertshaw
644e6770e4 Slider and decoration colour changer 2012-03-04 16:26:03 +00:00
Simon Robertshaw
3bbaa1a111 Decoration tools - no way to set colour yet 2012-03-03 21:38:22 +00:00
Simon Robertshaw
5546f7d01e Fixed some lua methods, set decorations enabled by default, allow toggling of decorations with ctrl+b, saving and loading of render, display and colour modes for the renderer 2012-02-12 15:09:25 +00:00
Simon Robertshaw
ec6d1012b2 Somewhat working lua console, no element function overrides, no keyboard, mouse or tick events 2012-02-12 12:53:11 +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
7ae5eaab79 Started intrepreter for tpt script and various things for console 2012-02-05 16:37:36 +00:00
Simon Robertshaw
8024caec55 Flood fill 2012-02-02 12:09:11 +00:00
Simon Robertshaw
6641f1d541 Frame stepping 2012-02-02 11:55:43 +00:00
Simon Robertshaw
f5dd32b284 Working GOL (No graphics 2012-02-02 00:33:10 +00:00
Simon Robertshaw
f86091d421 Use useragent for version, fix URl encoding 2012-02-01 21:20:27 +00:00
Simon Robertshaw
038da72c61 Console UI, open in browser button, tab and enter shortcut for Login UI, various 2012-02-01 18:45:59 +00:00
Simon Robertshaw
857b0cc1fc Load user information from preferences, fps display for testing 2012-01-31 18:49:14 +00:00
Simon Robertshaw
1d297cb57a Line and rect drawing 2012-01-30 16:03:18 +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
80aa7219a2 Vote view in save preview, better handling of controller destruction 2012-01-29 17:12:35 +00:00
Simon Robertshaw
7c53ca7799 Voting, fix save browser 2012-01-28 19:56:13 +00:00
Simon Robertshaw
28d4aecb6c Make zoom Window switch sides to avoid getting in the way 2012-01-28 14:56:52 +00:00
Simon Robertshaw
b5728a9e3e Zoom 2012-01-28 14:51:39 +00:00
Simon Robertshaw
07525180c2 Icon management, fix element menu order, fix renderer crash 2012-01-27 20:19:42 +00:00
Simon Robertshaw
ebd80c73de Some inlines and Checkbox ui component 2012-01-27 09:38:56 +00:00
Simon Robertshaw
e84f0fc6e5 Ellipse cursor 2012-01-26 18:06:23 +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
b2d3257ae9 Better way of managing Controllers 2012-01-25 19:18:24 +00:00
Simon Robertshaw
c5cc1870f3 Fix some memory leaks 2012-01-25 18:42:35 +00:00
Simon Robertshaw
8b80942b16 Login working, segfaults sometimes 2012-01-25 17:21:55 +00:00
Simon Robertshaw
35858ef607 Fix textbox 2012-01-24 23:33:32 +00:00
Simon Robertshaw
04e4a2346d Wall menus 2012-01-24 21:19:29 +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
2bd571e159 GameController shut down any render options open 2012-01-23 11:48:08 +00:00
Simon Robertshaw
27755b2f27 Render options 2012-01-23 11:44:20 +00:00
Simon Robertshaw
8a65c395f4 Element menu 2012-01-23 10:50:48 +00:00
Simon Robertshaw
8c0678fa48 Begining menu, tool 2012-01-22 23:24:49 +00:00
Simon Robertshaw
19c1fa5dcb Brush class for drawing on simulation, more interface for game 2012-01-22 14:45:37 +00:00
Simon Robertshaw
91bb5a8b78 Add remaining buttons for game screen 2012-01-22 11:15:34 +00:00
FrankBro
cb92acd0b7 Started the rest of the UI 2012-01-22 00:45:03 -05: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
fa201a7aeb Fix some uninitialised variables 2012-01-20 23:42:17 +00:00
Simon Robertshaw
44639a6423 Some folder changes, started search and client 2012-01-19 13:44:59 +00:00
Simon Robertshaw
4a60b97c70 Some minor changes 2012-01-17 20:46:06 +00:00