Commit Graph

648 Commits

Author SHA1 Message Date
jacksonmj
ac7eda80a5 Zoom key conflict with international keyboards
Change zoom key to only use keysym.sym, like all the other keyboard
controls. This may mean it is no longer the 'z' key on all
systems, but will prevent it conflicting with the
other keyboard controls.
2011-02-20 22:47:08 +00:00
jacksonmj
317ddab617 Reduce overlap of HUD text when in debug/beta mode
Also reduce duplication of some HUD code
2011-02-20 20:55:47 +00:00
jacksonmj
b3278cf888 Fix some compiler warnings 2011-02-20 20:46:26 +00:00
jacksonmj
1ae599d63e Fix console preventing window from closing 2011-02-20 19:08:50 +00:00
jacksonmj
e640e2dd42 Always save last display mode 2011-02-19 15:51:10 +00:00
jacksonmj
a2091ede76 Move reset code to own function
Also clear persistent view when loading a save or clearing the screen.
2011-02-19 15:41:44 +00:00
jacksonmj
32f8e85d50 Merge branch 'upstream' into dev 2011-02-18 23:14:42 +00:00
jacksonmj
72e6fdd9f6 Preventing creation of invalid types also prevented use of air/temp tools 2011-02-19 07:07:08 +08:00
jacksonmj
8c6f93cd20 Makefile - libregex for mingw32, and change icc spaces to tab 2011-02-19 07:07:08 +08:00
jacksonmj
df8c13cc58 create_box improvements
Boxes now have sharp corners - they fill only the specified rectangle and not 1 pixel extra
on all sides.
2011-02-19 07:06:22 +08:00
jacksonmj
81ce5d74cc Crash when element with invalid type is created
Generally due to an invalid ctype for clone.
2011-02-19 07:06:22 +08:00
jacksonmj
1b23302513 FLAG_STAGNANT usage lost during rewrite 2011-02-19 07:06:21 +08:00
jacksonmj
dab9f85024 Fix incorrect liquids movement 2011-02-19 07:06:21 +08:00
Cracker64
7c123cdb00 NEUT fixed to dust and fwrk reaction. 2011-02-19 07:04:54 +08:00
jacksonmj
914cf28fa7 create_box improvements
Boxes now have sharp corners - they fill only the specified rectangle and not 1 pixel extra
on all sides.
2011-02-16 21:22:39 +00:00
jacksonmj
29a63795dd Preventing creation of invalid types also prevented use of air/temp tools 2011-02-16 20:56:43 +00:00
jacksonmj
7ef2363f90 Crash when element with invalid type is created
Generally due to an invalid ctype for clone.
2011-02-15 22:24:29 +00:00
jacksonmj
d5fcee7a1e Makefile - libregex for mingw32, and change icc spaces to tab 2011-02-15 22:07:24 +00:00
jacksonmj
8c531c5286 FLAG_STAGNANT usage lost during rewrite 2011-02-13 21:59:45 +00:00
jacksonmj
99be47c8bd Fix incorrect liquids movement 2011-02-13 21:43:19 +00:00
Simon
809289b13d ALL GLORY TO THE SAVASK 2011-02-13 14:38:42 +00:00
Simon
e6ab5b0f36 Fix Clickable signs 2011-02-13 14:03:06 +00:00
Simon
b0b736d49e Moved Gravity identifiers, added gravity mode and air mode to save format 2011-02-13 13:42:38 +00:00
jacksonmj
d57c5ef5e0 Visual Studio compatibility
Also fix two compiler warnings
2011-02-13 00:30:54 +00:00
jacksonmj
457ceeff0a BCLN and GOO advection fix 2011-02-09 17:19:48 +00:00
Simon
3de4d163a5 Merge branch 'dev' of git://github.com/jacksonmj/The-Powder-Toy 2011-02-09 15:56:30 +00:00
Cate
d5fe05d760 "Added Air modes using Gravitymode code" 2011-02-09 23:52:28 +08:00
jacksonmj
7c100f29c0 gol2 not resetting properly
Causes life to malfunction severely in some cases
2011-02-08 22:32:06 +00:00
jacksonmj
6bbc5328fc Sound device not compulsory 2011-02-08 14:30:02 +00:00
jacksonmj
b85c29dee4 Prevent crashes in the event of ridiculous temperatures 2011-02-07 20:29:11 +00:00
jacksonmj
cb74b0bacf Improve console element parsing
GOL, 34, 2x2 now work. Element types can no longer be referred to by
number, to remove ambiguity between type and particle number.
2011-02-07 17:13:31 +00:00
jacksonmj
29bd6e42f5 Correct some fancy mode graphics 2011-02-07 16:19:14 +00:00
jacksonmj
5fbb37ba60 Fix console particle number, coordinate parsing 2011-02-07 15:56:10 +00:00
jacksonmj
ee100cb4f0 Fix GoL deleting particle 0 2011-02-07 15:24:08 +00:00
jacksonmj
6749eb1960 More flood_parts fixes
kill_part needs to update photon map, otherwise delete_part keeps
deleting the same photon, leading to infinite flood_parts recursion.
2011-02-06 20:24:20 +00:00
jacksonmj
e791e21c3e Fix x,y not always updating and particle # not showing when BETA defined 2011-02-06 17:52:35 +00:00
jacksonmj
b7e50f521c Fix flood_parts crashes
Crashes due to infinite recursion in flood_parts, which seemed to be caused by
the pmap being incorrect.
2011-02-06 17:16:49 +00:00
FacialTurd
3a4b7f6983 Uninitialised pointer segfault if not previously logged in - jacksonmj 2011-02-06 04:41:48 -08:00
jacksonmj
21d0dd0ca2 Better text wrapping 2011-02-05 15:44:29 +00:00
jacksonmj
196ccd1e36 Uninitialised pointer segfault if not previously logged in 2011-02-04 20:53:15 +00:00
jacksonmj
2569d244d4 Merge branch 'upstream' into dev
Conflicts:
	src/powder.c
2011-02-04 19:59:50 +00:00
Simon
bb3964138c Fix Antimatter 2011-02-04 13:09:48 +00:00
Simon
0d863dce94 Nobody likes extra line breaks] 2011-02-04 12:17:24 +00:00
Simon
aef66fbfe3 Session checking on startup and compatibility fixes 2011-02-04 12:16:45 +00:00
Simon
dd5ca12223 We don't want any buffer overflow, especially when reading file and user input 2011-02-04 11:42:11 +00:00
Simon
9469a3b46a Merge with cracker, also fix version 2011-02-04 10:24:35 +00:00
Cracker64
9064cabf28 merge jacksonmj's and much better string parsing because of a function i found. 2011-02-04 01:00:03 -05:00
Cracker64
b6f1ba977c missed some corrections, fixes GoL 2011-02-03 17:28:08 -05:00
Cracker64
1755f08e44 variables and if statements for scripts, GoL is glitchy for me, i don't know why 2011-02-03 16:38:58 -05:00
jacksonmj
d21d1f7ba5 Merge branch 'upstream' into dev 2011-02-03 18:47:23 +00:00