Commit Graph

1918 Commits

Author SHA1 Message Date
Jacob1
4da9a26502 remove lastx/lasty variables when OGLR is disabled
Conflicts:

	src/graphics.c
2012-05-24 19:57:29 +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
1fb7787243 VOID & PVOD can be set to only eat/not eat certain things 2012-05-24 14:07:31 -04:00
Jacob1
9a179651ee energy type particles automatically go into photons, not pmap 2012-05-24 13:13:28 -04:00
Jacob1
bdc94208d2 finish custom lua graphics functions 2012-05-24 13:09:32 -04:00
Jacob1
5edd224344 custom graphics functions with lua (not finished yet) 2012-05-24 13:08:55 -04: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
4368ded197 Fix lua console compiling with visual studio (I thought this was fixed already) 2012-05-24 11:57:05 -04:00
Jacob1
dcd3ffcb11 finish 2012-05-24 11:35:07 -04:00
Jacob1
82b60ba5ca fix lua console freeze/bugs 2012-05-24 11:26:25 -04:00
Jacob1
6f3d87ad04 update README 2012-05-24 11:25:52 -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
40046aeab0 update README 2012-05-24 11:07:38 -04:00
Jacob1
e4686724ac limit amount of ELEC produced to prevent infinite reactions 2012-05-24 11:02:42 -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
1c7fdb0c26 oxygen fusion, fix two small bugs 2012-05-24 10:37:19 -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
b943945436 will remove this later & finish tommorow 2012-05-23 20:02:34 -04:00
Jacob1
1026963293 fusion changes 2012-05-23 19:53:50 -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
a1b7b02f81 Windows installation, register ptsave URL protocol 2012-05-23 18:37:11 +01: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
Savely Skresanov
393d247312 Check for version before enabling movable flag for sponge. 2012-05-23 22:21:36 +07:00
Savely Skresanov
d0a1b14409 Fix the bug with stickman standing on the screen edge. 2012-05-23 20:47:38 +07:00
Savely Skresanov
0cf636ad24 Fix the bug where gel didn't transfer water from sponge. 2012-05-23 10:19:54 +07:00
cracker64
c5b9b8d28a Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) 2012-05-22 23:26:28 -03:00
jacksonmj
0fb6b85706 Update gravity mask when loading OPS saves 2012-05-21 00:15:51 +01:00
jacksonmj
eb0b2f9ca3 Fix infinite loop when trying to detach soap with extra ctype bits set 2012-05-20 23:22:47 +01:00
jacksonmj
089ea8b7a0 Change order of bomb loops - delete particles before creating sparks
Fixes pressurised INVS being immune to bomb, as the sparks were being
deleted instead of the INVS.
2012-05-20 23:22:37 +01:00
chaos.powdertoy.co.uk
c23ded61f8 Version Increment 2012-05-20 22:05:17 +01:00
jacksonmj
a11202313d New flood_parts function, should fix crashing due to too much recursion 2012-05-17 21:56:21 +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
Savely Skresanov
66b946d5c6 Move SDL_GetVideoInfo before SDL_SetVideoMode so it will probably fix
sizing issues for people.
2012-05-16 21:46:36 +07:00
chaos.powdertoy.co.uk
a4d952a5c1 Version Increment 2012-05-13 13:03:27 +01:00
Simon Robertshaw
17229ead05 URI handling for MacOS 2012-05-13 13:01:29 +01:00
jacksonmj
58ea2b2acf Make TTAN block pressure when framestepping 2012-05-12 17:07:52 +01:00
jacksonmj
137903f809 Fix crash after closing display options (vid_buf was being freed) 2012-05-12 13:04:09 +01:00
jacksonmj
9f0cb4857e Don't hide stickman when energy particles pass through his head 2012-05-12 13:00:29 +01:00
Savely Skresanov
da6d5b348a Added a GUI error box for window resizing failure. 2012-05-12 18:45:26 +07:00
savask
9b8e0280eb Check screen resolution before scaling game window. 2012-05-12 18:05:22 +07:00
chaos.powdertoy.co.uk
bb6dab9402 Version Increment 2012-05-12 03:28:22 +01:00
Simon Robertshaw
81f84c4678 Allow TTAN to conduct more than once 2012-05-12 03:27:45 +01:00
Simon Robertshaw
b8534e68f5 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2012-05-12 01:37:07 +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
chaos.powdertoy.co.uk
f24cf9ff89 Version Increment 2012-05-11 21:09:07 +01:00
Simon Robertshaw
d7fa0b139e New element: Titanium, absorbs some neutrons, acts as a solid wall to air. Move blockair filling into update_particles so it can be used by elements 2012-05-11 21:02:58 +01:00
jacksonmj
de6203e049 Fix TNT not exploding if multiple TNT particles are in the same place
flood_prop only changes the tmp value of one TNT particle at each
coordinate. So some TNT particles can retain tmp=1 and keep running
flood_prop, stopping the TNT from exploding.
2012-05-11 20:40:08 +01:00