Commit Graph

106 Commits

Author SHA1 Message Date
jacob1
3b7e418628 fix assert error when resampling an image to an invalid size (corrupted stamps) 2013-04-09 23:40:18 -04:00
Simon Robertshaw
9abe51526c Move all GUI source files into gui/ 2013-03-22 14:14:17 +00:00
Simon Robertshaw
0646b7fe41 Nicer resize method for VideoBuffer, fix Local and Server save previews 2013-03-16 11:20:11 +00:00
Simon Robertshaw
73b6ff4efb Use VideoBuffer in place of thumbnail 2013-03-15 12:59:55 +00:00
Simon Robertshaw
de680a1e5c Merge 2013-03-12 21:21:01 +00:00
Simon Robertshaw
e6bca489c9 AvatarButton/holder, rename ThumbnailBroker for more general purposes 2013-03-10 18:08:34 +00: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
77d233240f fix mismatched malloc/delete[]'s when not using new image resampler 2013-03-07 22:14:00 -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
17d79e8d8e fix crash when drawing particles in invalid coordinates (using console) 2013-03-03 15:38:52 -05:00
jacob1
01cd146ee9 fix mac compiling, fix renderer, fix other minor compiling issues 2013-02-14 23:31: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
685bde5c21 blobby walls in blob view 2013-02-08 22:50:37 -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
46b767da0c clear persistent effects when it's display mode is removed 2013-01-25 23:15:33 -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
jacob1
41751da619 change some free/malloc's back to delete/new's 2013-01-12 21:06:52 -05:00
jacob1
d1abfc313e fix mismatched free()/delete's 2013-01-06 18:26:38 -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
2728cf852b fix WARP being invisible, make it visible in heat display mode though 2012-12-17 20:08:46 -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
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
e08bc6680b Format: Buffer to pti, Save renderer 2012-10-29 09:36:16 +00:00
jacob1
d0b14dc64b don't render invalid elements 2012-10-26 15:12:35 +01:00
jacob1
71db872e64 {t:15100|text} to open a forum thread (will try to add more shortcuts later) 2012-10-05 16:30:55 +01:00
Simon Robertshaw
b97cf098b3 Draw walls behind particles 2012-09-30 22:41:50 +01:00
Simon Robertshaw
92dd8ac804 Fix case sensitive filename 2012-09-27 14:29:50 +01:00
Simon Robertshaw
b0b402d90e Improvement to some of the rendermode icons 2012-09-26 17:15:30 +01:00
jacob1
e418ca5ac3 fix minor memory problem with last commit 2012-09-26 16:46:10 +01:00
jacob1
95cc715d71 render preset buttons in render options interface, also shift + 1 life view shortcut
modify it if you don't like how it looks, but it turned out better than I expected
2012-09-26 16:46:03 +01:00
jacob1
5de2a4e479 Icon adjustments 2012-09-25 20:09:54 +01:00
jacob1
b57d956ca8 Icons and tooltips for everything in renderview. (Empty space not filled yet) 2012-09-25 20:09:43 +01:00
jacob1
4be80a3c7c Fix crash - uninitialized (and not needed) variable 2012-09-25 19:50:14 +01:00
Simon Robertshaw
25d872ec48 MacOS X targets for Scons, Fix some inlines for clang 2012-09-25 17:53:48 +01:00
jacob1
45ab8cca23 Add icons back to search buttons, fix positioning of them, disable my own / fav buttons when still loading saves 2012-09-16 12:06:53 +01:00
jacob1
eac109a563 fix possible crashes with save buttons and uninitialized renderer variables
Fixes second part of issue 179
2012-09-16 12:03:41 +01:00
Simon Robertshaw
3ed5672052 Render fire after wall drawing 2012-09-15 15:00:16 +01:00
Simon Robertshaw
3b2f4d59fc Better fire rendering for saves 2012-09-14 23:53:58 +01:00
Simon Robertshaw
5b52ac3675 Save history and new multiline formatter 2012-09-13 22:39:01 +01:00
jacob1
f8f70a3f77 Visual studio compatibility
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-07 00:52:56 +01:00
jacob1
c32035b8ca Fix PRTI/PRTO color, debug lines only drawn in debug mode. Fixes # 148 2012-09-07 00:37:17 +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
98725dea26 Only use stairstepping for resampling when absolutely necessary (when the downscaling factor is a power of 2). Somewhat fixes #176 2012-09-05 18:27:16 +01:00
Simon Robertshaw
322d224fa7 Get/Set single element properties 2012-08-30 17:09:27 +01:00
Simon Robertshaw
92f3ad5814 Black decorations only in thumbnails 2012-08-28 15:53:07 +01:00
Simon Robertshaw
6ace7bd26f Clear area behind zoom, fixes #144 2012-08-25 13:41:14 +01:00
Simon Robertshaw
1c443ceb57 Sample tool samples decoration colour when deco menu is visible. fixes #146 2012-08-25 13:36:53 +01:00
Simon Robertshaw
b6736f967e Add EMP flash, fixes #137 2012-08-21 13:00:31 +01:00
Simon Robertshaw
f19c7f62c7 Air invert and grid mode switching 2012-08-16 12:15:29 +01:00
Simon Robertshaw
98445721fd xor_bitmap drawing for renderer 2012-08-15 16:25:13 +01:00