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
Simon Robertshaw
f369d41591
Merge pull request #46 from atlaua/master
...
Urgent bugfix, confirm_ui() should not free msg.
2011-09-29 10:03:17 -07: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
Simon Robertshaw
3ecb2ee39b
Add JSON parser file (cJSON) and move preference saving to JSON format
2011-09-27 18:44:35 +01:00
Simon Robertshaw
a6e71ab3f5
Fix potential issue with argument ordering
2011-09-27 14:17:36 +01:00
Simon Robertshaw
d788b15068
Ensure installation doesn't fail if directory already exists
2011-09-27 12:49:11 +01: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
1be8ce6c5d
Fix small error
2011-09-25 10:33:49 +01:00
Simon Robertshaw
4514c5e619
Make changes to prefs file regarding build_num and updated
2011-09-24 17:13:28 +01: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
Simon Robertshaw
59a134d5f1
Send session/auth info with update checks
2011-09-24 15:10:21 +01:00
cracker64
789049b269
Can see selected elements from Lua, tpt.selectedl or tpt.selectedr
2011-09-23 23:25:50 -04:00
Cate
c750e659a7
Decreased pressure cap on ambient fizzling from 5 to 3. Due to ambient pressure decrease in Air.c, carb water has trouble reaching this. Looks better when released at 3 anyhow.
2011-09-24 04:04:08 +08:00
Cate
026e613ac6
One If added to Carb water that always explodes when under -0.5 pressure. Even strong explosions don't seem to cause this when water's held in containers, which -should- limit this to vacuum or wind effects. Still testing with.
2011-09-24 04:04:08 +08:00
cracker64
07f8087907
Prevent water equalization from moving onto particles.
2011-09-23 10:17:41 -04:00
Simon Robertshaw
24b4478136
Added Caustic gas, similar to acid, created with acid and water vapour
2011-09-23 12:48:24 +01:00
Simon Robertshaw
8b9a0b663f
Change some Win32 includes to lower case filenames for Linux cross compiling
2011-09-22 19:25:21 +02:00
Cate
39525e6ef0
Fixes to carbonated water explosions. Help from cracker with create_part making overlapping particles to fix CO2 emitting water (as a bit of a sneaky trick to make less overlapping water.) Carb water slowly increases pressure if sealed, causing explosions when released.
2011-09-23 01:11:57 +08:00
Cate
3ac14d94e7
Corrected changes to appear properly. I think. Added Explosions with pressure to carbonated water.
2011-09-23 01:11:57 +08:00
cracker64
848fa77a82
Fix walls with water equalization.
...
Also annoying inlines for visual studio.
2011-09-21 22:05:19 -04:00
cracker64
eb646ce1d6
Forgot luaconsole.c changes
2011-09-21 18:52:08 -04:00
cracker64
a73fc9db06
Water level equalization test! In options menu, or tpt.watertest() .
2011-09-21 18:36:35 -04:00
Simon Robertshaw
c3d7f694f2
Make soap clean off decoration (opposite of BIZR)
2011-09-21 12:41:52 +01:00
Simon Robertshaw
592fe333ea
Fix missing header changes from cracker's colour tools commit
2011-09-21 12:38:47 +01:00
cracker64
b926341d80
Merge remote-tracking branch 'origin/master'
2011-09-19 17:05:05 -04:00
cracker64
f0379c5418
Tool menu in deco editor, Lighten/Darken tools.
2011-09-19 17:02:04 -04:00
Simon Robertshaw
f535f8dce4
Game installer launches game with data directory for Windows (AppData)
2011-09-19 21:31:10 +01:00
Simon Robertshaw
23dcec9d07
Allow setting of application data path \(For config, save and script data\)
2011-09-19 20:05:15 +01:00
cracker64
fb1a522cca
Deco editor improvements. Editable color text boxes! Hit enter when done editing.
2011-09-19 12:31:14 -04:00
me4502
1403bd17f9
added dcolour to set and get
2011-09-19 03:50:05 +08:00
jacksonmj
baef6f20c2
Fix disappearing particles, e.g. with a box of CONV (ctype DEUT) containing neutrons
2011-09-19 03:49:45 +08:00
Simon Robertshaw
cf9b36d3db
Fix bug where mouse events are confused after breaking out of a mouse down event
2011-09-18 20:47:10 +01:00
Simon Robertshaw
16ae9a9b59
Small changes to STOR, prevent setting Ctype to solid from cursor, allow any type when ctype not set and correct discharge location bias
2011-09-10 19:37:33 +01:00
Simon Robertshaw
49a164b7ba
Fix various memory leaks, as noted by Merkil/cppcheck
2011-09-10 13:33:24 +01:00
Simon Robertshaw
8084ae388e
Version Increment
2011-09-08 12:14:21 +01:00
Simon Robertshaw
63dd1cfd4b
Add energy-only wall and make STOR show when it's holding a particle
2011-09-08 11:54:50 +01:00
jacksonmj
69a5bc5440
Fix bottom right selection box corner (did not appear directly under cursor)
2011-09-08 18:31:24 +08:00
jacksonmj
89ff8ad9aa
tpt.get_property("id",x,y)
2011-09-08 18:31:24 +08:00
jacksonmj
5892c74595
Visual Studio fixes
2011-09-05 08:40:17 +08:00
Simon Robertshaw
3d5d10b1ed
Missing changes from previous commit
2011-09-03 21:00:23 +01:00
Simon Robertshaw
f35be3db02
Update contributors
2011-09-03 14:46:48 +01:00
Simon Robertshaw
78efe39642
Version incremenet
2011-09-03 14:41:38 +01:00
Simon Robertshaw
456a8df31e
Convert Element
2011-09-03 14:41:07 +01:00
Simon Robertshaw
ea68100724
Added Powered Void
2011-09-03 14:06:36 +01:00
jacksonmj
d6d40f88d1
Fix crash when stickman goes through a portal
2011-09-02 18:39:15 +08:00
jacksonmj
180d3ea60f
Limit particle-air heat transfer rate
2011-09-02 18:39:14 +08:00
Simon Robertshaw
d84abca852
Improvements to CBNW and BIZR act as a dye
2011-08-30 13:44:18 +01:00
jacksonmj
a7ede2659a
Allow decoration layer to affect firework explosion colour
2011-08-30 19:34:28 +08:00
jacksonmj
741014770c
Add tpt.setwindowsize(scale, fullscreen)
2011-08-30 19:34:28 +08:00
jacksonmj
e506934655
Always check bmap when creating particles
2011-08-30 19:34:28 +08:00