Commit Graph

1392 Commits

Author SHA1 Message Date
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
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
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
Simon Robertshaw
81f84c4678 Allow TTAN to conduct more than once 2012-05-12 03:27:45 +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
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
Simon Robertshaw
befd4f5ef5 Remove silly copypasta from GPMP, causing gravity to depend on air pressure 2012-05-11 18:11:05 +01:00
Simon Robertshaw
835d6bbfb9 Fix for PUMP 2012-05-11 17:58:25 +01:00
Simon Robertshaw
0c8fae82c7 Base changes to HTTP.c on correct file version 2012-05-09 21:12:10 +01:00
Simon Robertshaw
aeb383742f Use CRLF instead of just LF for headers in GET requests 2012-05-09 21:07:17 +01:00
jacksonmj
1c5381662d Limit gel tmp value 2012-05-07 23:50:13 +01:00
jacksonmj
11bd67eb61 Change pipe and portal to check element type using properties instead of falldown and state 2012-05-07 14:09:14 +01:00
Aditya Vaidya
f69920b96c Added GPLv3+ license headers to all files in src/elements/ 2012-05-06 12:55:05 +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
028eb4d9a5 Fix repeated download of same history thumbnail
https://github.com/FacialTurd/The-Powder-Toy/issues/53
2012-05-03 22:06:30 +01:00
Simon Robertshaw
429f106ebf Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2012-05-03 21:53:16 +01:00
Simon Robertshaw
89911666f0 Remove stupid debug output for thumbnail cache, no idea why I have not removed this earlier 2012-05-03 21:52:59 +01:00
jacksonmj
d0b57d7d99 Fix crash when pasting text on platforms which don't support it 2012-05-01 00:48:17 +01:00
Simon Robertshaw
acf2515115 Oops, correct include AGAIN 2012-04-30 23:12:01 +01:00
Simon Robertshaw
df3e358918 Correct header include in SDLmain.m 2012-04-30 23:04:00 +01:00
Simon Robertshaw
322da62dfa Woo, file opening for OS X 2012-04-30 22:42:07 +01:00
Simon Robertshaw
211770e818 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2012-04-30 21:49:40 +01:00
Simon Robertshaw
8397b6e51a Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient heat, Add PROP_NOAMBHEAT to FILT to fix http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=13579 2012-04-30 21:49:33 +01:00
jacksonmj
433c1881bc strncpy for loading sign text in OPS 2012-04-30 14:36:45 +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
savask
74979102b3 One gel particle can't absorb more than 100 water particles now. 2012-04-30 00:40:05 +07:00
jacksonmj
6717f4ff32 Save soap bubbles 2012-04-29 15:31:18 +01:00
jacksonmj
d7f798da60 Fix bounds checking for SING and make explosion pressure area smaller
Making the area smaller means a bit less pressure is generated, but it
does stop the pressure going through walls
2012-04-29 01:37:52 +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
34bfd77aa5 Line snapping for deco editor 2012-04-29 00:22:02 +01:00
jacksonmj
ade3fd9568 Delete signs when cutting; change sign location check when saving
Save signs within the original box that was drawn by the user, not
within the box that has been expanded to match the wall grid
2012-04-29 00:11:54 +01:00
jacksonmj
5d5b8143a4 OPS loading: don't replace existing particles twice, and clear soap ctype 2012-04-27 18:28:39 +01:00
jacksonmj
6101c04ff9 Use an array instead of ctype to cache tron colour 2012-04-27 18:09:54 +01:00
jacksonmj
c8a1524d6b Save tmp2 for tron 2012-04-27 17:46:40 +01:00
jacksonmj
418bdf0892 Add tmp2 support to old console 2012-04-27 17:42:22 +01:00
Simon Robertshaw
a75da2c4c3 Fix includes for OSX and BSD 2012-04-27 13:51:42 +01:00
savask
ffee9df8e6 It's hard to be a fool (fix for the fix) 2012-04-27 19:49:01 +07:00
savask
68ab2e3148 Gel won't move solids any more. 2012-04-27 19:36:08 +07:00