Commit Graph

151 Commits

Author SHA1 Message Date
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
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
Simon Robertshaw
6e62a54952 Add missing URL Protocol registration on Windows 2012-12-15 16:56:55 +00: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
e5a284a2ba fix compiling warnings / error 2012-12-06 12:34:32 -05: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
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
51a5af6d5d Remove some debug printing 2012-11-12 10:48:20 +00:00
Simon Robertshaw
29189693b3 Element palette for automatic element ID/mod mapping 2012-11-12 10:22:16 +00:00
jacob1
3a29fc0268 Save local saves as current name option (overwrites them automatically). Fix filename not showing when first saving a local save 2012-10-26 15:15:38 +01:00
jacob1
fd07d35e34 limit the number of signs that can be placed 2012-10-26 15:13:00 +01:00
jacob1
5c59b9d6cb don't render fire on stamps (reduces lag) 2012-10-05 15:49:54 +01:00
Simon Robertshaw
b35fd0298c Flush stamps list to file when deletins, Rename stamps undelete function to rescan 2012-10-05 15:46:42 +01:00
jacob1
7313bd81ca fix problem with last commit
there was no other missing stamps problem actually, just this
2012-10-05 15:23:24 +01:00
jacob1
d45dd605e9 Stamp fix button to bring back deleted stamps 2012-10-05 15:20:33 +01:00
jacob1
cb8efcd0f9 fix visual studio compiling errors (but not the dirent.h one) 2012-10-05 15:19:00 +01:00
Simon Robertshaw
58763f0900 Fix stamp library loading issue (wasn't loading beyond 512 bytes, readsome doesn't always reach eof before not reading n 2012-10-01 13:36:56 +01:00
Simon Robertshaw
0801497ed2 Fix wall clipping during stamp rotation 2012-10-01 12:02:04 +01:00
Simon Robertshaw
163fbde8af Fix issue where thumbnails are sometimes the incorrect ones 2012-10-01 00:15:09 +01:00
jacob1
f652786557 fix saves getting corrupted when saving, fix error messages not showing (correctly) 2012-09-30 20:46:08 +01:00
jacob1
b3741cd67c lock icon on unpublished saves 2012-09-29 23:03:02 +01:00
Simon Robertshaw
261c654ca0 HTTP/1.1: Allow multiple whitespace characters in header fields 2012-09-28 17:19:00 +01:00
Simon Robertshaw
25d872ec48 MacOS X targets for Scons, Fix some inlines for clang 2012-09-25 17:53:48 +01:00
Simon Robertshaw
5b52ac3675 Save history and new multiline formatter 2012-09-13 22:39:01 +01:00
Simon Robertshaw
771d5df5c9 Fix buffer overflow with HTTP headers caused by recent \r\n commit" 2012-09-11 13:13:24 +01:00
Simon Robertshaw
5da70ef8a6 Ensure errors are caught and displayed during tag operations. Fix some issues with the Tag ui. Fixes #157 2012-09-05 19:47:03 +01:00
Simon Robertshaw
7d9f8a0b1d Use \r\n instead of just \n for HTTP headers 2012-09-03 17:37:58 +01:00
Simon Robertshaw
612dca950d Move class definitions for ThumbnailBrokeer into header 2012-09-03 17:37:25 +01:00
Simon Robertshaw
b05f114174 Views in save Preview and use old vote bars. Fixes #171 2012-09-03 13:25:48 +01:00
Simon Robertshaw
1ac964d9ba Ensure saves are expanded in memory when performing translate operations. Fixes #174 2012-09-03 12:38:09 +01:00
Simon Robertshaw
9751c962b1 No default description, fixes #153 2012-09-01 18:33:28 +01:00
Simon Robertshaw
0ca680f4c8 Enable decorations in renderer for local save items, disable for server save previews. 2012-08-27 13:32:17 +01:00
Simon Robertshaw
082072a05e OPS: Fix byte order when unpacking 4 byte tmp fields 2012-08-25 16:29:27 +01:00
Simon Robertshaw
a8d4bdeb2d Fix install crash (somehow, I commented out the bit the gets the current directory, leading to strlen op on a NULL pointer), fixes #145 2012-08-24 19:03:20 +01:00
Simon Robertshaw
62f067d29d Fix stamps page count 2012-08-21 14:06:54 +01:00
Simon Robertshaw
b639da3692 Use collapsed saves when using stamp browser, fix memory leak when saving stamps 2012-08-21 13:30:30 +01:00
Simon Robertshaw
ba1ce66968 Correct particlesCount when reading PSv format, particlesCount was being assigned to the last index and thus was one less that desired. fixes #138 2012-08-21 01:09:22 +01:00
Simon Robertshaw
b318c3721a TPT: Powered pipe, based on jacob1's commits 2012-08-20 16:48:03 +01:00
Simon Robertshaw
43ed72b4c5 Fix a few small (a lot of big) memory leaks associated with the stamps browser 2012-08-19 21:31:24 +01:00