Commit Graph

157 Commits

Author SHA1 Message Date
Simon
d37bd56eb6 'M' For selected element swap, 'dae' var for showing a selected element box upon element change (not implemented) 2011-04-17 20:34:54 +01:00
Simon
f20bedd3de info_box for renderer 2011-04-12 12:51:43 +01:00
Simon
767d73c5fc astyle 2011-04-08 11:09:42 +01:00
Simon
ca02640ebb Avoid potential overflow when pasting long text strings 2011-04-06 13:14:13 +01:00
Cracker64
1bc97fcc37 copy and paste functions for text boxes. 2011-04-06 13:08:59 +01:00
Simon
7663192174 Copy text box for save_name_ui 2011-04-04 20:46:27 +01:00
Simon
af76611a64 Add copytext box to the footer of open_ui 2011-04-04 20:27:00 +01:00
Simon
8872a1065b Move copybox into its own control 2011-04-04 20:02:11 +01:00
jacksonmj
63089242a5 Successful deletion is not an error 2011-04-04 16:12:13 +01:00
jacksonmj
90f8c4f483 error_ui: wrap text and change message box height to fit
Stops banned user message overflowing out of message box
2011-04-04 16:11:37 +01:00
Simon
630ab09f63 Copy text UI 2011-04-01 22:26:29 +01:00
Simon
1dee7a8da2 Fixed console message 2011-04-01 10:37:27 +01:00
Simon
b7a004986f A cracker commit with some nice comments 2011-03-30 18:57:49 +01:00
Simon
a7f028a62a Merge branch 'dev' of git://github.com/jacksonmj/The-Powder-Toy 2011-03-23 11:43:09 +00:00
jacksonmj
32e05a6adc Fix crashes when saving 2011-03-22 20:58:17 +00:00
Simon
2e401babb7 Python console 2011-03-22 17:58:52 +00:00
Simon
c096b2b14a More cracker fixes 2011-03-22 17:25:29 +00:00
Lieuwe
7e27282b92 you can now disable(tpt.disable_python) or enable(python) the python console :D 2011-03-18 19:42:23 +01:00
Lieuwe
96959503cd now warns about a disabled python console. 2011-03-18 19:02:09 +01:00
jacksonmj
56f966b4db Add some arguments to save build/parse functions
To make clipboard manipulation easier.
2011-03-18 12:41:36 +00:00
Lieuwe
295b384466 fixed keyrepeat api call 2011-03-17 16:35:00 +01:00
jacksonmj
a6dabf2072 Visual Studio 2011-03-16 19:09:12 +00:00
jacksonmj
72a4490bb5 Save ID is useful, so display it! 2011-03-12 18:12:29 +00:00
jacksonmj
24e053ca62 Limit length of save title and username at bottom of screen 2011-03-12 17:08:35 +00:00
Cracker64
3b048f8a06 merge merge merge 2011-03-10 15:43:27 -05:00
Simon
30462ec28d Python console changes 2011-03-04 11:14:34 +00:00
Lieuwe
0a9ea3819f Merge branch 'master' of https://github.com/FacialTurd/The-Powder-Toy 2011-03-03 21:14:28 +01:00
Cracker64
9e8b7440ba a get_pmap and get_prop function for python so fancier scripts can be made. Made a demo of increasing element type by one, import example, example.increment() 2011-03-02 23:30:04 -05:00
Simon
920e589d62 Enable key repeat for console 2011-03-02 22:22:46 +00:00
Lieuwe
364759ff08 python console 2011-03-03 04:54:19 +08:00
Cracker64
9fffbb88da console things, set commands use keywords for arguments. 2011-03-02 15:43:20 -05:00
jacksonmj
647ff2bff0 Fix some potential crashes, better handling of empty server responses 2011-03-03 04:07:12 +08:00
jacksonmj
57630e561d Fix some potential crashes, better handling of empty server responses 2011-02-26 20:58:22 +00:00
Simon
669a672b3d Pretty transparent console 2011-02-24 18:04:08 +00:00
Cracker64
a53d956d8d transparent console.... 2011-02-23 21:55:33 -05:00
Cracker64
a8439f221e updating 2011-02-22 20:55:09 -05:00
Simon
a84234dcd4 Improvement to scrolling menu 2011-02-22 00:51:01 +00:00
Simon
bb0b4e6802 UI improvements for elements menu 2011-02-21 17:57:17 +00:00
jacksonmj
6f2965d0d0 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-22 00:08:20 +08:00
jacksonmj
dc35feeac9 Fix console preventing window from closing 2011-02-22 00:05:52 +08:00
Simon
1307af5c57 Fix saving of display mode from keys and fix persistent display 2011-02-19 18:59:07 +00:00
Cracker64
b08c37342b Commands in signs, some don't fit 2011-02-14 20:32:01 -05:00
jacksonmj
d57c5ef5e0 Visual Studio compatibility
Also fix two compiler warnings
2011-02-13 00:30:54 +00:00
Cracker64
e882dfecf9 update with latest 2011-02-10 19:46:34 -05: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
5fbb37ba60 Fix console particle number, coordinate parsing 2011-02-07 15:56:10 +00:00
jacksonmj
2569d244d4 Merge branch 'upstream' into dev
Conflicts:
	src/powder.c
2011-02-04 19:59:50 +00:00
Simon
0d863dce94 Nobody likes extra line breaks] 2011-02-04 12:17:24 +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
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
Simon
525a59e280 Fixes from cracker64, also lolsounds 2011-02-03 15:37:55 +00:00
Cracker64
5383311cba testing playing .wav files. lol sounds 2011-02-01 20:35:41 -05:00
Cracker64
fea297b2ac Update with simon, and drawing SPRK on walls crash fix. 2011-01-31 22:53:32 -05:00
Simon
c78d4203ee Small changes from cracker 2011-01-31 22:17:44 +00:00
Simon
b033a9655d Fix for liquids - jacksonmj 2011-01-31 22:10:34 +00:00
Simon
5ec884993f Fix login for non-elevated users 2011-01-31 20:25:27 +00:00
Cracker64
c1ca8bae29 merge jacksonmj's and simon's changes, and made mouse coords show up in debug so it is easier to get them. 2011-01-31 13:12:29 -05:00
Simon
8363a21f23 ALL GLORY TO THE SAVASK 2011-01-31 16:54:13 +00:00
jacksonmj
5bf8755655 Console improvements
Can use x,y coordinates to specify which particle.
ctype now also accepts element names.
More sanity checking of input.
delete command added.
2011-01-31 16:36:40 +00:00
jacksonmj
363a3e38f1 Merge branch 'cracker64' into dev
Conflicts:
	src/interface.c
	src/main.c
2011-01-31 14:05:05 +00:00
Cracker64
3babc0586c stupid git, didn't take description change 2011-01-31 00:49:50 -05:00
Cracker64
b7f768e4b3 Moved console commands into own function. Added running script files so console commands can be run instantly. Added create command. element names work, from jacksonmj. 2011-01-31 00:12:47 -05:00
jacksonmj
cdd7399cc1 Make console recognise element names 2011-01-31 02:42:34 +00:00
jacksonmj
f85ef31b1f Merge branch 'upstream' into dev 2011-01-31 02:25:55 +00:00
Simon
61292f5355 Fix bugs with console. 2011-01-30 23:20:12 +00:00
Cracker64
6aaa9e78cd possible fix from jacksonmj, cursor gets set to end while changing commands with up/down 2011-01-30 18:15:53 -05:00
jacksonmj
e2b916a91f Console segfault fix
ed.str is deallocated when console_ui returns. Dereferencing the
returned pointer to ed.str therefore results in bad things.
2011-01-30 22:37:59 +00:00
jacksonmj
f97990fedd Merge branch 'upstream' into dev 2011-01-30 22:36:15 +00:00
Cracker64
8ed2947b4c update with latest 2011-01-30 16:46:50 -05:00
Simon
bcbcb0063b Command buffer, limit is 9, I think 2011-01-30 21:38:24 +00:00
Simon
8510421b37 Merge with crackers console 2011-01-30 20:05:47 +00:00
Cracker64
fcf958da21 added 'load' command, and a basic error message. 2011-01-30 15:00:54 -05:00
Cracker64
e18337a70a Added a console! it is pretty self explanitory 2011-01-30 01:23:24 -05:00
Simon
f391b896d4 Use Sessions instead of saving password 2011-01-29 12:16:13 +00:00
Cracker64
bcea95c5ca update to latest 2011-01-28 18:54:50 -05:00
jacksonmj
58a700fbb0 Fix SIGFPE when opening creations with exactly 50 up/down votes
Only occurs on optimised (using $(OFLAGS) in Makefile) builds
2011-01-23 15:40:01 +00:00
Cracker64
1b35811bd4 revert all limit changes, a little too glitchy, can be done later when current limit is reached. 2011-01-19 14:25:56 -05:00
Cracker64
e1eeaf9e9a test with increased element limit, there seems to be no performace decrease to me anyway. element limit of 4096 2011-01-17 19:11:30 -05:00
jacksonmj
ed8c0031f4 Astyle. 2011-01-06 22:26:31 +00:00
Cracker64
081ad28435 updated with simons small changes 2010-12-29 17:55:14 -05:00
Simon
b2129bd129 Fix a bit of code readability 2010-12-29 21:33:21 +00:00
Cracker64
25b95e211e new display, Life, shows life in a grayscale gradient, will ONLY show up in debug mode, on shift-1, fix filt floodfill, portal has bigger storage, other fixes. 2010-12-29 09:44:12 -05:00
Cracker64
039a4e2f31 Added second stickman for Lulz, it works great though, controlled by wasd. 's' was moved to ctrl-s and d is ctrl-d 2010-12-18 02:14:53 -05:00
Cracker64
5b2c689394 another swch fix, desl fire fix, shift-g will make grid go down, BIZR glows from velocity in FIRE,ect. METL/BRMT/BMTL change color when heated in heat gradient view. other small changes. 2010-12-14 17:23:27 -05:00
Cracker64
23f828135a updated with icons, and some more fixes. 2010-12-12 20:13:05 -05:00
Cracker64
cbf41389a2 Bugfix for wifi, would cause a double spark if timed just right. updated to 2010-12-08 12:14:02 -05:00
Cracker64
efb7c6bc9c updated with simon's changes 2010-12-05 21:56:46 -05:00
Cracker64
2cf25c8a6a FILT, a photon color filter, not really a filter right now, but it changes the color. Other small changes 2010-12-04 23:29:41 -05:00
Cracker64
d56684312d WIFI, a wireless SPRK transmitter, has 25 'channels' controlled by temp. starting at 0C, every 100 degrees is a different channel, they are colored as well. Heat-gradient display, colors of elements is slightly changed based on temp. maybe some other fixes. 2010-12-04 12:24:54 -05:00
Cracker64
77a17ecaee VINE, plant grows up the side of WOOD. INST wire is now also a battery and will charge if it doesn't give off a spark right away. Will give spark to NSCN or SWCH that is on. found some more wall defines i missed. moved wall code up 100 numbers. INVS, solid that turns invisible to elements when under pressure. 2010-11-28 16:58:57 -05:00
Philip
a38dddaf5a Made wall code use #defines. small fix for adjustabl brush. 2010-11-19 22:03:52 -05:00
Philip
5d0da4b138 Added PIPE, yay. Added whole menu sections to be able to be specifically deleted. 2010-11-18 00:01:46 -05:00
Philip
9383c1ca4c Added a different velocity/pressure display. Added old fireworks i made. 2010-11-16 19:47:18 -05:00
Philip
663db5374f Added BCLN LOVE WTF. description on forum post. A fix for loading COAL. made everything use the #defines for cmode (ex. CM_HEAT instead of 5). 2010-11-15 11:57:37 -05:00
Philip
ebcded767e First release of the mod 2010-11-12 12:46:02 -05:00
Philip
ac6fdb49e8 stupid git, no icon for nothing display, why would there be one 2010-11-11 21:42:56 -05:00
Philip
c23938eb6a Nothing display, for pilojo, called it cracker display for lulz, also won the race against antb, which didnt last long, he went on a baloon trip. 2010-11-11 21:38:43 -05:00
Philip
179a9f731a Updating with all new changes 2010-11-10 19:42:42 -05:00