Commit Graph

1386 Commits

Author SHA1 Message Date
Simon Robertshaw
ee47b2dd68 Pretty effect when drawing powders, activate with 'n' 2011-10-09 13:55:16 +01:00
jacksonmj
cb30cbcce7 Fix typo allowing liquids to teleport through solids 2011-10-07 20:18:07 +01:00
Simon Robertshaw
d7138d6e4a Make installer set data dir to current dir, for now. 2011-10-06 22:12:35 +01:00
jacksonmj
4abefaf1ec tpt.drawline 2011-10-06 21:59:41 +01:00
jacksonmj
ae3241ec80 Fix WHOL/VENT not eating ANAR, and fix PVOD eating PHOT/NEUT when off 2011-10-07 04:57:09 +08:00
Simon Robertshaw
3e88325632 Missed some changes from previous fix 2011-10-01 20:18:07 +01:00
Simon Robertshaw
5ded009ffd Fix bug with drawing rectangles outside the game region 2011-10-01 20:11:27 +01:00
Simon Robertshaw
fd7120425d Changes to QRTZ scattering 2011-10-01 18:18:53 +01:00
Simon Robertshaw
218c14c5ea Better scattering for QRTZ 2011-10-01 17:59:52 +01:00
Simon Robertshaw
18990e9746 Logout is saved to prefs 2011-09-30 18:00:32 +01:00
Simon Robertshaw
b20e1c5e13 Fix bug causing logins to be lost when The Game is closed. 2011-09-30 17:41:02 +01:00
jacksonmj
203db57e57 Prevent segfault with high tmp values for pipe 2011-09-30 14:16:48 +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
1759d0bd46 Make photons less green, green was given 2 extra bits by Skylark, not sure if this was intentional or not. 2011-09-30 10:50:46 +01:00
Simon Robertshaw
311d3ef6c1 Added crappy scattering for qrtz 2011-09-29 23:14:36 +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
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