Commit Graph

251 Commits

Author SHA1 Message Date
Simon Robertshaw
8196d2a645 Merge pull request #66 from jacob1/Modstuff
Code structure improvements for graphics/drawing, improvements to prevent accidental infinite loops in Lua, Fixes for fusion, improvements for VOID types. And other minor improvements
2012-05-24 11:53:50 -07:00
Simon Robertshaw
5a117c2d27 Element search interface by pressing 'e'
First search is for element names, second search looks at the
description, pressing enter will give you the first result the the left
button selection, left click and right click can also be used to select.
2012-05-24 19:38:58 +01:00
Jacob1
e95bcb6fcc fix alt select being off by one every time, turn on deco before entering the deco editor (not after) 2012-05-24 11:13:10 -04:00
Jacob1
be2fe943c0 Prevent accidental infinite loops in lua
Also fix glitch when step_functions[0] is unregistered but others aren't
2012-05-23 20:08:53 -04:00
Jacob1
0799c2e09d fix emp flash, better live parts rendering in (render_ui &) deco editor 2012-05-23 19:45:16 -04:00
Simon Robertshaw
17229ead05 URI handling for MacOS 2012-05-13 13:01:29 +01:00
jacksonmj
137903f809 Fix crash after closing display options (vid_buf was being freed) 2012-05-12 13:04:09 +01:00
Simon Robertshaw
d69fc052fa Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT 2012-05-12 01:35:55 +01:00
jacksonmj
a1aeabeee4 Change license from GPLv2+ to GPLv3+
Also add headers stating the license to some more of the source files
2012-05-06 02:20:57 +01:00
jacksonmj
028eb4d9a5 Fix repeated download of same history thumbnail
https://github.com/FacialTurd/The-Powder-Toy/issues/53
2012-05-03 22:06:30 +01:00
Simon Robertshaw
89911666f0 Remove stupid debug output for thumbnail cache, no idea why I have not removed this earlier 2012-05-03 21:52:59 +01:00
jacksonmj
8872e33b44 Massive cleanup of sdl_scale, and fix moving a sign in the zoom window 2012-04-30 00:39:12 +01:00
jacksonmj
38057065c2 Fix bugs when moving signs
Signs could not be repositioned on top of another sign (dependent on
the indices of the two signs), and could not be placed after selecting
an element from the menu.
2012-04-29 00:39:18 +01:00
jacksonmj
34bfd77aa5 Line snapping for deco editor 2012-04-29 00:22:02 +01:00
Simon Robertshaw
d601608623 'Report' icon at 0xE3 2012-04-13 15:35:49 +01:00
jacksonmj
156d50d903 Remove duplicate information in set_cmode
Calculating render_mode and display_mode variables from the arrays means
less chance of mistakes (e.g. blob mode RENDER_EFFE was set in
render_modes array but not in render_mode)
2012-03-26 16:03:27 +01:00
Jacob1
51c8dfcef4 ngrav/amb. heat quickoptions, amb. heat drawn in heat display when on, fix render_ui position 2012-03-14 21:03:00 -04:00
Jacob1
4f176ba7c3 cursor changes to correct shape as soon as you click element/wall 2012-03-14 19:26:08 -04:00
Jacob1
afbe8cf38e Added smudge tool 2012-03-14 19:06:37 -04:00
Simon Robertshaw
fe82685257 Old nothing display mode in the form of Basic colour mode 2012-02-25 22:29:43 +00:00
Simon Robertshaw
54aa1ec42a Fix save reloading when saving to file 2012-02-11 12:38:06 +00:00
Simon Robertshaw
01fe58e20e Retrieve thumbnails, saves and info from caching server (static.powdertoy.co.uk) 2012-01-26 14:05:56 +00:00
jacksonmj
f0730818e4 OPS thumbnail crash fix, and blank thumbnails for saves from a newer version 2012-01-25 21:33:22 +08:00
Jacob1
509f1d2139 ability to delete corrupted stamps 2012-01-25 21:33:21 +08:00
Simon Robertshaw
dc67615780 Air mode and Gravity mode on Simulation options, improvements to list box 2012-01-01 19:11:12 +00:00
Simon Robertshaw
5b21f4a66c Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-12-30 02:06:53 +00:00
Simon Robertshaw
86369670aa Add checks for prerender_save in save_filename_ui, pass vx, vy and pv air data into parse and build save methods. New save format: OPS, basic reading and writing complete, uses BSON, BSON.c/h (Binary JSON) implementation from MongoDB. (Is License OK?) 2011-12-30 02:06:31 +00:00
jacksonmj
2553dac942 Update can_move, recount menu items and clear graphics cache when tpt.el is changed 2011-12-29 06:39:59 +08:00
Simon Robertshaw
fcac7dbe09 Support for element names and hex constants for the PROP tool 2011-12-21 16:47:46 +00:00
Simon Robertshaw
a9914dca2f Improvements to render_ui, fix merge errors 2011-12-18 16:29:07 +00:00
Simon Robertshaw
61e86ca72d Merge with new lua functionality 2011-12-18 15:14:07 +00:00
Simon Robertshaw
58b9996958 More icons for display modes 2011-12-18 14:41:42 +00:00
jacksonmj
934d1da66e Move Newtonian gravity into a new file 2011-12-18 22:04:47 +08:00
Simon Robertshaw
dda9eb5120 Fix missing render_mode array change when switching to some display types. 2011-12-06 16:27:47 +00:00
Jacob1
52d2facf91 cmodes closer to what they used to be, change icons 2011-12-02 23:09:39 +00:00
Simon Robertshaw
f508013332 New tables in lua API: el and version: element ids and version info respectively. New lua functions: element (get element id from name) and element_func for hooking/overriding element update functions 2011-11-18 19:38:08 +00:00
Simon Robertshaw
8a962b2f96 Live parts rendering for render_ui 2011-11-18 15:36:58 +00:00
Simon Robertshaw
c1ec9e24ae Smaller radio buttons 2011-11-18 15:32:33 +00:00
Simon Robertshaw
534c0edc33 Larger radio boxes 2011-11-18 15:20:07 +00:00
savask
aac78386ff Radio buttons for some options.
Conflicts:

	src/interface.c
2011-11-18 21:54:50 +07:00
Jacob1
f135dbb734 Added back heat gradient display 2011-11-18 14:44:58 +00:00
Jacob1
f2759c7f2c Better looking icons in render_ui 2011-11-18 14:28:20 +00:00
Jacob1
8f493b62c3 Add blob display back. Also fix small nothing mode bug. 2011-11-18 14:15:49 +00:00
Jacob1
2d1a0d474f Add back in number keys to change render/display/color _mode variables 2011-11-18 14:13:50 +00:00
Simon Robertshaw
9dd0f24667 More stuff for render_uI 2011-11-14 14:26:50 +00:00
Simon Robertshaw
cef8dfa517 Colour mode and display mode added to render_ui 2011-11-14 11:11:25 +00:00
Simon Robertshaw
c63dff45e4 Basic render modes for Render_ui 2011-11-13 21:02:46 +00:00
Simon Robertshaw
0f4c0915d9 Replace cmode with more flexible render options, TODO: Saving and render options UI 2011-11-12 20:44:15 +00:00
Simon Robertshaw
2bd9d61ab5 Listbox for Property tool property field 2011-11-12 16:24:21 +00:00
Simon Robertshaw
b9f15e16cc open_ui: Load correct thumbnail for dated saves 2011-11-12 14:19:10 +00:00