Commit Graph

493 Commits

Author SHA1 Message Date
Simon Robertshaw
9f0f9c1acd Remove intro text when using ptsave: handler 2012-08-02 14:27:08 +01:00
jacob1
daeddd5519 move some key stuff out of sdl_poll, zoom won't be triggered even when disabled by lua now
Conflicts:

	src/interface.c
	src/main.c
2012-08-02 14:26:44 +01:00
Simon Robertshaw
78a32775dd Disable decorations by default 2012-08-02 00:18:17 +01:00
jacksonmj
61f39f5464 Add ptypes.enabled checks to a few more places 2012-07-09 20:09:29 +01:00
cracker64
e7035233fd Optimization for GoL, Added brush size and mouse wheel to lua! 2012-07-08 00:00:47 -04:00
Simon Robertshaw
b83c2bebbe Ensure any clicks on stacked save link signs only open the first found sign. 2012-06-29 21:47:54 +02:00
jacksonmj
601766a3a0 Run stacking check less often
But force it to be run after loading a save so that really extreme
numbers of stacked particles form BHOL immediately
2012-06-09 12:37:52 +01:00
Simon Robertshaw
d1bd90e4c9 Fix session check on startup - Session check was looking at the response code from the version check, should the session check request complete before the version check, the response code would not be valid and the response would be discarded. 2012-06-08 01:01:44 +01:00
Simon Robertshaw
939265a77d Deferred loading of save files 2012-06-01 20:34:17 +01:00
jacksonmj
8dcccbc4fc Fix command line save opening (save was being cleared immediately after loading) 2012-06-01 19:29:30 +01:00
Savely Skresanov
19ae18c059 Added a settings option to draw a wall frame around screen. 2012-05-31 17:49:40 +07:00
Simon Robertshaw
7e681ffce1 Fix bug that causes ptsave URL parsing to fail if there is no '#' 2012-05-24 20:38:02 +01:00
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
f49f4ea241 fix crash, spark reset set type without checking if it was a valid number. Also disable another way to create invalid elements 2012-05-24 12:42:19 -04: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
e79d18c58c small o2 fusion change, add my name to contibuters (it is ok for me to do that, right?) 2012-05-24 11:01:30 -04:00
Jacob1
3959db4c38 console doesn't enable hud, fast heat for PUMP/GPMP/ANIM, GPMP activated at draw 2012-05-24 10:51:21 -04:00
Jacob1
0799c2e09d fix emp flash, better live parts rendering in (render_ui &) deco editor 2012-05-23 19:45:16 -04:00
Jacob1
2656bcec2b fix compiling 2012-05-23 18:54:25 -04:00
Simon Robertshaw
4771b91d51 ptsave protocol
ptsave:<id>#<name>~<username>, only ID is read, it must be the last
argument (all arguments after ptsave are ignored for safety reason to
prevent injecting other arguments links.
2012-05-23 18:18:10 +01:00
jacksonmj
9a30a580d2 Spelling
("gases" seems to be the more popular version of the plural noun)
2012-05-17 21:56:20 +01:00
Simon Robertshaw
17229ead05 URI handling for MacOS 2012-05-13 13:01:29 +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
atlaua
1f01122517 Remove <version.h> include
The last commit removed the empty includes/version.h. But as src/main.c
still refers to it, that causes the build to fail.

Fixes commit a1aeabe
2012-05-06 12:47:34 +02: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
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
6101c04ff9 Use an array instead of ctype to cache tron colour 2012-04-27 18:09:54 +01:00
Simon Robertshaw
7f433013e0 Enable realistic heat and put a build info thingy into welcome screen 2012-03-23 10:41:29 +00:00
Jacob1
bf5484ca63 newtonian gravity only put in HUD when on 2012-03-14 21:06:32 -04: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
dc688470a6 soap lines, create_parts fix, compiling fixes 2012-03-14 19:20:27 -04:00
Jacob1
0212099041 delete stamps when you delete stamps 2012-03-14 19:02:39 -04:00
jacksonmj
3042b53e11 End sign movement when a save is loaded 2012-02-12 15:54:03 +00:00
jacksonmj
24335704b5 Prevent particle creation when clicking in the menu area 2012-02-05 22:45:29 +08:00
Jacob1
4af8385a0e If you cancel an update, the yellow update box stays away 2012-01-25 21:33:21 +08:00
jacksonmj
44545d4c96 Solids wall description, and check build_save was successful when saving a stamp 2012-01-25 21:33:21 +08: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
f04577598b Fix creation of invalid wall tiles by sign tool 2011-12-29 06:39:59 +08:00
jacksonmj
23d6823bc3 Fix gravmap memset, and restrict_flt for temperatures 2011-12-29 06:39:59 +08:00
Simon Robertshaw
29b9859a00 Fix FPS in HUD in stable/nonbeta releases 2011-12-24 20:31:29 +00:00
Simon Robertshaw
835d9f1f3d Fix crash with clear_sim if gravity not initialised, fix renderer 2011-12-24 18:22:58 +00:00
Simon Robertshaw
810adc81fe Use reduced resolution gravity maps for improved performance 2011-12-19 21:35:40 +00:00
Simon Robertshaw
61e86ca72d Merge with new lua functionality 2011-12-18 15:14:07 +00:00
jacksonmj
33271ce3e2 Fix creating particles in autorun.lua 2011-12-18 22:04:48 +08:00
jacksonmj
2015499ff1 Fix grav wall 2011-12-18 22:04:47 +08:00
jacksonmj
c819e2655e Fix some gravity memsets, remove gravx/y 2011-12-18 22:04:47 +08:00