Commit Graph

1492 Commits

Author SHA1 Message Date
Simon Robertshaw
9abe51526c Move all GUI source files into gui/ 2013-03-22 14:14:17 +00:00
Simon Robertshaw
2c311b9a36 Use "http://" for update/startup check 2013-03-22 13:40:54 +00:00
Simon Robertshaw
e6db760205 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-03-22 13:21:13 +00:00
Simon Robertshaw
700aff4784 Don't try to parse update check response if it's NULL! 2013-03-22 13:20:54 +00:00
jacob1
29e2604f57 fix compiling error
also bug, I had some weird formatting that broke the json parsing
2013-03-21 21:49:04 -04:00
Simon Robertshaw
c4a500aa21 Merge 2013-03-21 21:49:59 +00:00
Simon Robertshaw
81a34222d1 POST requests for APIRequest, allow saving user details from within the game, Asynchronous HTTP POST 2013-03-21 21:49:06 +00:00
jacob1
d357fcdc36 add back bounds check to DTEC/TSNS where needed, change VIBR back to 5x5 loop checks
a better way to change it to 3x3 may have to be found that has the same ratios, other elements like WATRs have their rates changed too
2013-03-17 12:21:45 -04:00
jacob1
b617b8b656 fix compiling error 2013-03-16 14:00:11 -04:00
Simon Robertshaw
b4564f212a Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-03-16 17:45:45 +00:00
Simon Robertshaw
f05044ab68 APIRequest, Aync methods for client, Profile edit/viewer (WIP) 2013-03-16 17:45:18 +00:00
jacob1
3a738846a3 add identifier constants based on the display name to the lua api 2013-03-16 13:23:19 -04:00
Saveliy Skresanov
d76650f7e6 Remove unnecessary code in legacy part. 2013-03-16 23:16:08 +07:00
Saveliy Skresanov
43974d8537 Narrowed loops for all elements in the first list.
Probabilities might be messed up a bit, I'm not sure.
2013-03-16 23:03:02 +07:00
Simon Robertshaw
d383d6d7e5 Higher quality thumbnails for Renders 2013-03-16 11:25:13 +00:00
Simon Robertshaw
b6e1526345 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-03-16 11:20:23 +00:00
Simon Robertshaw
0646b7fe41 Nicer resize method for VideoBuffer, fix Local and Server save previews 2013-03-16 11:20:11 +00:00
jacob1
ff304321c5 new PSTN arms get deco color of the pushing pistons 2013-03-15 21:32:46 -04:00
jacob1
2267f34386 add a button to show the save uploading rules inside the save upload dialog 2013-03-15 20:32:39 -04:00
jacob1
cd8ea8ad0e fix scrollbar not showing in scrollpanels if your mouse starts out already ontop of one 2013-03-15 14:48:01 -04:00
Simon Robertshaw
ca9ea8bb8a Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-03-15 13:41:27 +00:00
Simon Robertshaw
73b6ff4efb Use VideoBuffer in place of thumbnail 2013-03-15 12:59:55 +00:00
jacob1
2aa483e0a2 fix gravatars not showing for moderators 2013-03-14 23:58:09 -04:00
Simon Robertshaw
6b68c04cd6 Fix multiple free after merging multiple request objects 2013-03-14 12:10:56 +00:00
Simon Robertshaw
9ab70756af Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-03-14 11:30:35 +00:00
Simon Robertshaw
9479b7f330 Move requestbroker into new folder, make request process function a method of Request 2013-03-14 11:30:24 +00:00
jacob1
10e104f3f5 change BOUNDS_CHECK define to just be true, it isn't needed since an element can never update when it's closer than 3 pixels away from the edges of a save. 2013-03-13 15:56:40 -04:00
jacob1
e493cf8a47 fix all tab spacing issues in all the element files 2013-03-13 15:54:34 -04:00
Simon Robertshaw
7a055a9d90 More unnecessary string duplication 2013-03-12 21:29:27 +00:00
Simon Robertshaw
35b7f62d3b Remove unnecessary string duplication (http_init creates an internal copy of the proxy string) 2013-03-12 21:27:42 +00:00
Simon Robertshaw
aae7113c81 Remove images from image cache on exit 2013-03-12 21:24:56 +00:00
Simon Robertshaw
de680a1e5c Merge 2013-03-12 21:21:01 +00:00
Simon Robertshaw
86b7a11800 Make thumbnailbroker more general purpose, image requests for requestbroker, avatars in previewview 2013-03-12 21:17:19 +00:00
jacob1
134d1fab10 delete ancient changelog.txt 2013-03-12 15:00:51 -04:00
cracker64
319ffb7e77 Change some old NEUTPENETRATE to NEUTPASS, NEUT should only displace GOO, WOOD, and PLNT. 2013-03-11 17:34:49 -04:00
cracker64
f2823b0ee8 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-03-10 23:27:22 -04:00
cracker64
2caa240d9d Delete thumbnails on close. 2013-03-10 23:23:17 -04:00
jacob1
a65d93523d fix small free/delete mismatch / a warning 2013-03-10 23:21:28 -04:00
jacob1
85d6c12721 fix stamp thumbnails not showing until you move the mouse, add a few new[]'s replacing some .c_str() pointers in client.cpp 2013-03-10 22:08:00 -04:00
Simon Robertshaw
e6bca489c9 AvatarButton/holder, rename ThumbnailBroker for more general purposes 2013-03-10 18:08:34 +00:00
cracker64
5aa233d4e7 Use cancels instead of pthread_getattr_np for compatibility.
Stopping the download would be nice, it still goes in the background.
2013-03-10 01:47:09 -05:00
cracker64
3abc33fd3b Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-03-09 22:48:12 -05:00
cracker64
a9e66429d6 Fix some memory issues when closing preview UI too fast.
I'm not sure if this pthread usage is ideal, but it does seem to work on linux.
2013-03-09 22:47:08 -05:00
jacob1
e6f6eedd13 fix empty signs being created when shifting them out of bounds, draw parts of images when it goes partway off the top of the screen. 2013-03-09 16:50:36 -05:00
jacob1
c66d4c72f5 Merge remote-tracking branch 'origin/master' 2013-03-09 11:50:14 -05:00
jacob1
1ca39e1e7d allow new searches even if tags haven't loaded
fixes search buttons being enabled but not working until the tags list is loaded
2013-03-09 11:49:49 -05:00
Simon Robertshaw
6090f0b0aa Don't leak saveComments vector in PreviewModel, also don't create unnecessary duplicate in PreviewView 2013-03-09 12:19:02 +00:00
jacob1
189f96d35f case insensetive local save searches, fix extention being counted in the match 2013-03-08 22:31:08 -05:00
jacob1
f9c219da93 a few more memory leak fixes 2013-03-08 20:56:54 -05:00
jacob1
89c784fcfa attempt to fix random memory corruption / crashing bug ... this is the only thing that looks like it could be it 2013-03-07 23:26:24 -05:00
jacob1
77d233240f fix mismatched malloc/delete[]'s when not using new image resampler 2013-03-07 22:14:00 -05:00
jacob1
a411fda7de fix CRAY(SPRK) difference 2013-03-06 21:13:42 -05:00
jacob1
9316054ab2 fix CRAY(SPRK) bugs (?) 2013-03-06 14:23:26 -05:00
jacob1
037618e6f8 remove auto generated comments from all files, fix some missing tabs, remove unused variables from config.h 2013-03-06 12:05:59 -05:00
jacob1
ad951eb9af fix being able to toggle disabled buttons (fixes save browser issue with this) 2013-03-04 15:59:45 -05:00
jacob1
38573cc30e by date turns white like my own does when selected 2013-03-04 15:27:51 -05:00
jacob1
0f5b4a9ec8 fix pressing esc in login prompt logging you out, fix possible sign bug crash 2013-03-04 14:57:40 -05:00
jacob1
6bea8f5235 revert life changes, will be redone later in a faster way 2013-03-03 19:58:53 -05:00
jacob1
55f090b4d2 Merge remote-tracking branch 'origin/master' 2013-03-03 19:08:05 -05:00
jacob1
f951e5cda9 fix LIFE 2013-03-03 19:07:15 -05:00
cracker64
de6bb6a960 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-03-03 17:08:36 -05:00
jacob1
8b83ae9f95 PSTN ctype sets the element that stops it, FRME with a tmp of one is non-sticky (doesn't pull) 2013-03-03 16:36:37 -05:00
cracker64
2be0b22211 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-03-03 16:32:11 -05:00
cracker64
5e1c7d7932 Some better comments in SPRK, renamed rt and ct. 2013-03-03 16:30:34 -05:00
jacob1
cca1898ee8 Merge remote-tracking branch 'origin/master' 2013-03-03 15:39:10 -05:00
jacob1
17d79e8d8e fix crash when drawing particles in invalid coordinates (using console) 2013-03-03 15:38:52 -05:00
cracker64
bb87299eb4 Missed one SPRK case. 2013-03-02 20:07:17 -05:00
jacob1
846d7d8064 allow NEUT to travel through ICE and SNOW, and for it to turn OIL to GAS (both like inextremely old versions) 2013-03-02 19:07:00 -05:00
cracker64
85cb4b37c9 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-03-02 00:42:17 -05:00
cracker64
d58100dc07 More fixes, redid a bunch of SPRK, so far everything I've tested works fine. 2013-03-02 00:42:07 -05:00
jacob1
cd18515e0a piston retraction now checks pmap 2013-03-01 23:06:02 -05:00
cracker64
a9f4b5fe34 Quick fix for IRON 2013-03-01 00:55:10 -05:00
cracker64
0d70547cf0 More fixes to fix fixes and new fixes to fix stuff. 2013-03-01 00:41:53 -05:00
cracker64
5873d69586 Going through again. 2013-02-28 12:37:16 -05:00
cracker64
c65081d3ed Finished first pass-through for all elements.
Will get a few more places later.
2013-02-28 00:40:36 -05:00
cracker64
08d1a68ce0 More fixes. 2013-02-27 17:20:05 -05:00
cracker64
3d2e594150 Small modifications part three. 2013-02-27 12:08:10 -05:00
cracker64
27e3e12518 Small optimizations number 2. 2013-02-27 00:11:23 -05:00
cracker64
8250515e97 Lots of small optimizations and things, nothing should be functionally different.
Only gotten through a few elements, more later.
2013-02-26 18:59:37 -05:00
jacob1
e700ff2988 Merge remote-tracking branch 'origin/master' 2013-02-24 22:10:31 -05:00
jacob1
572d099e29 fix a few more memory errors 2013-02-24 22:09:33 -05:00
jacksonmj
5c2f310577 Make default DCEL exactly reverse the effect of default ACEL 2013-02-25 01:05:12 +00:00
jacob1
27ac5ab75d you never saw that ... 2013-02-24 19:16:06 -05:00
jacob1
fbf52794e5 fix even more memory leaks 2013-02-24 19:11:37 -05:00
jacob1
b92bd245c8 fix 4 MB memory leak on every save 2013-02-24 15:23:34 -05:00
jacob1
0939494747 fix problems found with valgrind with shifting stamps and saving 2013-02-24 14:12:48 -05:00
jacob1
f138e10917 Merge 2013-02-24 11:52:09 -05:00
jacob1
7379a6b5ba fix crash when hovering the mouse over invalid wall types 2013-02-24 11:50:20 -05:00
Simon Robertshaw
8dfb1ecf87 ACEL and DCEL use life for strength value 2013-02-24 11:50:10 +00:00
jacob1
6b1e99a731 allow ACEL and DCEL strength to be modified with ctype 2013-02-23 23:45:40 -05:00
jacob1
20d8eff7f5 remove uneeded PSTN check, fix PSTN not retracting sometimes, fix PSTN bug where is wouldn't properly tell the difference between PSTN and PSTN arms 2013-02-22 16:50:33 -05:00
jacob1
11f45e3e99 CRAY spawns elements at its temp, fix color glitch with ARAY too, move FRME to force 2013-02-22 11:54:32 -05:00
jacob1
40c4289ce8 fix CRAY(SPRK) bugs, make CRAY act more like before again 2013-02-22 00:19:12 -05:00
jacob1
3da733b027 fix PSTN bugs where FRME would still move even if all of it couldn't, fix PSTN going through walls, fix bug where the PSTN extention may not be created in some glitched cases 2013-02-21 23:35:44 -05:00
jacob1
2184d35b28 reset colored and partsRemaining, to fix bugs when CRAY is sparked multiple times at once 2013-02-20 21:11:50 -05:00
jacob1
74387040a1 fix CRAY INST mode ignoring length, fix CRAY going ignoring walls, fix CRAY + GOL particles, allow CRAY to create sparks 2013-02-20 18:36:00 -05:00
Simon Robertshaw
27a60e7b71 Particle position lookup with sim.partID 2013-02-17 15:53:34 +00:00
Simon Robertshaw
52d0bb918d sim.partProperty API method, sim.partPosition API method 2013-02-17 15:24:56 +00:00
Simon Robertshaw
e3453aedd1 Update version/build number 2013-02-17 11:31:34 +00:00
Simon Robertshaw
81f92ed0ec Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-02-17 11:31:03 +00:00
Simon Robertshaw
5beb4255c8 Tag origin version info in save files 2013-02-17 11:30:53 +00:00
jacob1
a3454c49be fix CRAY only deleting odd numbered elements 2013-02-16 15:11:59 -05:00
jacob1
5f331d4fce Update build number too 2013-02-16 13:47:12 -05:00
Simon Robertshaw
76ef237f46 Update version number 2013-02-16 15:27:47 +00:00
Simon Robertshaw
a091f55fec Allow implicit conversions when setting text property on some Lua API UI elements 2013-02-16 14:52:29 +00:00
Simon Robertshaw
8d04b260a7 Add missing removeComponent for Lua API 2013-02-16 14:49:05 +00:00
jacob1
01cd146ee9 fix mac compiling, fix renderer, fix other minor compiling issues 2013-02-14 23:31:31 -05:00
jacob1
5807602cc1 fix modifiers from lua, fix right ctrl 2013-02-11 11:45:49 -05:00
jacob1
4e918ab76d fix some more brush bugs, remove alt-sample brush 2013-02-10 14:27:49 -05:00
jacob1
897d250eb5 fix crash if save data can't be loaded 2013-02-09 21:16:15 -05:00
jacob1
28e8b9eb39 make smudge tool more similar to the old one 2013-02-09 19:42:31 -05:00
jacob1
dc6398a33e fix deco sample tool with 1 px brush, fix deco sample also sampling HUD/other text 2013-02-09 18:18:53 -05:00
jacob1
a989d97744 flood fill / sample brush shape, fix rectangle snapping 2013-02-09 00:01:00 -05:00
jacob1
685bde5c21 blobby walls in blob view 2013-02-08 22:50:37 -05:00
jacob1
1359045b14 fix tpt.selectedl not updating with sample brush, always put photons[] on top in HUD 2013-02-08 22:24:34 -05:00
jacob1
b8d53b5f76 fix sign box size, sign width with {t} and {p}, and zoom box size 2013-02-08 17:59:13 -05:00
jacob1
7ce34ad732 one more small thing: show gravity in debug mode hud even when it's a small value 2013-02-08 11:52:59 -05:00
jacob1
cd0af92fb3 minor fixes to color picker / small speed improvement 2013-02-08 11:39:14 -05:00
jacob1
8e02443f0a prevent CRAY from destroying DMND 2013-02-01 14:29:18 -05:00
Simon Robertshaw
486d26e40b Allow limited arm size from tmp2 2013-01-26 19:44:05 +00:00
Simon Robertshaw
03fde95719 Fix issue where piston won't push particles at index 0 2013-01-26 18:56:19 +00:00
Simon Robertshaw
631e49b8b7 Piston fix: Adjust colour and prevent piston from pushing too far when there's empty space 2013-01-26 18:04:24 +00:00
Simon Robertshaw
12e3802bf4 Put back default piston size 2013-01-26 17:16:58 +00:00
Simon Robertshaw
8e689fdd08 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-01-26 17:15:02 +00:00
Simon Robertshaw
3e60181dbe Piston collapses spaces properly 2013-01-26 17:14:44 +00:00
jacob1
46b767da0c clear persistent effects when it's display mode is removed 2013-01-25 23:15:33 -05:00
jacob1
1d97f1c985 typing '~' doesn't close the lua console 2013-01-25 22:57:51 -05:00
jacob1
4f59211ba8 Fix brush not being visible when using CTRL to change the size 2013-01-25 22:45:23 -05:00
jacob1
ea38fc2d86 fix possible crash with LIGH 2013-01-23 21:54:15 -05:00
jacob1
c5eecff131 fix "i" argument to graphics functions.
Also, they don't overwrite the default one, you can pass in nil to tpt.element/graphics_func for the function to restore the original.
2013-01-23 16:48:21 -05:00
Simon Robertshaw
7475a49e0b Fix piston retraction 2013-01-23 19:52:45 +00:00
Simon Robertshaw
6c89c63a44 PSTN: Do not accept current from diagonals, increase distance for spark checks 2013-01-23 19:20:52 +00:00
Simon Robertshaw
0034dd654e Fix FRME limits 2013-01-23 19:17:11 +00:00
Simon Robertshaw
412e13a03e Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-01-23 12:39:08 +00:00
Simon Robertshaw
da12cc6d46 Change to pistons, piston push length is base-1 blocks 2013-01-23 12:38:53 +00:00
Simon Robertshaw
a7aa26fa1a Added FRME - A solid that keeps its simple structure when pushed by piston 2013-01-23 12:36:31 +00:00
Simon Robertshaw
00cf48b520 Fully functional pistons, retract+extend 2013-01-23 12:06:06 +00:00
jacob1
07aade6c4c fix crash when pressing enter to open a save, and not logged in. Fix CRAY description 2013-01-23 00:26:57 -05:00
Simon Robertshaw
28fdb32bfb Clean up some unused variables from PSTN.cpp 2013-01-22 22:42:52 +00:00
jacob1
392271a269 fix tpt.set_property setting integers above 255, fix fs.isDir/File, add "Color" as valid property for elements api, fix tpt.display_mode to match tpt, other minor changes 2013-01-21 20:19:34 -05:00
Simon Robertshaw
9fb3e75f93 PSTN.cpp - Remove unused code 2013-01-20 23:08:50 +00:00
Simon Robertshaw
fde0233ea8 Pistons - WIP, No retraction yet 2013-01-20 23:08:16 +00:00
Simon Robertshaw
87d6553413 C-RAY: Similar to A-RAY, creates particles 2013-01-20 14:34:07 +00:00
jacob1
226a85a18d attempt to fix random deletion bug (can't reproduce easily, so can't tell if it's fixed easily) 2013-01-19 23:02:12 -05:00
jacob1
267cf9281b Update Build number 2013-01-19 17:40:25 -05:00
Simon Robertshaw
e7b174a78d Revert "move version info to version.h, no longer needs full recompile on version change"
This reverts commit b3a2ab735b.
2013-01-19 22:00:56 +00:00
jacob1
b493788b26 fix missing #ifdef statement breaking compiling when not on linux 2013-01-19 11:46:21 -05:00
jacob1
7d5cb361f0 fix error with renderer compiling 2013-01-18 14:50:06 -05:00
jacob1
8e7dfb20e9 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-01-18 14:38:05 -05:00
jacob1
ded94b475d move clipboard functions out of misc.cpp without creating errors 2013-01-18 14:37:24 -05:00
jacob1
17cd0e74f2 add gravmap setting. Getting doesn't work right now, and maybe i should check if gravx/y can be modified too 2013-01-16 23:48:09 -05:00
jacob1
f9f79e4f53 combine pressure functions, add sim.ambientHeat, sim.velocityX, sim.velocityY 2013-01-16 22:53:46 -05:00
jacob1
fc9f263961 sim.get/setPressure, a few constants to the simulation api 2013-01-16 22:34:32 -05:00
jacob1
639d4fc43c implement tpt.set_shortcuts 2013-01-16 14:05:31 -05:00
jacob1
e9b86365c8 log error messages for update functions 2013-01-16 11:42:06 -05:00
jacob1
b3a2ab735b move version info to version.h, no longer needs full recompile on version change 2013-01-15 11:28:28 -05:00
jacob1
62195dc2a3 allow removing zoom tool when shift drawing lines 2013-01-15 11:10:30 -05:00
jacob1
a27d637ceb Merge branch 'HEAD' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-01-15 10:31:17 -05:00
jacob1
8723bbc63c probably fix compiling error 2013-01-15 10:30:13 -05:00
jacob1
c1ad6c57ba Update version number, before I forget.
Version 85 happened after the commit ... i'm not sure and there is no 64 bit linux so I can't test
2013-01-15 00:33:08 -05:00
jacob1
76349ddbd4 don't allow 1-3 letter searches, because bad search results are just returned 2013-01-15 00:02:55 -05:00
jacob1
ccc51f2d68 don't allow tags unless 4 letters long 2013-01-14 23:38:55 -05:00
jacob1
e515512d88 deco menu needs to be clicked to enter, press 'b' to get out of deco editor too 2013-01-14 13:11:01 -05:00
jacob1
73fdfd411c copy support in linux 2013-01-13 15:24:52 -05:00
jacob1
01bfd486e7 local copy / paste support inside tpt for all platforms 2013-01-12 21:25:22 -05:00
jacob1
41751da619 change some free/malloc's back to delete/new's 2013-01-12 21:06:52 -05:00
jacob1
e29b4c14d6 Merge pull request #114 from mniip/deco
'b' key opens deco editor
2013-01-12 14:04:31 -08:00
cracker64
b3037857f0 Detach soap before going into STOR, fixes 1065982 (mostly) 2013-01-11 23:06:42 -05:00
mniip
df628c7fe3 moving gameModel was a bad idea, so i just made an alias function 2013-01-11 22:28:57 +04:00
mniip
269420c6c7 'B' opens deco editor 2013-01-11 21:29:35 +04:00
jacob1
f814d264b2 defocus components removed from scrollpanels, to prevent crashes 2013-01-10 12:02:54 -05:00
jacob1
17302f03c7 don't allow streamline floodfill 2013-01-10 09:50:10 -05:00
jacob1
9d67dd61e8 re-add tpt.display_mode, check element id's in tpt.set_property, tpt.get_script error with no args 2013-01-08 23:28:41 -05:00
jacob1
162a8ecba5 readd tpt.hud and tpt.set_console commands 2013-01-08 22:00:45 -05:00
jacob1
6dad17c2e1 fix console not closing when you use !load 2013-01-08 21:00:13 -05:00
jacob1
9e218f1847 change right click button id to 4 for lua events, to match old tpt 2013-01-08 00:11:47 -05:00
jacob1
ca143945be change tpt.fillrect dimentions to old tpt ones, move brush list generating out of BuildMenus 2013-01-07 21:50:43 -05:00
jacob1
158b054023 fix tpt.selectedl/r/a, but it returns the string identifier now instead of an id 2013-01-07 21:05:58 -05:00
jacob1
986173af4c save signs in snapshots 2013-01-07 17:54:10 -05:00
jacob1
5e20dd8545 allow directory search to find files with the extension repeated twice 2013-01-07 17:39:05 -05:00
jacob1
76947cefbc paused checkbox when saving 2013-01-07 13:24:38 -05:00
jacob1
d8166998f8 confirm on local save delete, ESC to exit local save browser, don't allow empty save names 2013-01-07 12:21:59 -05:00
jacob1
323dae959a local save deletion and renaming with the right click context menu 2013-01-07 11:56:48 -05:00
jacob1
659c3677aa delay deleting save buttons, to prevent possible crash later 2013-01-07 10:52:06 -05:00
jacob1
4aaf3b852e fix many more uninitialized variables 2013-01-06 19:41:18 -05:00
jacob1
d1abfc313e fix mismatched free()/delete's 2013-01-06 18:26:38 -05:00
jacob1
8e09651990 fix element function replacement option 2013-01-06 12:25:13 -05:00
jacob1
15040b32b0 draw cursor outline when shift drawing lines 2013-01-05 22:59:54 -05:00
jacob1
0cf027c529 VOID, VACU, and BHOL eat LIGH as it moves 2013-01-05 22:29:33 -05:00
jacob1
8f4d936de8 allow right click to close notifications too 2013-01-05 20:03:59 -05:00
jacob1
bd3011959a fix GOL detection with DTEC 2013-01-05 19:34:51 -05:00
jacob1
bce28b83b8 faster ellipse brush resizing that doesn't lag/freeze 2013-01-04 14:18:01 -05:00
jacob1
1b2e7b3c70 fix Ctrl+x being one pixel off, better xor_rect from tpt, delete test.c 2013-01-04 13:54:25 -05:00
jacob1
8e50abcab9 change that will probably fix custom menus not showing 2013-01-02 20:47:16 -05:00
jacob1
0159c2b5af more scons fixes for windows 2012-12-29 12:45:43 -05:00
jacob1
8945b5ec77 Merge remote-tracking branch 'origin/master' 2012-12-28 22:22:05 -05:00
jacob1
b46f982def fix save as new name not actually causing the new save & title to be loaded 2012-12-28 22:21:43 -05:00
jacob1
110fa71a2c Comment out cpu_check, which only creates errors 2012-12-25 20:11:48 -05:00
jacob1
9ecfbe5a18 Merge remote-tracking branch 'origin/master' 2012-12-23 18:17:34 -05:00
jacob1
312dd8c0ba revert stickmen CONV fix, and do it another way that doesn't crash 2012-12-23 18:17:04 -05:00
jacob1
b6e69e8126 Fix small mistake in TSNS 2012-12-21 00:18:10 -05:00
jacob1
a91459916d change max to 200, 500 was a bit large 2012-12-18 23:56:41 -05:00
jacob1
e302a07694 allow a slightly larger brush size 2012-12-18 23:49:30 -05:00
jacob1
e1440f48f6 use kill_part when creating a new particle over an index, fixes STKM not respawning after CONV and probably other stuff too 2012-12-18 16:26:24 -05:00
jacob1
dc0e47ac00 fix undo not allowing any more stickmen to be placed, save stickmen in snapshots 2012-12-18 16:17:13 -05:00
jacob1
9a2df6b824 fix sltw + liquid rubiduim explosion, make it work like water's 2012-12-18 15:17:57 -05:00
jacob1
b236c75209 make TSNS not detect METL, some other sensor and CONV fixes 2012-12-18 14:55:10 -05:00
jacob1
771d71ea46 make water equalization use flags, not tmp2 (fixes EXOT / BUBW) 2012-12-18 14:08:53 -05:00
jacob1
e685e30d58 make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves 2012-12-18 13:33:29 -05:00
jacob1
c06afff0a5 selecting a stamp moves it to the front of the list again (unless you hold ctrl)
attempted to do MVC right?
2012-12-18 12:20:52 -05:00
jacob1
672c5ee913 fix mismatched malloc() / delete [], fixes # 106 2012-12-17 23:57:55 -05:00
jacob1
dbe78c342d initialize variables in air.cpp and simulation.cpp 2012-12-17 23:49:46 -05:00
jacob1
b5de23433d fix '=' resetting air heat, fix uninitialized ambient heat setting, a few LOLZ / LOVE changes 2012-12-17 21:11:33 -05:00
jacob1
2728cf852b fix WARP being invisible, make it visible in heat display mode though 2012-12-17 20:08:46 -05:00
jacob1
f08481a88e fix TRON ignoring GOO until the last moment 2012-12-17 18:42:41 -05:00
jacksonmj
9c6f3c7fbb Fix crash in GameSave::serialiseOPS
Only particlesCount particles have been copied from the Simulation.
All the rest are uninitialised, and may have coordinates outside the
game area. Using those uninitialised coordinates in the index for
partsPosFirstMap may cause a crash.
2012-12-16 23:01:04 +00:00
Simon Robertshaw
d29c77b2d5 More detailed error when opening non-existent directory. 2012-12-16 16:41:30 +00:00
Simon Robertshaw
4d546b6818 Print errors regardless of build type 2012-12-16 16:40:29 +00:00
jacob1
06f8f88374 fix output appearing in stdout without DEBUG defined 2012-12-16 11:38:12 -05:00
jacob1
a85526bfac fix comment error messages not showing 2012-12-15 23:12:54 -05:00
jacob1
462bd7bdf9 fix comments being deleted when hitting enter and opening a save or getting an error when commenting 2012-12-15 22:55:53 -05:00
jacob1
1ef507d9e6 fix colors slightly from last commit 2012-12-15 20:42:30 -05:00
jacob1
c62ef2cb35 fix upvote buttons still having colored background after clearing the save, make them look more like from in tpt 2012-12-15 20:34:00 -05:00
jacksonmj
e4907d1881 Copy dcolour when MERC expands, to let people make coloured mercury thermometers 2012-12-16 00:16:05 +00:00
jacob1
a623959a31 save stamps on 1 pixel grid (works exactly like in tpt now), delete signs with Ctrl+X, also fixes stamps on very bottom/right edge and other edge cases 2012-12-15 15:13:12 -05:00
jacob1
0fd86e994a make the comment box always multiline. Fixing pasting large amounts of text into it. 2012-12-15 14:28:23 -05:00
Simon Robertshaw
735b2b659f Update version number 2012-12-15 18:29:26 +00:00
jacob1
a172a96897 make sure long amounts of text without spaces doesn't run over out of bounds
A character may be deleted to insert a new line, but when copying something like a url, the missing one is copied back in. I couldn't get inserting a newline between letters to work right
2012-12-15 13:17:29 -05:00
Simon Robertshaw
e0f8456531 Prompt for install on first startup 2012-12-15 17:14:43 +00:00
Simon Robertshaw
f047b4826f Make installation success message a little friendlier 2012-12-15 16:57:25 +00:00
Simon Robertshaw
6e62a54952 Add missing URL Protocol registration on Windows 2012-12-15 16:56:55 +00:00
Simon Robertshaw
201d314096 Element population histogram debug info display - has to be enabled by adding debugInfo.push_back(new ElementPopulationDebug(gameModel->GetSimulation())); somewhere in GameController 2012-12-15 15:57:57 +00:00
Simon Robertshaw
558888ac25 Ensure resampler.cpp is compiled when needed 2012-12-15 01:10:03 +00:00
Simon Robertshaw
b4475ae96f Very high quality image resampling code curtesy of imageresampler (http://code.google.com/p/imageresampler/), will replace current shitty linear interpolation for SSE2 and renderer builds. 2012-12-15 01:04:17 +00:00
Simon Robertshaw
a1af662b8f More accurate elementCount 2012-12-14 23:01:54 +00:00
Simon Robertshaw
ceee0b6dc5 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2012-12-14 19:44:30 +00:00
Simon Robertshaw
31c0666961 Prevent saves from being loaded twice by the Save browser 2012-12-14 19:44:16 +00:00
jacob1
f03fb97620 Merge remote-tracking branch 'origin/master' 2012-12-14 13:51:44 -05:00
jacob1
5362c56f7e update gravity wall zones whether or not newtonian gravity is on. Fixes #92 2012-12-14 13:50:36 -05:00
Simon Robertshaw
e5feefa419 Update WIRE name and description, fixes #101 2012-12-14 18:50:25 +00:00
jacob1
05fc39e40f a working scrollbar in the save preview. Also, fix the bug where you couldn't go back up a page when there weren't enough comments to fill a page 2012-12-14 13:34:00 -05:00
jacob1
002743ef08 make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before 2012-12-12 22:05:39 -05:00
jacob1
d57fe7618c fix walls loading incorrectly in extremely old saves. Fix some invalid save formats being loadable (it was onlychecking the 'O' in OPS) 2012-12-12 17:31:06 -05:00
Simon Robertshaw
38862a78d1 New Conversation notifications 2012-12-09 12:05:27 +00:00
Simon Robertshaw
6478ed121c Use NotifyAuthUserChanged for GameController login, this will help users become aware when their sessions expire. 2012-12-09 01:25:05 +00:00
Simon Robertshaw
05148e8a8d C++erific text cleaner function, also, it's a good idea to actually clean text coming from signs... 2012-12-09 00:14:48 +00:00
jacob1
226de5b6f8 add back element descriptions in some cpp files, fix minor TRON search problem. Also,
TPT-jacksonmj: Also fix bugs with energy particles that pass directly from PIPE to portal
2012-12-06 19:51:33 -05:00
jacob1
a15372afbf TRON_NORANDOM flag 2012-12-06 18:42:46 -05:00
jacob1
2881eeb1b3 allow TRON to plan ahead which particles will disappear by the time it gets there, and go on INVS too 2012-12-06 17:53:22 -05:00
jacob1
e5a284a2ba fix compiling warnings / error 2012-12-06 12:34:32 -05:00
jacob1
122599763e Merge remote-tracking branch 'origin/master' 2012-12-06 11:01:46 -05:00
jacob1
2d7ac84c1d give TRON the ability to go through activated SWCH 2012-12-06 10:56:24 -05:00
jacksonmj
9bf5eeeef9 Fix slight particle order issue with SWCH 2012-12-04 19:38:01 +00:00
jacob1
2a8811190c Fix infinite pressure glitch with CLST 2012-12-01 12:17:41 -05:00
Simon Robertshaw
61e25060ae Update version number (build 250) 2012-11-27 20:11:25 +00:00
Simon Robertshaw
3664a22f98 Right clicking on reload button will show save preview. 2012-11-26 11:48:27 +00:00
Simon Robertshaw
b08812569c Stop using persistent connections when we don't need them. Force shutdown of Thumbnailbroker before http lib close, fixes #84 2012-11-26 10:34:17 +00:00
jacob1
6a4040f2b7 Update src/simulation/elements/VIBR.cpp
fix EXOT destroying exploding VIBR
2012-11-23 21:28:10 -05:00
Simon Robertshaw
da554cfef2 Allow resizing of custom brushes 2012-11-18 22:25:24 +00:00
Simon Robertshaw
f3307e47a8 Helper function for linear interpolation 2012-11-18 22:24:56 +00:00
Simon Robertshaw
045f5e14c2 Custom brushes loaded from "Brushes" folder, format is a simple RAW 8bit greyscale square format 2012-11-18 18:03:36 +00:00
Simon Robertshaw
483e907702 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2012-11-18 18:02:34 +00:00
Simon Robertshaw
af29942117 Ensure directory enumeration works whether there's a path seperator at the end of the directory or not 2012-11-18 18:02:28 +00:00
jacob1
4654a2aaa0 update build number, which was incorrect. Add an easy way for mods to ignore updates 2012-11-18 12:43:11 -05:00
Simon Robertshaw
0be465aa4e Use ifndef WIN instead of ifdef _unix 2012-11-18 15:48:43 +00:00
jacob1
7a21ae192f VINE cool/burn effects like in PLNT, less sharp burn lines, fix infinite smoke from TNT 2012-11-16 23:35:34 -05:00
jacob1
9e72a619ab fix directly sparking metal not heating it up, fix formatting, allowing update_particles_i to be parsed 2012-11-16 22:43:46 -05:00
jacob1
eb9b3f6bdf fix link signs ignoring the zoom window, allow right clicking link signs to use them while sign tool selected 2012-11-16 19:22:34 -05:00
jacob1
6b846c6339 add (slightly updated) README from tpt
added new contributers, description from main page, and removed key combos and arguments that don't work
2012-11-16 18:20:48 -05:00
Bryan Hoyle
34ed62d685 Fixed issue with opengl-renderer, missing semicolon 2012-11-16 17:03:54 -05:00
Bryan Hoyle
874cd40009 Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-11-16 16:51:55 -05:00
Bryan Hoyle
fec50a2a8e Opengl fix 2012-11-16 16:50:02 -05:00
jacob1
d8be547c73 fix pause state being reset every time you clear the sim 2012-11-15 20:50:19 -05:00
jacob1
16e4c5f717 save pause state in stamps, load pause state from local saves and stamps correctly, remove accidental inclusion 2012-11-15 20:41:38 -05:00
jacob1
1e32c545d9 fix visual studio std::max problem 2012-11-15 20:23:38 -05:00
jacob1
bf3d7e9ad7 fix tpt.el.X.name commands 2012-11-15 20:13:19 -05:00
jacob1
38a18af2c5 fix crashes when deleting stamps or getting an error when saving 2012-11-15 20:00:55 -05:00
Simon Robertshaw
785fbcefdf Fix divide-by-zero error
...  when displaying save buttons that have zero votes.
2012-11-15 13:01:25 +00:00
Simon Robertshaw
51a5af6d5d Remove some debug printing 2012-11-12 10:48:20 +00:00
mniip
3d635bc68f More edge cases 2012-11-12 10:41:54 +00:00
mniip
947301c302 Better rectangle tool render function, no crappy pixels in edge cases anymore 2012-11-12 10:41:42 +00:00
Simon Robertshaw
29189693b3 Element palette for automatic element ID/mod mapping 2012-11-12 10:22:16 +00:00
Christoph Korn
04df448c96 Fix typo: Persistant -> Persistent
This commit just fixes a small typo which was found by lintian
when checking the Ubuntu package to be published on PlayDeb.net.
2012-11-09 22:23:05 +01:00
jacksonmj
d7c52241a4 Spelling: "hottest" 2012-11-06 20:26:19 +00:00
jacksonmj
fbbe9d81bf Transfer energy between VIBR and BVBR 2012-11-05 21:45:22 +00:00
Simon Robertshaw
150a2e528e Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-11-05 20:10:35 +00:00
Simon Robertshaw
8614a2d963 Update version number 2012-11-05 20:09:58 +00:00
jacksonmj
7da144fbae Fix INVS staying dark blue even when pressure is removed 2012-11-05 14:45:46 +00:00
jacksonmj
956fb39124 Oops, didn't see that parts[i].temp at the bottom, ignore the second half of that last commit message 2012-11-05 14:42:06 +00:00
jacksonmj
3cae63c733 VIBR: don't dump heat into elements that don't conduct heat, and put any remaining heat into EXOT at the end of the explosion 2012-11-05 14:18:28 +00:00
jacob1
dc41e46c81 fix two red BRAYS not being able to turn off swch from certain angles 2012-11-04 22:44:49 +00:00
jacob1
9b8357f822 update version number 2012-11-04 21:35:53 +00:00
jacob1
ca42162e5e fix heat release during explosion 2012-11-04 21:35:35 +00:00
jacksonmj
828623f9ec Change freezing point of VIBR lava, and make sure VIBR always absorbs energy particles 2012-11-04 21:10:27 +00:00
jacksonmj
12eb085d20 VIBR changes from jacob1
Including:
Molten TTAN + EXOT = VIBR.
VIBR + ANAR = BVBR. (BOYL reaction removed)
All absorbed heat/particles/pressure are stored in one property, tmp.
Graphics changes
2012-11-04 20:35:43 +00:00
Simon Robertshaw
e3a016d9c9 SC_SENSOR in Elements API 2012-11-03 18:06:19 +00:00
jacob1
d586a6d0ab PPIP doesn't break with pressure, to match TPT 2012-11-03 16:11:54 +00:00
jacksonmj
2ed53a99ae Change EXOT properties to match TPT 2012-11-03 16:11:11 +00:00
Simon Robertshaw
bd473f02ca Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-11-03 12:22:07 +00:00
Simon Robertshaw
2f9e8c0a5f Empty engineprocess for renderer compiling 2012-11-03 12:21:53 +00:00