Commit Graph

229 Commits

Author SHA1 Message Date
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
Simon Robertshaw
859022ccb1 Fix memory leaks and thumb caching for datestamped saves 2011-11-12 13:55:18 +00:00
Simon Robertshaw
9b4e3b9436 Merge pull request #51 from atlaua/master
todo resolved
2011-11-12 04:50:25 -08:00
jacksonmj
5b9faa39c0 Fix a few things in stamps browser
Incorrect number of stamps per page, pause button visible, and one page
too many when stamp_count is an integer multiple of per_page.

Using GRID_X/Y since those are the values used in the rest of stamp_ui
2011-11-12 20:46:47 +08:00
atlaua
ae26ecaf8d Prevented a malloc-related problem in interface.c from occuring. 2011-11-03 19:25:49 +01:00
Simon Robertshaw
e2c9882692 Merge latest FIGH additions 2011-10-26 17:10:21 +01:00
savask
03902ec9a4 Made a special structure for stick mans. 2011-10-26 15:36:00 +01:00
Simon Robertshaw
4742c1bcd9 Fix compilation with OpenGl disabled 2011-10-26 15:03:14 +01:00
Simon Robertshaw
b9ec7d8654 Fix another blending issue and search_ui display clearing 2011-10-25 16:00:52 +01:00
Simon Robertshaw
07a1f21df4 Merge latest with graphicstest 2011-10-25 11:31:21 +01:00
Simon Robertshaw
84522d2594 Fix Options meny in scale:2 and make tooltip more readable 2011-10-22 19:39:24 +01:00
Simon Robertshaw
9cf65de1c3 Quick options menu 2011-10-21 19:41:12 +01:00
jacksonmj
3f4d55fbcc Remove unused pixel buffer 2011-10-15 01:05:01 +08:00
Simon Robertshaw
bbe5aabf4f Allow use of OpenGL enabled surface for future use 2011-10-13 22:25:06 +01:00
Simon Robertshaw
9c9f6b2287 Send user authentication for update downloads 2011-10-10 17:28:15 +01:00
Simon Robertshaw
18990e9746 Logout is saved to prefs 2011-09-30 18:00:32 +01:00
Simon Robertshaw
f5a9f43b77 Added extra functions to FILT (determined by tmp, modes are convert, filter and add, convert is default). Added property edit tool, changes the properties of materials 2011-09-30 13:57:32 +01:00
Simon Robertshaw
3ed24d084e Freeing "filename" here would cause problems as everything is taken care of later on. 2011-09-29 19:09:31 +02:00
atlaua
946a492745 Bugfix: Fixed a segmentation fault in confirm_ui()
confirm_ui() free()ed its msg. This resulted in attemps to free const
strings or and to invalid memoory accesses (because some other functions
wanted to reuse the parameter which they gave to confirm_ui() after
calling this function).

Resolved by removing the call to free() from confirm_ui() and adding it
after the calls to confirm_ui(9, if necessary.
2011-09-29 18:54:32 +02:00
jacksonmj
820871e92b Fix lighten/darken tools so they work with different display pixel formats 2011-09-26 23:53:37 +08:00
Simon Robertshaw
5a824850b3 Detect updates by build number, make confirm box autosize, also fix bug where config file is read before data dir is set (Therefore reading the wrong file) 2011-09-24 16:57:01 +01:00
cracker64
a73fc9db06 Water level equalization test! In options menu, or tpt.watertest() . 2011-09-21 18:36:35 -04:00
cracker64
f0379c5418 Tool menu in deco editor, Lighten/Darken tools. 2011-09-19 17:02:04 -04:00