Commit Graph

177 Commits

Author SHA1 Message Date
Simon Robertshaw
2527380224 Implement more of the old console 2012-08-04 01:24:21 +01:00
Simon Robertshaw
6173901875 Old TPT console commands with "!" prefix 2012-08-03 21:48:45 +01:00
Simon Robertshaw
96132ee1c1 Stop returning luaL_error from drawing functions for no reason, addresses
issue #29
2012-08-03 00:52:46 +01:00
Simon Robertshaw
b165619266 Update menus on element change from lua, addresses issue #42 2012-08-03 00:47:39 +01:00
ntoskrnl
f94fabd999 Rename WIN32 preprocessor definition to WIN 2012-08-02 15:21:16 +01:00
Simon Robertshaw
f8766201a6 TPT: Optimization for GoL, Added brush size and mouse wheel to lua! e7035233fd 2012-07-25 19:32:36 +01:00
Simon Robertshaw
f5c9da236f Use sdl-config 2012-07-08 14:03:51 +01:00
Simon Robertshaw
3b020b3151 TPT: fix crash, spark reset set type without checking if it was a valid number 2012-06-12 19:45:19 +01:00
Simon Robertshaw
b8f2a2dcd5 TPT: fix lua console freeze/bugs 2012-06-12 19:40:07 +01:00
Simon Robertshaw
ca42a081ec TPT: Add tmp2 support to old console 418bdf0892 2012-06-12 16:07:02 +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
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
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
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
fdb4dff4d7 TPT: Lua methods for reading/writing the bmap and emap (no mapped walltypes yet) 1c4bce1f22 2012-04-17 18:13:17 +01:00
Simon Robertshaw
66a451129c Fix Integer <-> Pointer casts on 64bit 2012-04-13 20:55:14 +01:00
Simon Robertshaw
da9cec2c3b Remove unused code 2012-04-09 12:39:45 +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
732b9d6a0d Disable key repeat 2012-03-03 17:58:33 +00:00
Simon Robertshaw
afe9e061e1 Better names for sort, allow showing own saves 2012-02-12 16:47:01 +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
7ae5eaab79 Started intrepreter for tpt script and various things for console 2012-02-05 16:37:36 +00:00