jacob1
8d5fe459fe
'n' to toggle Newtonian Gravity, quickoption tooltips show which keys you need to press to toggle them
2013-07-15 13:09:19 -04:00
jacob1
864f0e6f45
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
2013-07-13 12:06:43 -04:00
jacob1
3aac957e50
HUD displays the correct name of LIFE particles in the HUD, show mouse position in HUD on the edges of the screen
2013-06-20 20:29:20 -04:00
jacob1
5ad819efbd
remove checks on location / element in the simulation drawing functions. fix drawing circles with an rx of 0. Probably fix compiling error
2013-05-15 21:10:22 -04:00
jacob1
2e409f966c
gfx.draw/fillcircle
2013-05-14 16:39:20 -04:00
Simon Robertshaw
c2cdec9e62
Togglable lua scripting
2013-05-11 11:52:35 +01:00
Simon Robertshaw
e53f2bf0b5
Forward resample argument correctly from VideoBuffer resize method
2013-05-09 23:33:43 +01:00
Saveliy Skresanov
9893f59657
Fix "blow power" for stick man, disable rocket boots on E-hole.
2013-05-08 23:08:29 +07:00
jacksonmj
89a0603b53
Rocket boots for stickman, because why not
...
Pass through gravity wall to activate, fan wall to deactivate.
Accelerate with left/up/right keys. Plasma is spawned when accelerating,
and STKM is immune to plasma but not other hot elements when rocket
boots are enabled. Hold left+right to slow down quickly.
STKM spawn element is retained and can still be created while using
rocket boots, but it may be difficult to do anything useful with the
spawn element whilst spewing hot plasma everywhere.
2013-05-08 15:12:28 +01:00
jacob1
07486c9885
drawtext_outline to fix unreadable infotips, tooltips fade in and out (more like old tpt)
2013-05-04 23:03:59 -04:00
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
Simon Robertshaw
2f0e67433c
Ensure zoom is drawn after particles for OpenGL Rendering, draw walls onto the correct framebuffer
2012-08-15 15:02:48 +01:00
Simon Robertshaw
0bb4c0e57a
Fix cursor and zoom with OpenGL
2012-08-15 13:34:37 +01:00
Simon Robertshaw
1e406eeaf4
Revert some changes by Triclops200 in 42d707f8a4
, Broke prototypes for drawrect with pixel functions, seems to have modified drawrect to make filled rects (forgot about fillrect?). Also use correct macros for getting colour components out of pixel data
2012-08-15 13:02:15 +01:00
Simon Robertshaw
54a81031bc
Revert "Missing "invert" declaration in OpenGLDrawMethods"
...
This reverts commit 708379a3f8
.
2012-08-15 12:55:41 +01:00
Simon Robertshaw
2378363055
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-08-15 12:50:06 +01:00
Simon Robertshaw
708379a3f8
Missing "invert" declaration in OpenGLDrawMethods
2012-08-15 12:49:10 +01:00
Bryan Hoyle
42d707f8a4
Very very basic wall rendering for opengl
2012-08-14 23:18:39 -04:00
Simon Robertshaw
bd7dd20742
Better text selection colour invert, fixes #107
2012-08-14 18:05:07 +01:00
Simon Robertshaw
7ccb7e53fe
Show some info when selecting stamps, #104
2012-08-14 16:01:57 +01:00
Simon Robertshaw
d8c299c30a
Clear render, display and colour mode in renderer contructor
2012-08-13 18:16:25 +01:00
Savely Skresanov
e6feb6f101
Now stickmen and fighters show HP. Closes #93
2012-08-13 12:47:53 +01:00
Simon Robertshaw
8ca27520a4
Use forward declarations more to avoid excessive includes
2012-08-12 22:32:57 +01:00
Bryan Hoyle
ca7c0e7370
More efficiency, fix of point size being too big
2012-08-12 16:45:37 -04:00
Bryan Hoyle
0a01eacd09
A litte more efficient
2012-08-12 16:34:49 -04:00
Bryan Hoyle
98d31ab5a5
Fixed brush for now, used inefficient algorithm until I can get pure opengl working
2012-08-12 16:32:28 -04:00
Bryan Hoyle
f9a59d22db
Revert "minor renderer changes, brush still not working"
...
This reverts commit 1b2e0e68bd
.
2012-08-12 15:15:17 -04:00
Bryan Hoyle
44645c93ee
Revert "Revert "fixed --opengl-renderer from segfaulting. Added a gitignore for vim swap files""
...
This reverts commit 90f505c2da
.
2012-08-12 15:14:46 -04:00
Bryan Hoyle
90f505c2da
Revert "fixed --opengl-renderer from segfaulting. Added a gitignore for vim swap files"
...
This reverts commit 90f71f3b11
.
2012-08-12 15:13:32 -04:00
Bryan Hoyle
1b2e0e68bd
minor renderer changes, brush still not working
2012-08-12 15:11:17 -04:00
Bryan Hoyle
90f71f3b11
fixed --opengl-renderer from segfaulting. Added a gitignore for vim swap files
2012-08-12 14:47:13 -04:00
Bryan Hoyle
530e093d8b
now opengl and opengl renderer run and compile, but renderer has a segfault, will fix
2012-08-12 14:29:27 -04:00
Bryan Hoyle
e7b653a0c7
more fixes
2012-08-12 11:55:59 -04:00
Bryan Hoyle
07821d9c85
Minor opengl fixes, still not compiling, look at line 14 in src/graphics/OpenGLGraphics.cpp, build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected primary-expression before '{' token
...
build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected ')' before '{' token
'
2012-08-12 11:38:26 -04:00
Simon Robertshaw
08b4e5553a
Implement some missing lua functions, PNG format creation (requires zlib)
2012-08-11 20:24:48 +01:00
Simon Robertshaw
2f76c2374d
TPT: Give menu color to elements without one (stickmen, TRON, and WARP)
2012-08-11 11:57:21 +01:00
Simon Robertshaw
e34ed89dc3
Some fixes for memory leaks
2012-08-10 23:08:55 +01:00
Simon Robertshaw
810ea42f99
Only render gravity lensing if it's enabled, Ctrl and Shift to alter tool strength (Shift = x10, Ctrl = x0.1)
2012-08-10 14:03:23 +01:00
Simon Robertshaw
3bdfd510b2
Gravity lensing
2012-08-09 01:17:01 +01:00
Simon Robertshaw
bb99efdedf
Persistent mode
2012-08-09 00:57:35 +01:00
Simon Robertshaw
a8dcc7a070
Started work on save as current name
2012-08-06 22:24:10 +01:00
Simon Robertshaw
f75a3c2642
More icon adjustments
2012-08-06 17:28:08 +01:00
Simon Robertshaw
662640c96c
Fix previous merge with SOAP.cpp that created a bug in SOAP. add debug lines for PRTI, PRTO, WIFI and lines for SOAP.
2012-08-06 16:14:08 +01:00
Simon Robertshaw
8cadc10f8b
Icon adjustments
2012-08-05 20:39:39 +01:00
Simon Robertshaw
ed270d8dbf
Draw gravity zones when using grav wall
2012-08-05 15:26:17 +01:00
Simon Robertshaw
0558322709
Add icons for erase, improve icons for certain walls, fix issue #45
2012-08-04 15:26:55 +01:00
Simon Robertshaw
36b2aa0191
QuickOptions!! #46
2012-08-03 15:29:18 +01:00
ntoskrnl
f94fabd999
Rename WIN32 preprocessor definition to WIN
2012-08-02 15:21:16 +01:00
Simon Robertshaw
c14a008d46
Corrections to GameSave to prevent conflicts in the Expanded state, improve Save preview comments display
2012-07-28 18:38:34 +01:00
Simon Robertshaw
f9eeebb910
Draw brush using renderer, fixes issue #25
2012-07-28 13:09:35 +01:00
Simon Robertshaw
30b11a7724
Air heat is not rendered if ambient heat is disabled
2012-07-28 12:48:34 +01:00
Simon Robertshaw
385552ceab
Correct blending of SetPixel without alpha channel
2012-07-27 21:04:00 +01:00
Simon Robertshaw
b612c076eb
Prevent crash when drawing an image out of mounts on a pixel grid
2012-07-27 20:53:09 +01:00
Simon Robertshaw
5befe5c25f
Local file browser + some more interesting things like Progress bar UI component
2012-07-27 20:06:17 +01:00
Simon Robertshaw
121e7c772c
Rename .inc files to inl
2012-07-26 15:06:06 +01:00
Simon Robertshaw
a03e92830a
Make only one airmode selectable at a time
2012-07-25 14:43:56 +01:00
Simon Robertshaw
32d9b87f66
Correct Stickman appearance
2012-07-25 14:24:03 +01:00
Simon Robertshaw
860fc0d4c9
Streamlines
2012-07-25 14:08:14 +01:00
Simon Robertshaw
8062319160
Correct initial zoom size
2012-07-25 12:46:48 +01:00
Simon Robertshaw
998f11451f
\x0E resets text colour to one previously set by \b
2012-07-25 11:47:53 +01:00
Simon Robertshaw
da77cb809b
Inverted icon state
2012-07-24 15:38:18 +01:00
Simon Robertshaw
bc2e4ab23f
Adjust icon positions
2012-07-24 15:21:01 +01:00
Simon Robertshaw
f445b80e8a
Strealine icon and Erase icon
2012-07-22 14:46:09 +01:00
Simon Robertshaw
f7d8556965
Icons for menu items
2012-07-21 18:43:46 +01:00
Simon Robertshaw
2b4ec99894
Use two functions for renderer drawing instead of several, fix alignment with Zoom Window border
2012-07-19 16:37:56 +01:00
Simon Robertshaw
80044bb0f0
Renderer Presets and default graphics function
2012-07-18 17:22:35 +01:00
Simon Robertshaw
adc9cc0816
Move graphics into seperate folder
2012-07-06 16:06:26 +01:00