Commit Graph

672 Commits

Author SHA1 Message Date
Simon Robertshaw
e13476a406 Cut region, fixes #105 2012-08-14 16:28:44 +01:00
Simon Robertshaw
70758cc70e Allow key releases when in stamp selecting/placement #104, #105 2012-08-14 16:07:50 +01:00
Simon Robertshaw
45b275be0d Reset drawing state when placing stamps 2012-08-14 16:04:38 +01:00
Simon Robertshaw
7ccb7e53fe Show some info when selecting stamps, #104 2012-08-14 16:01:57 +01:00
Simon Robertshaw
8604b30548 Stamp selection and placements works through the zoom window, #104 2012-08-14 15:35:03 +01:00
Simon Robertshaw
02696b1cbe Snap stamp selection to CELL res, #104 2012-08-14 15:27:30 +01:00
Simon Robertshaw
ef6c4e91ae Correct tooltip for save button 2012-08-14 15:02:49 +01:00
Simon Robertshaw
cee8458953 Whoops, close DropDown windows before disposing 2012-08-14 14:47:58 +01:00
Simon Robertshaw
db519a7036 Varying borders for button, exit dropdown menu with Esc or outside click, fixes #100 2012-08-14 14:22:41 +01:00
Simon Robertshaw
d5e57e04d0 Fix tool buttons 2012-08-14 14:00:39 +01:00
Simon Robertshaw
e420ee51b1 Lua autorun, fixes #99 2012-08-14 13:14:49 +01:00
Simon Robertshaw
fed38185fd Placeholder text for sign tool window, #98 2012-08-14 13:09:13 +01:00
Simon Robertshaw
49ae651dd3 Focus text field for Sign Tool Window, fixes #98 2012-08-14 13:08:42 +01:00
Simon Robertshaw
4f3e03e317 Update gitignore, show votes correctly, fixes #97 2012-08-14 13:06:10 +01:00
Simon Robertshaw
c877e445b9 Remove temp files created by scheme handling 2012-08-14 12:36:50 +01:00
Simon Robertshaw
53b8e8ca78 ptsave scheme handling for Linux, addresses #97 2012-08-14 12:36:04 +01:00
Simon Robertshaw
fe59ec9659 Only call button actions if the mouse is released inside the button. Fixes #96 2012-08-14 12:15:28 +01:00
Simon Robertshaw
b05a847e96 Fix crash when using search (std::remove doesn't seem to work as I expected), Add clickable author names for search. Fixes #95 2012-08-14 12:03:33 +01:00
Simon Robertshaw
c259521e5e Allow specifying the snapshot ID 2012-08-13 21:32:08 +01:00
Simon Robertshaw
651546b5bf Fix bug where thumbnails would not always show in the search 2012-08-13 21:08:55 +01:00
Simon Robertshaw
723677d431 Add CPPDEFINES to the compile command 2012-08-13 18:23:33 +01:00
Simon Robertshaw
d8c299c30a Clear render, display and colour mode in renderer contructor 2012-08-13 18:16:25 +01:00
Simon Robertshaw
21821af720 "everything at once" compilation in a seperate arg 2012-08-13 18:07:27 +01:00
Simon Robertshaw
592c858e4c Compile everything at once with --release 2012-08-13 17:29:58 +01:00
Simon Robertshaw
074dcd0b42 Precompile some headers. Fix sconscript to prevent recompiling everything 2012-08-13 15:43:57 +01:00
Savely Skresanov
e6feb6f101 Now stickmen and fighters show HP. Closes #93 2012-08-13 12:47:53 +01:00
Bryan Hoyle
ae469e8e02 oops, fixed a bad piece of code I added 2012-08-12 19:10:01 -04:00
Bryan Hoyle
1dc6c7cfef Opengl fixes 2012-08-12 17:40:44 -04:00
Simon Robertshaw
86731c4426 Remove some IDE files from previous commit 2012-08-12 22:34:49 +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
859aa0cf14 --opengl works now, had to fix dep issues in linux. TODO: --opengl-renderer 2012-08-12 13:52:22 -04:00
Simon Robertshaw
7084c8be28 Fix spinner drawing 2012-08-12 18:36:30 +01: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
f1fc3811aa Remove more unused files 2012-08-12 16:29:40 +01:00
Simon Robertshaw
760a721e0d Remove old unused textarea 2012-08-12 16:20:43 +01:00
Simon Robertshaw
5d3d1d4916 Message of the day and user session check on startup 2012-08-12 15:15:47 +01:00
Simon Robertshaw
08b4e5553a Implement some missing lua functions, PNG format creation (requires zlib) 2012-08-11 20:24:48 +01:00
Simon Robertshaw
ecbb1e9103 Lua element and graphics functions working (element_func no longer uses "replace" parameter and replaces all functions) 2012-08-11 12:45:49 +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
ca7b02dbfd Don't set tool strength when there's no tool 2012-08-10 23:11:37 +01:00