Commit Graph

340 Commits

Author SHA1 Message Date
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
bc35d622ad OpenGL JNI Canvas compiled only when needed 2012-06-04 12:21:07 +01:00
Simon Robertshaw
a247951115 Add missing header includer for C libraries. 2012-06-02 16:51:01 +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
708d52bcc5 Add Visual Studio project files to gitignore 2012-05-30 16:08:34 +01:00
Simon Robertshaw
ab82847cd6 Fix minor syntax error, move all OpenGL includes into a new file that can detect the OS X version. 2012-05-30 13:17:40 +01:00
Simon Robertshaw
86746f38b0 Separate SDL from graphics code
Also remove OS X specific project files and update Makefile to ensure
the Element class generator only runs when necessary
2012-05-30 12:32:58 +01:00
Simon Robertshaw
7074036b89 Add missing license file (GPLv3) 2012-05-24 19:01:00 +01:00
Simon Robertshaw
f8fcd73b20 Moar button appearance 2012-05-23 20:25: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
c112715ea7 Better element positioning in ErrorMessage 2012-05-23 19:31:40 +01:00
Simon Robertshaw
26eeb40541 Extra callback for just mouse hover 2012-05-23 19:31:01 +01:00
Simon Robertshaw
2b2531a62a Correct position of title in LoginView 2012-05-23 19:30:33 +01:00
Simon Robertshaw
adf7a3c720 Better icon alignment, improve appearance of preview 2012-05-22 20:30:23 +01:00
Simon Robertshaw
f86f2a9997 Restore missing IconFavourite drawing code
Was accidently remove in commit ba5efb101e
2012-05-22 17:48:36 +01:00
Simon Robertshaw
cc0efb13f0 OPS save format from TPT 2012-05-22 16:01:39 +01:00
Simon Robertshaw
7e49d63d28 BSON Library from TPT/MongoDB 2012-05-22 16:01:23 +01:00
Simon Robertshaw
566963ef2c Remove generated files from repo 2012-05-22 13:53:05 +01:00
Simon Robertshaw
2737301241 Remove Style file in project root. 2012-05-22 12:01:01 +01:00
Simon Robertshaw
3cb603893f Update gitignore
Ensure stamps, saves and custom makefile are not in repo.
2012-05-22 12:00:18 +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
8efd07a849 Air tool 2012-05-17 22:10:17 +01:00
Simon Robertshaw
bbf7851596 Seperate new/old CreateParts functions 2012-05-15 20:01:20 +01:00
Simon Robertshaw
ba5efb101e Username, password icons for Login window 2012-05-15 18:55:36 +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
0b4ad4f25c Add ability to introspect the Particle struct 2012-05-14 23:04:08 +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
7758fe52cb DropDown UI component 2012-05-13 20:00:22 +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
a2e91c247f Remove QTCreator project files 2012-05-13 14:30:00 +01:00
Simon Robertshaw
7544f46b98 Add generate as a dep for makefile 2012-05-12 22:31:58 +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
fb111f42d0 Update gitignore 2012-04-27 17:29:27 +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
9e4cd165eb MOAR PERFORMANCE 2012-04-23 17:32:37 +01:00
Simon Robertshaw
22d7865e6d Inline restrict_flt 2012-04-22 22:37:00 +01:00
Simon Robertshaw
892584c5fe Fix Off-by-one error with zoom Window using OpenGL 2012-04-22 20:26:40 +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
553cf65520 Missing font.h changes from previous commit 2012-04-22 13:44:34 +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