Commit Graph

535 Commits

Author SHA1 Message Date
Simon Robertshaw
de4fe1a38e TPT: Reduce rate of lightning creation by clone 167740e839 2012-07-25 18:23:07 +01:00
Simon Robertshaw
5337f91736 TPT: Lightning direction affected by Newtonian gravity 3a946efdfd 2012-07-25 18:21:25 +01:00
Simon Robertshaw
55c870c518 TPT: Allow INST to be sparked directly with the brush 8de602d467 2012-07-25 18:15:13 +01:00
Simon Robertshaw
aa156fb933 TPT: Fix infinite loop when flood_INST finds some INST with a non zero lif... 9ee316c3e9 2012-07-25 18:13:09 +01:00
Simon Robertshaw
9edf65fb3f TPT: FIRW: less advection, and don't go faster when multiple fire particle... 9988dc17aa 2012-07-25 18:03:43 +01:00
Simon Robertshaw
38e2eec808 TPT: Completely remove SING formation from fusion 81771d8672 2012-07-25 18:02:38 +01:00
Simon Robertshaw
0b77f1b2ed TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5 2012-07-25 18:01:58 +01:00
Simon Robertshaw
971fbc71f9 TPT: fix compression during fusion 287822229f 2012-07-25 18:01:15 +01:00
Simon Robertshaw
2135d88644 TPT: Reset particle flags in create_part 135e91b84d 2012-07-25 17:52:26 +01:00
Simon Robertshaw
799954f383 TPT: Allow stickman head to go through everything 95ca29cc64 2012-07-25 17:51:37 +01:00
Simon Robertshaw
7859cc839c TPT: Prevent STKM floating in gases 31a61d0888 2012-07-25 17:45:30 +01:00
Simon Robertshaw
e36bc8e4ae TPT: Gravity modes and Newtonian gravity for fireworks 31ce22f122 2012-07-25 17:44:29 +01:00
Simon Robertshaw
811c2cb26b TPT: Use eval_move(PT_FIGH, ...) when fighters are checking for obstacles 79614a9719 2012-07-25 17:21:13 +01:00
Simon Robertshaw
5031291bf6 TPT: Save an extra tmp2 byte, for EXOT fed8b7b2cc 2012-07-25 17:16:56 +01:00
Simon Robertshaw
6585a4640b TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942 2012-07-25 17:12:15 +01:00
Simon Robertshaw
0afecb5b77 TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942 2012-07-25 17:11:36 +01:00
Simon Robertshaw
57c356e495 TPT: Make ELEC+water form H2 and O2 in the correct proportions 9b2c2a78a6 2012-07-25 15:56:42 +01:00
Simon Robertshaw
6dc7eaf43e TPT: Prevent stacking from ELEC+NEUT, ELEC+water, and CO2 from BUBW ae5470ca78 2012-07-25 15:55:42 +01:00
Simon Robertshaw
08d1dd06ed TPT: Fix STKM causing stacking and falling through some powders c14704ae49 2012-07-25 15:47:18 +01:00
Simon Robertshaw
2214ab4eb0 TPT: Correct freezing temperature for SLTW (-21.1 C) 06d2d5267e 2012-07-25 15:36:40 +01:00
Simon Robertshaw
2189d298a7 TPT: Move INST flood fill into a separate function 36de2f19f5 2012-07-25 15:32:05 +01:00
Simon Robertshaw
fad383f392 TPT: Update to EXOT that makes it permeable to neutrons as well as electro... a104696620 2012-07-25 15:05:55 +01:00
Simon Robertshaw
a03e92830a Make only one airmode selectable at a time 2012-07-25 14:43:56 +01:00
Simon Robertshaw
86659f2238 Disable fav and report buttons if not logged in 2012-07-25 14:32:08 +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
9b1fb64e16 WIND tool 2012-07-25 13:37:04 +01:00
Simon Robertshaw
45fecfe72c Correct progress bar position 2012-07-25 12:53:39 +01:00
Simon Robertshaw
8062319160 Correct initial zoom size 2012-07-25 12:46:48 +01:00
Simon Robertshaw
bc2acb9c08 Better appearance for dropdown and context menus 2012-07-25 12:02:14 +01:00
Simon Robertshaw
2abb2b2c9f Placeholder text for username and password in login, Focus username at start 2012-07-25 11:59:20 +01:00
Simon Robertshaw
e291144ea7 Correct cursor position in Textbox 2012-07-25 11:51:16 +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
6b08d1e2f9 Copy, cut and paste for Textboxes 2012-07-24 22:55:39 +01:00
Simon Robertshaw
7ef3f8cbe9 Remove bounds check for text selection, makes text selection a little easier for users 2012-07-24 17:45:31 +01:00
Simon Robertshaw
dceefed030 Correct alignment of elements in TextPrompt 2012-07-24 17:41:41 +01:00
Simon Robertshaw
d50d45ecff Fix deco smudge tool 2012-07-24 15:56:01 +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
603cf3149d HUD improvements 2012-07-24 14:58:39 +01:00
Simon Robertshaw
e65e222f2c Integer values for prefs, Default decoration colour, clear decoration 2012-07-24 13:03:28 +01:00
Simon Robertshaw
45c31030a6 Changes to sconscript to allow building with specific version number 2012-07-22 19:33:56 +01:00
Simon Robertshaw
97bf9a517e Snapshot checking 2012-07-22 18:51:05 +01:00
Simon Robertshaw
a1b4168b30 Sign tool icon 2012-07-22 15:01:56 +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
5bf0a084ac Prevent race condition when reloading local stamps, fix task so "after()" gets called and correct stamp name so they actually get deleted" 2012-07-21 13:09:59 +01:00
Simon Robertshaw
d6de5fc997 Remove AMD detection from CPU check 2012-07-20 21:19:17 +01:00
Simon Robertshaw
33de0482a2 Use exceptions instead of goto to corrup state. Fix Fan wall loading with PSV and New wall IDs with OPS 2012-07-20 19:39:38 +01:00
Simon Robertshaw
22990b680c Prevent the multiline update for labels from going out of bounds 2012-07-20 17:43:38 +01:00
Simon Robertshaw
332fbfe590 Ensure GameSave internal pointers are NULL at the start 2012-07-20 17:43:08 +01:00
Simon Robertshaw
4e9e0ff7bf Fix icon drawing in text boxes 2012-07-19 19:14:38 +01:00
Simon Robertshaw
9a94939585 Correct comment page sizing 2012-07-19 19:05:44 +01:00
Simon Robertshaw
c9bffd30a6 Element search triggered by 'e' key 2012-07-19 19:01:26 +01:00
Simon Robertshaw
de1cedd61b Correct divider position in save Preview 2012-07-19 18:57:49 +01:00
Simon Robertshaw
744df602d7 Correct text colour on element buttons 2012-07-19 18:54:40 +01:00
Simon Robertshaw
4d961117bd Special ligh placement 2012-07-19 17:49:40 +01:00
Simon Robertshaw
c2873180e2 GOL loads gol colours for use 2012-07-19 17:05:01 +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
dd0e6e7f4d Add descriptions to toolbuttons, add Tooltips to Button, ToolTip event for Windows 2012-07-18 20:34:58 +01:00
Simon Robertshaw
26dbd547d3 Info tip for changing display modes 2012-07-18 18:33:44 +01:00
Simon Robertshaw
80044bb0f0 Renderer Presets and default graphics function 2012-07-18 17:22:35 +01:00
Simon Robertshaw
a8e4221f38 Working comment submission 2012-07-18 13:07:33 +01:00
Simon Robertshaw
78c4aba468 Fancy animation for textbox autosize 2012-07-17 22:40:47 +01:00
Simon Robertshaw
d91d4223b8 Improve spacing of multiline labels, multiline cursor for Textbox, autoresizing textbox for PreviewView comments 2012-07-17 22:21:20 +01:00
Simon Robertshaw
2479b8664d Add comment box to save preview - doesn't work yet 2012-07-17 19:14:05 +01:00
Simon Robertshaw
2329f98f0a Varying update notifications 2012-07-17 16:57:12 +01:00
Simon Robertshaw
f5c9da236f Use sdl-config 2012-07-08 14:03:51 +01:00
Simon Robertshaw
72d98036a5 Parsing commandline arguments 2012-07-06 16:53:59 +01:00
Simon Robertshaw
1b1963932e Move array terminator for sign saving into if statement 2012-07-06 16:08:52 +01:00
Simon Robertshaw
adc9cc0816 Move graphics into seperate folder 2012-07-06 16:06:26 +01:00
Simon Robertshaw
94c9603d0c Fix incorrect assignment for video buffer in renderer 2012-07-04 16:22:22 +01:00
Simon Robertshaw
c996d01228 Make update notification a little better - correct colour. Correct multiline label for Confirm prompt 2012-07-03 13:58:59 +01:00
Simon Robertshaw
e5f96cd3c9 Add missing RenderFill function for brushes 2012-07-03 13:44:34 +01:00
Simon Robertshaw
5edca6e243 Line snapping in gameview - hold alt 2012-07-03 13:32:08 +01:00
Simon Robertshaw
8b200ab326 Remove unused old console class 2012-07-03 13:31:51 +01:00
Simon Robertshaw
f3484fbd4b Fix errors due to typos in Renderer (VIDXRES = VIDXRES) and RasterGraphics (MOETHODS) 2012-07-03 13:31:17 +01:00
Simon Robertshaw
5a71068ba0 Textbox now inherits from Label - gets all the fancy text selection features 2012-06-26 22:55:52 +01:00
Simon Robertshaw
7c259c0123 Release selection when the label component loses focus 2012-06-26 21:05:57 +01:00
Simon Robertshaw
ab6fed71d7 Replace textblock with new multiline label - with text selection!!!!111!!!one!! 2012-06-26 20:57:10 +01:00
Simon Robertshaw
e26cb8ce2f Fix potential crash where strings fed into any of the text functions have a trailing '\b'/'\x08' 2012-06-26 14:31:10 +01:00
Simon Robertshaw
694a6ed4f2 Ammend to previous commit - the issue was not with smaller saves, but the accumulation of rendered particles on the framebuffer - fixed by clearing the fbo and pbo before rendering 2012-06-25 22:34:04 +01:00
Simon Robertshaw
2ffb45581f SaveRenderer working on OpenGL - doesn't seem to work with small saves though 2012-06-25 22:26:53 +01:00
Simon Robertshaw
7f33db1f0c Restore previously bound FBO in renderer functions 2012-06-25 21:53:31 +01:00
Simon Robertshaw
1f9cce0007 Increase comments per page to 10,000 2012-06-25 21:45:07 +01:00
Simon Robertshaw
028a779848 Increase comments per page to 20 2012-06-25 21:37:25 +01:00
Simon Robertshaw
44e41a3b28 Fix Line scaling for OpenGL inetrgsdfkjdslkfjs 2012-06-25 17:52:04 +01:00
Simon Robertshaw
dacb774ae0 Resizable window when using OpenGL interface 2012-06-25 16:10:40 +01:00
Simon Robertshaw
ab8f382acc Sign tool can now edit existing signs 2012-06-25 13:57:23 +01:00
Simon Robertshaw
04b007b36f Create FFT plan on demand instead of at startup on the main thread 2012-06-25 12:19:26 +01:00
Simon Robertshaw
ba802b3243 Element search 2012-06-24 19:22:58 +01:00
Simon Robertshaw
f5547f267b Option to use OpenGL JUST for the interface 2012-06-23 14:59:07 +01:00
Bryan Hoyle
4cf42e786b Scrollbar appearance and code changes 2012-06-22 21:09:13 -04:00
Bryan Hoyle
83c51307c4 Scrollbar added 2012-06-22 21:00:44 -04:00
Simon Robertshaw
009de99f02 Prevent tool buttons being drawn off the edge of the window when scrollable 2012-06-23 00:48:01 +01:00
Simon Robertshaw
6352888c68 Menu scrolling 2012-06-23 00:34:08 +01:00
Simon Robertshaw
333509842d Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-22 19:04:55 +01:00
Simon Robertshaw
eb52f759de Success/Failure return from Asyn Task, Prompt to visit website upon update failure 2012-06-22 19:04:38 +01:00
Bryan Hoyle
6fa05d1930 Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-22 12:00:17 -04:00
Bryan Hoyle
58f3494f6f Fixed invalid pointer cast 2012-06-22 12:00:00 -04:00
Simon Robertshaw
55d90a44a8 Remove debug code from onDraw 2012-06-22 16:36:02 +01:00
Simon Robertshaw
beee75d9d1 Multiple pages of comments 2012-06-22 16:35:32 +01:00
Simon Robertshaw
e6e23669ee Scrollable comments 2012-06-22 15:13:24 +01:00
Simon Robertshaw
2e48bd149c Stage 2 of autoupdate working 2012-06-22 01:44:30 +01:00
Simon Robertshaw
3c91e526bb Client now provides methods for reading and saving preferences - less powerful than raw access to Cajun, (no mixed type arrays, for example) but allows other save formats to be used, such as property lists on OS X 2012-06-22 01:04:55 +01:00
Simon Robertshaw
550f6e28e0 Stage 1 of update process completed 2012-06-21 15:49:32 +01:00
Simon Robertshaw
8fc3325b1c Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-21 13:23:04 +01:00
Simon Robertshaw
12ba6834eb Make status updates on tasks safe - add intermediate progress bar for TaskWindow 2012-06-21 13:22:52 +01:00
Bryan Hoyle
3b29a74767 fixes to code and a option for opengl building for release 2012-06-20 15:05:25 -04:00
Bryan Hoyle
c775126272 Merging 2012-06-20 14:45:06 -04:00
Simon Robertshaw
09758b9152 SaveRenderer returns a placeholder thumbnail in case of OpenGL 2012-06-20 19:43:03 +01:00
Bryan Hoyle
e5e638448c remove some debugging 2012-06-20 14:42:42 -04:00
Bryan Hoyle
9953f4518e Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-20 14:41:17 -04:00
Simon Robertshaw
ad76b293d8 Make Confirm dialogue less ugly 2012-06-20 19:39:33 +01:00
Bryan Hoyle
b35255b722 Renders an X in place of save icons, atm. 2012-06-20 14:25:41 -04:00
Bryan Hoyle
c9f837f21d Opengl can open saves now, just need to get it to render accurately later 2012-06-20 14:23:22 -04:00
Simon Robertshaw
0594aa5d07 More in the way of an autoupdater 2012-06-20 17:51:51 +01:00
Simon Robertshaw
088b2f678d localBrowserModel should be browserModel 2012-06-20 16:26:14 +01:00
Simon Robertshaw
e81e18238d Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-20 13:40:34 +01:00
Simon Robertshaw
2be9c92508 OpenGL canvas for Windows, Notifications for main Game, Update checker in Client (+ other client triggered events) 2012-06-20 13:40:18 +01:00
Simon Robertshaw
f6403958de Fix stamp and save assignment 2012-06-18 18:06:40 +01:00
Simon Robertshaw
8c608ee8b9 Use C++ allocation/freeing for text masking and multiline processing 2012-06-18 17:07:27 +01:00
Simon Robertshaw
7ffaa421d1 GameModel manages currentSave instance 2012-06-18 16:43:40 +01:00
Simon Robertshaw
5e301ba17c Controllers should free their callbacks and views 2012-06-18 16:21:13 +01:00
Simon Robertshaw
83ccd65b14 Don't rely on Window class freeing for components that may not be added 2012-06-18 16:00:34 +01:00
Simon Robertshaw
1fceab6e4a Ensure partsSimIndex is freed upon success state of OPS parsing 2012-06-18 15:57:41 +01:00
Simon Robertshaw
fc86c24027 Better freeing for memory in GameSave 2012-06-18 15:54:55 +01:00
Simon Robertshaw
81423ba568 RenderOptions controller should delete its callback 2012-06-18 15:45:31 +01:00
Simon Robertshaw
edac8b5481 Free tools 2012-06-18 15:32:15 +01:00
Simon Robertshaw
9d7a4e55f2 Menu frees any added items 2012-06-18 15:27:57 +01:00
Simon Robertshaw
741392f2c1 Free platent and elements 2012-06-18 15:25:24 +01:00
Simon Robertshaw
1a13c3edec Use C++ allocation and deletion for Brush memory 2012-06-18 14:46:18 +01:00
Simon Robertshaw
9769239af6 Remove debug printing from brush 2012-06-13 15:09:37 +01:00
Simon Robertshaw
2b51441573 Linux fix with SDL_syswm 2012-06-13 14:54:15 +01:00
Simon Robertshaw
d7e12b7b43 Missing includes and declarations for Linux 2012-06-13 14:36:56 +01:00
Simon Robertshaw
c447dd2f4a TPT: Update version 2012-06-13 01:40:44 +01:00
Simon Robertshaw
4bda62b68c TPT: Make ambient heat convection work a bit better 2012-06-13 01:40:13 +01:00
Simon Robertshaw
57548b60d9 TPT: STOR should not conduct heat 2012-06-13 01:38:09 +01:00
Simon Robertshaw
0cb47ab93c TPT: Remember ctype when cloning lava 2012-06-13 01:37:32 +01:00
Simon Robertshaw
f0778c2033 TPT: Prevent THDR from counting towards stacked particle limit 2012-06-13 01:28:33 +01:00
Simon Robertshaw
5f81b70787 TPT: Avoid stacking in INVS and FILT, and fix pressurised INVS graphics 2012-06-13 01:28:00 +01:00
Simon Robertshaw
2aebc294e8 TPT: Run stacking check less often 2012-06-13 01:21:33 +01:00
Simon Robertshaw
7e0a315880 TPT: Create BHOL when particles are stacked excessively 2012-06-13 01:14:21 +01:00
Simon Robertshaw
a4d156fc6b TPT: Prevent solid particles stacking in E-Hole 2012-06-13 01:06:44 +01:00
Simon Robertshaw
59920c1a62 TPT: TTAN updates 2012-06-13 01:03:21 +01:00
Simon Robertshaw
c63de0ff6d TPT: Return 0 after particle type change 2012-06-13 00:58:33 +01:00
Simon Robertshaw
427670682f TPT: EXOT 2012-06-13 00:57:02 +01:00
Simon Robertshaw
19d071f10b TPT: Tron wasn't keeping its NODIE flag 2012-06-12 21:30:08 +01:00
Simon Robertshaw
c7ec0b76f6 TPT: Fix the bug with not-spawning fighter. 2012-06-12 21:29:24 +01:00
Simon Robertshaw
ef777b92dc TPT: Put ifs into switch in create_part 2012-06-12 21:28:37 +01:00