Commit Graph

3205 Commits

Author SHA1 Message Date
Simon Robertshaw
10e3f176d2 TPT: REALISTIC - Latent heat. It may be buggy, and enthalpy table isn't filled, but it works 4b4830b5a4 2012-04-18 20:44:01 +01:00
Simon Robertshaw
d9cca3ec1e TPT: Fixed burning temp. for fire. 00839a3b14 2012-04-18 19:28:18 +01:00
Simon Robertshaw
6be1b869e5 TPT: Fix ELEC being put into pmap instead of photons 5a3faa0584 2012-04-18 19:20:04 +01:00
Simon Robertshaw
f55fc54f6e TPT: Fix firework glow 001c4502e8 2012-04-18 19:13:50 +01:00
Simon Robertshaw
95c702535c TPT: Fix glow for deut at ligh 4d45bbedb3 2012-04-18 19:12:24 +01:00
Simon Robertshaw
c5a8615e89 TPT: Fix portals being ugly and PRTO effects not being random at first 94b8ed193f 2012-04-18 19:06:56 +01:00
Simon Robertshaw
779ac383dc TPT: Fix major update_particles_i bug, do_move was being called on nonexistant particles, causing kill_part to kill another particle 96ec3486e8 2012-04-18 19:02:27 +01:00
Simon Robertshaw
a8483798cc TPT: fusion step 3 8db6230414 2012-04-18 18:52:37 +01:00
Simon Robertshaw
bf935ac7d8 TPT: fusion step 2 + modify temp/pressure of step 1 803ded3b33 2012-04-18 18:40:14 +01:00
Simon Robertshaw
4ddf723167 TPT: prevent ionizing NBLE and burning H2 during fusion 83d4658589 2012-04-18 18:33:34 +01:00
Simon Robertshaw
bc4a3355de TPT: Fusion, step 1 446f773542 2012-04-18 16:51:47 +01:00
Simon Robertshaw
43ae47ba77 TPT: Added smudge tool afbe8cf38e 2012-04-18 16:40:43 +01:00
Simon Robertshaw
a761fa5cbc TPT: Remove 2 pixels per frame speed limit in detector wall b4a06df0b2 2012-04-18 16:14:10 +01:00
Simon Robertshaw
2ca07515c1 TPT: Fix fighters not going through portals correctly f41af45620 2012-04-18 16:12:16 +01:00
Simon Robertshaw
fa193eb7b4 TPT: Display decor in heat gradient view e83a1a21ae 2012-04-18 15:16:52 +01:00
Simon Robertshaw
6f3954b926 TPT: (REALISTIC) Better air<->body heat conduction. Air density now influences on it (things don't heat vacuum). 71acd578b6 2012-04-18 15:14:40 +01:00
Simon Robertshaw
add4ccb034 TPT: Volume from heat change (for REALISTIC) 290cac8b7e 2012-04-18 15:11:51 +01:00
Simon Robertshaw
d03a9c8fe5 TPT: Rotate/reflect particle, air, and fan velocities in transform_save 830629be3f 2012-04-18 15:10:09 +01:00
Simon Robertshaw
ce7d749dda TPT: Prevent ARAY passing through some non-conductive materials, and let normal ARAY pass through sparked INWR d21c61aa52 2012-04-18 14:59:24 +01:00
Simon Robertshaw
eeff570f89 TPT: Fixed the bug with fighters running away from stick mans, but now boundary check is worser so fighters won't usually notice holes on their way 2b4d0442b5 2012-04-18 14:57:29 +01:00
Simon Robertshaw
f84dc03c23 TPT: A new unstable REALISTIC option. No guarantees - but more realistic behaviour. f41f96f598 2012-04-18 14:50:29 +01:00
Simon Robertshaw
82a1933400 TPT: Old nothing display mode in the form of Basic colour mode fe82685257 2012-04-18 14:43:09 +01:00
Simon Robertshaw
df2d698ed5 Fix drawing of lines, rects and fill within the zoom window 2012-04-17 20:20:45 +01:00
Simon Robertshaw
80a77f4750 TPT: Added FRAY - Force-ray and RPEL - Repeller f6696282e1 2012-04-17 18:42:36 +01:00
Simon Robertshaw
fdb4dff4d7 TPT: Lua methods for reading/writing the bmap and emap (no mapped walltypes yet) 1c4bce1f22 2012-04-17 18:13:17 +01:00
Simon Robertshaw
2417ad3b41 TPT: Prevent gaps in beams of photons from powered clone 3702438482 2012-04-17 18:07:22 +01:00
Simon Robertshaw
89788d43c3 TPT: Make DEUT compress when Newtonian gravity is applied to it c960c29f72 2012-04-17 17:48:12 +01:00
Simon Robertshaw
df303dc491 TPT: Allow BRAY from PSCN to pass through sparked INWR e769f3feb8 2012-04-17 17:46:44 +01:00
Simon Robertshaw
22381b2462 TPT: Draw pixels for the entire fire_alpha array 9001508623 2012-04-17 17:45:03 +01:00
Simon Robertshaw
7682094f13 TPT: Fix stationary photons being created by PCLN/PBCN 91163c44ab 2012-04-17 17:42:29 +01:00
Simon Robertshaw
fd09db2345 TPT: Prevent ambient heat going through walls ccb88b6b3b 2012-04-17 17:32:06 +01:00
Simon Robertshaw
e68d14a5bf TPT: INSL blocks DLAY conduction, and raise DLAY temperature limit 06cb98f705 2012-04-17 17:28:37 +01:00
Simon Robertshaw
fe5ae5e792 TPT: Make ARAY fire once per spark 72a4358eee 2012-04-17 17:26:12 +01:00
Simon Robertshaw
b88a2f680e TPT: More SPRK life checks for electronic elements 68ab3ca3ca 2012-04-17 17:24:51 +01:00
Simon Robertshaw
8ea1e41d87 TPT: Fix switch not activating completely while being sparked 1a5cd45eb8 2012-04-17 17:20:48 +01:00
Simon Robertshaw
a3e97d51d1 TPT: Change wifi so that it always takes one frame to transmit a722d7a396 2012-04-17 17:18:35 +01:00
Simon Robertshaw
ca1690efe1 TPT: Separate loop for updating life, and add SPRK life checks to most electronics 6bdc05cc40 2012-04-17 17:14:23 +01:00
Simon Robertshaw
75f6212751 TPT: Another change to the eval_move check in create_part eaf2af6d40 2012-04-17 16:55:43 +01:00
Simon Robertshaw
db1ffd3208 TPT: Fix WARP destroying DMND a9c198dd46 2012-04-17 16:45:05 +01:00
Simon Robertshaw
69e7dadcdf TPT: Make RBDM/WATR explosion work again, by not killing fire created by WATR 32c9ff3099 2012-04-17 16:36:27 +01:00
Simon Robertshaw
065ca8b9f5 TPT: Only check the bits actually used for wavelength in photon ctype Fixes black photons not being killed after passing through pipe 748a528fe0 2012-04-17 16:33:04 +01:00
Simon Robertshaw
475fd1a0b8 TPT: Solids wall description, and check build_save was successful when saving a stamp 44545d4c96 2012-04-17 16:30:04 +01:00
Simon Robertshaw
609db36f2e TPT: Check coordinates of signs before using them to read pmap or pressure 8a11b6b31d 2012-04-17 16:14:42 +01:00
Simon Robertshaw
f4e2d188c2 transform_save should check wall coordinates against size in blocks, not the actual size ff6aa0227d 2012-04-17 16:11:07 +01:00
Simon Robertshaw
027833fe20 TPT Whoops, eval_move returning 1 should not allow particle creation edcf6d7b2f 2012-04-17 16:06:39 +01:00
Simon Robertshaw
25ce83d5bf TPT: Implement PROP_NEUTABSORB bdf277e687 2012-04-17 16:04:48 +01:00
Simon Robertshaw
c261030cef Started on dropdown control 2012-04-17 15:56:57 +01:00
Simon Robertshaw
c3c31b20b0 Fix portals 2012-04-16 21:19:12 +01:00
Simon Robertshaw
465cb12af4 Newtonian gravity working 2012-04-16 13:58:20 +01:00
Simon Robertshaw
a0506495ad Simulation options 2012-04-15 22:16:57 +01:00
Simon Robertshaw
900e23128a Add ability to get favourites 2012-04-14 21:11:54 +01:00
Simon Robertshaw
4c6be4ff2c Graphics:: Extra icons for Report and Favourite. Client:: Get favourite status in GetSave, FavouriteSave, ReportSave, Preview:: Failure state when loading save 2012-04-14 19:00:24 +01:00
Simon Robertshaw
64063fbc0f Add missing for OpenURI on 64bit Linux 2012-04-14 15:32:19 +01:00
Simon Robertshaw
91064f4935 Remove other references to Global.h 2012-04-14 15:19:18 +01:00
Simon Robertshaw
1c5910fbab Remove deleted 'Global.h' from includes 2012-04-14 15:14:02 +01:00
Simon Robertshaw
20b3be68a7 Remove some unnecessary files. 2012-04-14 14:49:26 +01:00
Simon Robertshaw
66a451129c Fix Integer <-> Pointer casts on 64bit 2012-04-13 20:55:14 +01:00
Simon Robertshaw
e060f75819 Okay instead of Continue for text input dialogue 2012-04-13 19:00:40 +01:00
Simon Robertshaw
db1dbb1afa Text input dialogue 2012-04-13 18:56:05 +01:00
Simon Robertshaw
84ceea525b Nice drawing for brush 2012-04-11 18:23:10 +01:00
Simon Robertshaw
b2907798f2 Fix issue where unborn children were slaughtered when removing a component from an event 2012-04-09 12:40:30 +01:00
Simon Robertshaw
da9cec2c3b Remove unused code 2012-04-09 12:39:45 +01:00
Simon Robertshaw
798c78b04e Add missing GOL data 2012-04-09 11:46:42 +01:00
Simon Robertshaw
c88079d084 Element sampling HUD thingy (No very good with MVC) 2012-04-08 00:11:21 +01:00
Simon Robertshaw
bbfbb81086 Confirmation Dialogue, Save selection and multi-delete 2012-04-07 00:45:24 +01:00
Simon Robertshaw
8f8de875c6 Modifier keys for Lua, Air display, correct render mode saving 2012-04-05 13:48:50 +01:00
Simon Robertshaw
ea51cde1f0 Change brush size with [ and ] keys, change order of drawing for Lua, Fix print and tpt.log so they log to the console when it is open 2012-04-04 21:47:58 +01:00
Simon Robertshaw
89cdeef9ad CommandInterface, Mouse, Keyboard and Tick events, on screen log, print redirected to tpt.log 2012-04-04 18:52:34 +01:00
Simon Robertshaw
299c1da9ae Search and stamps scolling with mouse wheel, Esc to exit 2012-04-03 18:12:32 +01:00
Simon Robertshaw
838a612026 Use a single instance of a background simulation for thumbnail rendering 2012-04-03 17:08:56 +01:00
Simon Robertshaw
73c5082cbc Super, megaheavyweight thumbnail renderer 2012-04-03 14:07:39 +01:00
Simon Robertshaw
efddc12e5d Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader 2012-04-02 17:01:28 +01:00
Simon Robertshaw
289556ac70 Replace Error notification with exception for Tags model 2012-03-29 16:17:30 +01:00
Simon Robertshaw
1f388e4ca0 Exception when loading invalid save 2012-03-29 00:59:10 +01:00
Simon Robertshaw
e9770d8ee7 Clipboard and Stamp from selection (no way to paste/place yet) 2012-03-28 22:01:44 +01:00
Simon Robertshaw
63af6abd29 Add and remove tags.\nBrings to light an interesting issue with adding or removing UI components within component Event handlers 2012-03-22 22:12:16 +00:00
Simon Robertshaw
23873eae71 More work on Tags - display tags in Tag window and Tag button 2012-03-22 13:50:43 +00:00
Simon Robertshaw
7e3d45bbfb Tag UI - actually more of a box at the moment 2012-03-05 19:55:39 +00:00
Simon Robertshaw
81f3114cb2 Better sliders for Decoration editor 2012-03-05 17:10:18 +00:00
Simon Robertshaw
55acb6aa80 More fancy Sliders for deco colour 2012-03-05 15:24:52 +00:00
Simon Robertshaw
644e6770e4 Slider and decoration colour changer 2012-03-04 16:26:03 +00:00
Simon Robertshaw
3bbaa1a111 Decoration tools - no way to set colour yet 2012-03-03 21:38:22 +00:00
Simon Robertshaw
732b9d6a0d Disable key repeat 2012-03-03 17:58:33 +00:00
Simon Robertshaw
afe9e061e1 Better names for sort, allow showing own saves 2012-02-12 16:47:01 +00:00
Simon Robertshaw
5546f7d01e Fixed some lua methods, set decorations enabled by default, allow toggling of decorations with ctrl+b, saving and loading of render, display and colour modes for the renderer 2012-02-12 15:09:25 +00:00
Simon Robertshaw
ec6d1012b2 Somewhat working lua console, no element function overrides, no keyboard, mouse or tick events 2012-02-12 12:53:11 +00:00
Simon Robertshaw
d604fac18f Slight appearence changes to save buttons 2012-02-11 17:11:07 +00:00
Simon Robertshaw
725f1aff85 Fix thumbnail alignment for save buttons, add code for building PSv format 2012-02-11 17:04:39 +00:00
Simon Robertshaw
9f7b06ff47 Comments on save preview and some minor changes for vote bars 2012-02-11 16:08:59 +00:00
Simon Robertshaw
54741c79ef Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-02-05 16:37:48 +00:00
Simon Robertshaw
7ae5eaab79 Started intrepreter for tpt script and various things for console 2012-02-05 16:37:36 +00:00
savask
54c8dbb250 Fix pointer errors for linux. 2012-02-05 20:29:52 +08:00
Simon Robertshaw
8024caec55 Flood fill 2012-02-02 12:09:11 +00:00
Simon Robertshaw
6641f1d541 Frame stepping 2012-02-02 11:55:43 +00:00
Simon Robertshaw
f5dd32b284 Working GOL (No graphics 2012-02-02 00:33:10 +00:00
Simon Robertshaw
f86091d421 Use useragent for version, fix URl encoding 2012-02-01 21:20:27 +00:00
Simon Robertshaw
038da72c61 Console UI, open in browser button, tab and enter shortcut for Login UI, various 2012-02-01 18:45:59 +00:00
Simon Robertshaw
857b0cc1fc Load user information from preferences, fps display for testing 2012-01-31 18:49:14 +00:00
Simon Robertshaw
1d297cb57a Line and rect drawing 2012-01-30 16:03:18 +00:00
Simon Robertshaw
259fc2bcf7 ASCII for key events, save and Textarea (no caret, yet) 2012-01-30 00:40:28 +00:00
Simon Robertshaw
fe329e9127 Stop printing crap from BRMT update method 2012-01-29 18:01:39 +00:00
Simon Robertshaw
5efec88797 Nice Icon settings for Windows 2012-01-29 17:54:53 +00:00
Simon Robertshaw
80aa7219a2 Vote view in save preview, better handling of controller destruction 2012-01-29 17:12:35 +00:00
Simon Robertshaw
680a36549a Background retrieval of save info and save list. 2012-01-29 14:44:36 +00:00
Simon Robertshaw
7c53ca7799 Voting, fix save browser 2012-01-28 19:56:13 +00:00
Simon Robertshaw
28d4aecb6c Make zoom Window switch sides to avoid getting in the way 2012-01-28 14:56:52 +00:00
Simon Robertshaw
b5728a9e3e Zoom 2012-01-28 14:51:39 +00:00
Simon Robertshaw
58ba7f8800 Stop freeing memory twice, also clear signs correctly 2012-01-27 22:01:22 +00:00
Simon Robertshaw
07525180c2 Icon management, fix element menu order, fix renderer crash 2012-01-27 20:19:42 +00:00
Simon Robertshaw
2a7628dfd0 Render options 2012-01-27 13:27:40 +00:00
Simon Robertshaw
1c971e4b42 Functional checkbox on render options screen 2012-01-27 11:05:26 +00:00
Simon Robertshaw
ebd80c73de Some inlines and Checkbox ui component 2012-01-27 09:38:56 +00:00
Simon Robertshaw
e84f0fc6e5 Ellipse cursor 2012-01-26 18:06:23 +00:00
Simon Robertshaw
824d3c069b Clear air properly 2012-01-26 16:23:18 +00:00
Simon Robertshaw
d520a70acf Save loading and reloading 2012-01-26 16:18:43 +00:00
Simon Robertshaw
9e1be78bc2 I've got to a point where I can no longer be bothered to think of a proper commit comment 2012-01-26 01:13:33 +00:00
Simon Robertshaw
b2d3257ae9 Better way of managing Controllers 2012-01-25 19:18:24 +00:00
Simon Robertshaw
c5cc1870f3 Fix some memory leaks 2012-01-25 18:42:35 +00:00
Simon Robertshaw
8b80942b16 Login working, segfaults sometimes 2012-01-25 17:21:55 +00:00
Simon Robertshaw
3505bcc275 Login window close on success 2012-01-25 00:59:19 +00:00
Simon Robertshaw
9cdf2b5902 Login complete (minus brokenness) 2012-01-25 00:57:39 +00:00
Simon Robertshaw
35858ef607 Fix textbox 2012-01-24 23:33:32 +00:00
Simon Robertshaw
04e4a2346d Wall menus 2012-01-24 21:19:29 +00:00
Simon Robertshaw
97b35bc470 Various 2012-01-24 20:19:19 +00:00
Simon Robertshaw
04488081d3 Save name label position and alignment 2012-01-23 22:59:35 +00:00
Simon Robertshaw
df72f2580f Better element buttons, Save preview WIP 2012-01-23 22:53:57 +00:00
Simon Robertshaw
2bd571e159 GameController shut down any render options open 2012-01-23 11:48:08 +00:00
Simon Robertshaw
27755b2f27 Render options 2012-01-23 11:44:20 +00:00
Simon Robertshaw
8a65c395f4 Element menu 2012-01-23 10:50:48 +00:00
Simon Robertshaw
8c0678fa48 Begining menu, tool 2012-01-22 23:24:49 +00:00
Simon Robertshaw
19c1fa5dcb Brush class for drawing on simulation, more interface for game 2012-01-22 14:45:37 +00:00
Simon Robertshaw
91bb5a8b78 Add remaining buttons for game screen 2012-01-22 11:15:34 +00:00
FrankBro
57ab7bca76 Merge remote-tracking branch 'origin/master' 2012-01-22 00:45:10 -05:00
FrankBro
cb92acd0b7 Started the rest of the UI 2012-01-22 00:45:03 -05:00
Simon Robertshaw
3a283d4f3c Nice graphics for Showing windows 2012-01-21 23:29:40 +00:00
Simon Robertshaw
dea70befcf Basic skeleton for save preview 2012-01-21 22:48:37 +00:00
Simon Robertshaw
984d39f8cc Reset page on sort change 2012-01-21 19:43:36 +00:00
Simon Robertshaw
1cee908c16 Fix thumbnail crash, turns out SaveButton was storing a Thumbnail pointer, not a Thumbnail as I thought 2012-01-21 18:51:28 +00:00
Simon Robertshaw
8ec6aae617 Better cleanup for simulation - fix memory leaks 2012-01-21 13:19:10 +00:00
Simon Robertshaw
d364a27ed6 Fix search crash 2012-01-21 00:21:51 +00:00
Simon Robertshaw
36a952ca4d Better handling of save vector from client 2012-01-21 00:17:42 +00:00
Simon Robertshaw
0e5a46aa64 Ensure action class is freed 2012-01-20 23:52:19 +00:00
Simon Robertshaw
fa201a7aeb Fix some uninitialised variables 2012-01-20 23:42:17 +00:00
Simon Robertshaw
6a331fdaf8 Makefile for Linux and finished fixing case issues with includes 2012-01-20 22:19:45 +00:00
Simon Robertshaw
4949a5eac0 Fix case for header files 2012-01-20 22:10:42 +00:00
Simon Robertshaw
c8073657fc More stuff, need to fix memory leak 2012-01-20 22:07:49 +00:00
Simon Robertshaw
c5e8b34521 Add "cajun" for JSON reading and writing, Save searching in client and some more stuff for searcg 2012-01-19 20:10:05 +00:00
Simon Robertshaw
6d3b447f8e Changes to thumbnail retreival 2012-01-19 17:59:00 +00:00
Simon Robertshaw
44639a6423 Some folder changes, started search and client 2012-01-19 13:44:59 +00:00
Simon Robertshaw
4a60b97c70 Some minor changes 2012-01-17 20:46:06 +00:00
Simon Robertshaw
2511afec8b More stuff, better events and starting on interface 2012-01-15 19:35:40 +00:00
Simon Robertshaw
2c9295007a Various things, also IEF UI 2012-01-14 18:51:24 +00:00
Simon Robertshaw
fc2f52099c More stuff, started console 2012-01-11 22:59:45 +00:00
Simon Robertshaw
2eb09c1daa Project changed, ControlFactory (Creates large UI structures such as
menus, dialoges...) GameSession (Session information, such as filename,
reference to simulation
2012-01-10 23:18:37 +00:00
Simon Robertshaw
b0ea52690b Initial 2012-01-08 17:39:03 +00:00