jacob1
bd3011959a
fix GOL detection with DTEC
2013-01-05 19:34:51 -05:00
jacob1
bce28b83b8
faster ellipse brush resizing that doesn't lag/freeze
2013-01-04 14:18:01 -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
8e50abcab9
change that will probably fix custom menus not showing
2013-01-02 20:47:16 -05:00
jacob1
0159c2b5af
more scons fixes for windows
2012-12-29 12:45:43 -05:00
jacob1
8945b5ec77
Merge remote-tracking branch 'origin/master'
2012-12-28 22:22:05 -05:00
jacob1
b46f982def
fix save as new name not actually causing the new save & title to be loaded
2012-12-28 22:21:43 -05:00
jacob1
110fa71a2c
Comment out cpu_check, which only creates errors
2012-12-25 20:11:48 -05:00
jacob1
9ecfbe5a18
Merge remote-tracking branch 'origin/master'
2012-12-23 18:17:34 -05:00
jacob1
312dd8c0ba
revert stickmen CONV fix, and do it another way that doesn't crash
2012-12-23 18:17:04 -05:00
jacob1
b6e69e8126
Fix small mistake in TSNS
2012-12-21 00:18:10 -05:00
jacob1
a91459916d
change max to 200, 500 was a bit large
2012-12-18 23:56:41 -05:00
jacob1
e302a07694
allow a slightly larger brush size
2012-12-18 23:49:30 -05:00
jacob1
e1440f48f6
use kill_part when creating a new particle over an index, fixes STKM not respawning after CONV and probably other stuff too
2012-12-18 16:26:24 -05:00
jacob1
dc0e47ac00
fix undo not allowing any more stickmen to be placed, save stickmen in snapshots
2012-12-18 16:17:13 -05:00
jacob1
9a2df6b824
fix sltw + liquid rubiduim explosion, make it work like water's
2012-12-18 15:17:57 -05:00
jacob1
b236c75209
make TSNS not detect METL, some other sensor and CONV fixes
2012-12-18 14:55:10 -05:00
jacob1
771d71ea46
make water equalization use flags, not tmp2 (fixes EXOT / BUBW)
2012-12-18 14:08:53 -05:00
jacob1
e685e30d58
make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves
2012-12-18 13:33:29 -05:00
jacob1
c06afff0a5
selecting a stamp moves it to the front of the list again (unless you hold ctrl)
...
attempted to do MVC right?
2012-12-18 12:20:52 -05:00
jacob1
672c5ee913
fix mismatched malloc() / delete [], fixes # 106
2012-12-17 23:57:55 -05:00
jacob1
dbe78c342d
initialize variables in air.cpp and simulation.cpp
2012-12-17 23:49:46 -05:00
jacob1
b5de23433d
fix '=' resetting air heat, fix uninitialized ambient heat setting, a few LOLZ / LOVE changes
2012-12-17 21:11:33 -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
f08481a88e
fix TRON ignoring GOO until the last moment
2012-12-17 18:42:41 -05:00
jacksonmj
9c6f3c7fbb
Fix crash in GameSave::serialiseOPS
...
Only particlesCount particles have been copied from the Simulation.
All the rest are uninitialised, and may have coordinates outside the
game area. Using those uninitialised coordinates in the index for
partsPosFirstMap may cause a crash.
2012-12-16 23:01:04 +00:00
Simon Robertshaw
d29c77b2d5
More detailed error when opening non-existent directory.
2012-12-16 16:41:30 +00:00
Simon Robertshaw
4d546b6818
Print errors regardless of build type
2012-12-16 16:40:29 +00:00
jacob1
06f8f88374
fix output appearing in stdout without DEBUG defined
2012-12-16 11:38:12 -05:00
jacob1
a85526bfac
fix comment error messages not showing
2012-12-15 23:12:54 -05:00
jacob1
462bd7bdf9
fix comments being deleted when hitting enter and opening a save or getting an error when commenting
2012-12-15 22:55:53 -05:00
jacob1
1ef507d9e6
fix colors slightly from last commit
2012-12-15 20:42:30 -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
jacksonmj
e4907d1881
Copy dcolour when MERC expands, to let people make coloured mercury thermometers
2012-12-16 00:16:05 +00:00
jacob1
a623959a31
save stamps on 1 pixel grid (works exactly like in tpt now), delete signs with Ctrl+X, also fixes stamps on very bottom/right edge and other edge cases
2012-12-15 15:13:12 -05:00
jacob1
0fd86e994a
make the comment box always multiline. Fixing pasting large amounts of text into it.
2012-12-15 14:28:23 -05:00
Simon Robertshaw
735b2b659f
Update version number
2012-12-15 18:29:26 +00:00
jacob1
a172a96897
make sure long amounts of text without spaces doesn't run over out of bounds
...
A character may be deleted to insert a new line, but when copying something like a url, the missing one is copied back in. I couldn't get inserting a newline between letters to work right
2012-12-15 13:17:29 -05:00
Simon Robertshaw
e0f8456531
Prompt for install on first startup
2012-12-15 17:14:43 +00:00
Simon Robertshaw
f047b4826f
Make installation success message a little friendlier
2012-12-15 16:57:25 +00:00
Simon Robertshaw
6e62a54952
Add missing URL Protocol registration on Windows
2012-12-15 16:56:55 +00:00
Simon Robertshaw
201d314096
Element population histogram debug info display - has to be enabled by adding debugInfo.push_back(new ElementPopulationDebug(gameModel->GetSimulation())); somewhere in GameController
2012-12-15 15:57:57 +00:00
Simon Robertshaw
558888ac25
Ensure resampler.cpp is compiled when needed
2012-12-15 01:10:03 +00: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
a1af662b8f
More accurate elementCount
2012-12-14 23:01:54 +00:00
Simon Robertshaw
ceee0b6dc5
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2012-12-14 19:44:30 +00:00
Simon Robertshaw
31c0666961
Prevent saves from being loaded twice by the Save browser
2012-12-14 19:44:16 +00:00
jacob1
f03fb97620
Merge remote-tracking branch 'origin/master'
2012-12-14 13:51:44 -05:00
jacob1
5362c56f7e
update gravity wall zones whether or not newtonian gravity is on. Fixes #92
2012-12-14 13:50:36 -05:00
Simon Robertshaw
e5feefa419
Update WIRE name and description, fixes #101
2012-12-14 18:50:25 +00:00
jacob1
05fc39e40f
a working scrollbar in the save preview. Also, fix the bug where you couldn't go back up a page when there weren't enough comments to fill a page
2012-12-14 13:34:00 -05:00
jacob1
002743ef08
make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before
2012-12-12 22:05:39 -05:00
jacob1
d57fe7618c
fix walls loading incorrectly in extremely old saves. Fix some invalid save formats being loadable (it was onlychecking the 'O' in OPS)
2012-12-12 17:31:06 -05:00
Simon Robertshaw
38862a78d1
New Conversation notifications
2012-12-09 12:05:27 +00:00
Simon Robertshaw
6478ed121c
Use NotifyAuthUserChanged for GameController login, this will help users become aware when their sessions expire.
2012-12-09 01:25:05 +00:00
Simon Robertshaw
05148e8a8d
C++erific text cleaner function, also, it's a good idea to actually clean text coming from signs...
2012-12-09 00:14:48 +00:00
jacob1
226de5b6f8
add back element descriptions in some cpp files, fix minor TRON search problem. Also,
...
TPT-jacksonmj: Also fix bugs with energy particles that pass directly from PIPE to portal
2012-12-06 19:51:33 -05:00
jacob1
a15372afbf
TRON_NORANDOM flag
2012-12-06 18:42:46 -05:00
jacob1
2881eeb1b3
allow TRON to plan ahead which particles will disappear by the time it gets there, and go on INVS too
2012-12-06 17:53:22 -05:00
jacob1
e5a284a2ba
fix compiling warnings / error
2012-12-06 12:34:32 -05:00
jacob1
122599763e
Merge remote-tracking branch 'origin/master'
2012-12-06 11:01:46 -05:00
jacob1
2d7ac84c1d
give TRON the ability to go through activated SWCH
2012-12-06 10:56:24 -05:00
jacksonmj
9bf5eeeef9
Fix slight particle order issue with SWCH
2012-12-04 19:38:01 +00:00
jacob1
2a8811190c
Fix infinite pressure glitch with CLST
2012-12-01 12:17:41 -05:00
Simon Robertshaw
61e25060ae
Update version number (build 250)
2012-11-27 20:11:25 +00:00
Simon Robertshaw
3664a22f98
Right clicking on reload button will show save preview.
2012-11-26 11:48:27 +00:00
Simon Robertshaw
b08812569c
Stop using persistent connections when we don't need them. Force shutdown of Thumbnailbroker before http lib close, fixes #84
2012-11-26 10:34:17 +00:00
jacob1
6a4040f2b7
Update src/simulation/elements/VIBR.cpp
...
fix EXOT destroying exploding VIBR
2012-11-23 21:28:10 -05:00
Simon Robertshaw
da554cfef2
Allow resizing of custom brushes
2012-11-18 22:25:24 +00:00
Simon Robertshaw
f3307e47a8
Helper function for linear interpolation
2012-11-18 22:24:56 +00:00
Simon Robertshaw
045f5e14c2
Custom brushes loaded from "Brushes" folder, format is a simple RAW 8bit greyscale square format
2012-11-18 18:03:36 +00:00
Simon Robertshaw
483e907702
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2012-11-18 18:02:34 +00:00
Simon Robertshaw
af29942117
Ensure directory enumeration works whether there's a path seperator at the end of the directory or not
2012-11-18 18:02:28 +00:00
jacob1
4654a2aaa0
update build number, which was incorrect. Add an easy way for mods to ignore updates
2012-11-18 12:43:11 -05:00
Simon Robertshaw
0be465aa4e
Use ifndef WIN instead of ifdef _unix
2012-11-18 15:48:43 +00:00
jacob1
7a21ae192f
VINE cool/burn effects like in PLNT, less sharp burn lines, fix infinite smoke from TNT
2012-11-16 23:35:34 -05:00
jacob1
9e72a619ab
fix directly sparking metal not heating it up, fix formatting, allowing update_particles_i to be parsed
2012-11-16 22:43:46 -05:00
jacob1
eb9b3f6bdf
fix link signs ignoring the zoom window, allow right clicking link signs to use them while sign tool selected
2012-11-16 19:22:34 -05:00
jacob1
6b846c6339
add (slightly updated) README from tpt
...
added new contributers, description from main page, and removed key combos and arguments that don't work
2012-11-16 18:20:48 -05:00
Bryan Hoyle
34ed62d685
Fixed issue with opengl-renderer, missing semicolon
2012-11-16 17:03:54 -05:00
Bryan Hoyle
874cd40009
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-16 16:51:55 -05:00
Bryan Hoyle
fec50a2a8e
Opengl fix
2012-11-16 16:50:02 -05:00
jacob1
d8be547c73
fix pause state being reset every time you clear the sim
2012-11-15 20:50:19 -05:00
jacob1
16e4c5f717
save pause state in stamps, load pause state from local saves and stamps correctly, remove accidental inclusion
2012-11-15 20:41:38 -05:00
jacob1
1e32c545d9
fix visual studio std::max problem
2012-11-15 20:23:38 -05:00
jacob1
bf3d7e9ad7
fix tpt.el.X.name commands
2012-11-15 20:13:19 -05:00
jacob1
38a18af2c5
fix crashes when deleting stamps or getting an error when saving
2012-11-15 20:00:55 -05:00
Simon Robertshaw
785fbcefdf
Fix divide-by-zero error
...
... when displaying save buttons that have zero votes.
2012-11-15 13:01:25 +00:00
Simon Robertshaw
51a5af6d5d
Remove some debug printing
2012-11-12 10:48:20 +00:00
mniip
3d635bc68f
More edge cases
2012-11-12 10:41:54 +00:00
mniip
947301c302
Better rectangle tool render function, no crappy pixels in edge cases anymore
2012-11-12 10:41:42 +00:00
Simon Robertshaw
29189693b3
Element palette for automatic element ID/mod mapping
2012-11-12 10:22:16 +00:00
Christoph Korn
04df448c96
Fix typo: Persistant -> Persistent
...
This commit just fixes a small typo which was found by lintian
when checking the Ubuntu package to be published on PlayDeb.net.
2012-11-09 22:23:05 +01:00
jacksonmj
d7c52241a4
Spelling: "hottest"
2012-11-06 20:26:19 +00:00
jacksonmj
fbbe9d81bf
Transfer energy between VIBR and BVBR
2012-11-05 21:45:22 +00:00
Simon Robertshaw
150a2e528e
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-05 20:10:35 +00:00
Simon Robertshaw
8614a2d963
Update version number
2012-11-05 20:09:58 +00:00
jacksonmj
7da144fbae
Fix INVS staying dark blue even when pressure is removed
2012-11-05 14:45:46 +00:00
jacksonmj
956fb39124
Oops, didn't see that parts[i].temp at the bottom, ignore the second half of that last commit message
2012-11-05 14:42:06 +00:00
jacksonmj
3cae63c733
VIBR: don't dump heat into elements that don't conduct heat, and put any remaining heat into EXOT at the end of the explosion
2012-11-05 14:18:28 +00:00
jacob1
dc41e46c81
fix two red BRAYS not being able to turn off swch from certain angles
2012-11-04 22:44:49 +00:00
jacob1
9b8357f822
update version number
2012-11-04 21:35:53 +00:00
jacob1
ca42162e5e
fix heat release during explosion
2012-11-04 21:35:35 +00:00
jacksonmj
828623f9ec
Change freezing point of VIBR lava, and make sure VIBR always absorbs energy particles
2012-11-04 21:10:27 +00:00
jacksonmj
12eb085d20
VIBR changes from jacob1
...
Including:
Molten TTAN + EXOT = VIBR.
VIBR + ANAR = BVBR. (BOYL reaction removed)
All absorbed heat/particles/pressure are stored in one property, tmp.
Graphics changes
2012-11-04 20:35:43 +00:00
Simon Robertshaw
e3a016d9c9
SC_SENSOR in Elements API
2012-11-03 18:06:19 +00:00
jacob1
d586a6d0ab
PPIP doesn't break with pressure, to match TPT
2012-11-03 16:11:54 +00:00
jacksonmj
2ed53a99ae
Change EXOT properties to match TPT
2012-11-03 16:11:11 +00:00
Simon Robertshaw
bd473f02ca
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-03 12:22:07 +00:00
Simon Robertshaw
2f9e8c0a5f
Empty engineprocess for renderer compiling
2012-11-03 12:21:53 +00:00
jacksonmj
fea55f9ac9
Add PLSM to stacking exclusion list, and fix some cases of stacked EMBR causing BHOL
...
Stacked EMBR + displacement -> other particles stacked -> BHOL.
Therefore stop displacement to stop BHOL formation.
2012-11-01 00:28:45 +00:00
Simon Robertshaw
057ec914cf
Don't use SDL defines in platform independant code
2012-10-29 10:38:04 +00:00
Simon Robertshaw
68e6fe2502
More emtpy key defines
2012-10-29 10:33:23 +00:00
Simon Robertshaw
effcc74d6d
Empty key defines for no sdl
2012-10-29 10:32:57 +00:00
Simon Robertshaw
48be91e4df
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-10-29 09:36:32 +00:00
Simon Robertshaw
e08bc6680b
Format: Buffer to pti, Save renderer
2012-10-29 09:36:16 +00:00
Bryan Hoyle
32bdcb89e8
VIBR fixes
2012-10-28 21:11:18 -04:00
jacksonmj
caf262ed60
Decrease absorption chance for SPNG, to make release of water from saturated SPNG look a bit less strange
2012-10-27 00:56:02 +01:00
jacksonmj
9a0ca32372
Make conversion of PHOT to ELEC using BIZR, and enrichment of DEUT with ELEC, work better
2012-10-27 00:56:02 +01:00
Simon Robertshaw
9b4f710e28
Menu icon for sensors menu and fix for VIBR std::max args
2012-10-26 15:58:39 +01:00
Simon Robertshaw
c3ba809806
Fix error from merging
2012-10-26 15:32:10 +01:00
Simon Robertshaw
a1d98ffc31
Fix BVBR for generate.py
2012-10-26 15:29:55 +01:00
jacob1
6d6b0dfa9f
some VIBR changes, also allow it to be compiled with Scons
2012-10-26 15:18:52 +01:00
jacob1
69aad4caa2
some testing with DEBUG mode, add some stuff
...
Conflicts:
src/cat/TPTScriptInterface.cpp
2012-10-26 15:17:02 +01:00
jacob1
e773abdcc8
Ctrl + G gravity grid toggle
2012-10-26 15:16:05 +01:00
jacob1
3ad7cf4539
!quit function
2012-10-26 15:15:52 +01:00
jacob1
5ef6bd8507
close console when using the !load command
2012-10-26 15:15:45 +01:00
jacob1
3a29fc0268
Save local saves as current name option (overwrites them automatically). Fix filename not showing when first saving a local save
2012-10-26 15:15:38 +01:00
jacob1
e2622657f0
ability to reload and resave local saves without retyping name
2012-10-26 15:15:24 +01:00
Simon Robertshaw
63daf67d44
Improve EXOT description
2012-10-26 15:14:57 +01:00
jacob1
6d1c7be740
initialize all stickmen variables, not just legs
2012-10-26 15:13:27 +01:00
jacob1
fd07d35e34
limit the number of signs that can be placed
2012-10-26 15:13:00 +01:00
jacob1
00fdd8308a
possibly fix lag/crash when deleting stamps
2012-10-26 15:12:50 +01:00
jacob1
3461cc64d4
bring back the old vote bars
2012-10-26 15:12:42 +01:00
jacob1
d0b14dc64b
don't render invalid elements
2012-10-26 15:12:35 +01:00
jacob1
4d207b1146
fix INVS graphics
2012-10-26 15:12:21 +01:00
jacob1
947660fcd4
Fix hydrogen not burning right (with and without realistic heat), allow h2 to burn at all temps while still allowing fusion to work correctly
2012-10-26 15:12:13 +01:00
jacob1
ccd9284e61
improve the GOL menu descriptions
2012-10-26 15:12:05 +01:00
jacob1
c58a3fb2dc
TSNS doesn't detect things with an equal temp (fixes detecting wires)
2012-10-26 15:11:59 +01:00
jacob1
b84460d79b
visual studio compatibility, plus change text a little
2012-10-26 15:11:43 +01:00
jacob1
3f093c8072
VIBR explosion/graphical changes, it now has a while before it explodes after getting to the limit
2012-10-26 15:11:22 +01:00
jacob1
cd7ca6d417
some VIBR changes/fixes
2012-10-26 15:10:50 +01:00
jacob1
04b76a4b48
VIBR/BVBR - vibranium. Initial commit, doesn't seem to work yet
2012-10-26 15:10:44 +01:00
Simon Robertshaw
0b09d2e0f3
Allow TSNS and DTEC to detect photons and other energy particles. Set default TSNS radius to 1 to make it easier to avoid detecting the wire connections
2012-10-10 21:27:36 +01:00
Simon Robertshaw
da07c22ee4
new elements: DMG (Force bomb) and TSNS (Temperature sensor)
2012-10-10 19:29:11 +01:00
Simon Robertshaw
249e3dcad3
Merge pull request #195 from Huulivoide/master
...
Minor fixes needed to build on Linux/64bit.
2012-10-09 08:43:13 -07:00
Jesse Jaara
b1d3ebacd2
Windows doesn't have unistd.h, use only in unix platforms.
2012-10-07 12:11:41 +03:00
Jesse Jaara
ec413dd057
Fix an error that prevents building on 64bit systems.
2012-10-06 19:52:48 +03:00
Simon Robertshaw
af181faeea
Revert "multiple BRCK colors (suggested by Catelite)"
...
This reverts commit 4a8ae25299e465ab55072dd512b5818881ec5a67.
2012-10-05 17:25:04 +01:00
jacob1
774bc08c2c
Move LOLZ/LOVE Rule tables into more appropriate location (element file)
2012-10-05 16:52:53 +01:00
jacob1
d159467b63
LOLZ and LOVE work again
2012-10-05 16:33:54 +01:00
jacob1
f19f393e22
multiple BRCK colors (suggested by Catelite)
2012-10-05 16:33:45 +01:00
jacob1
a16534e782
don't let TNT flood fill explode when under other particles (prevents lag)
2012-10-05 16:33:24 +01:00
jacob1
d2af4470a5
show # of parts, [GRID X], PIPE/PPIP with X, and molten X (with debug on) in HUD
2012-10-05 16:33:12 +01:00
jacob1
433a80b099
holding both Ctrl and Shift still enables 10x stength
2012-10-05 16:33:00 +01:00
jacob1
a9619fad33
Console Show quickoption
...
(best way I could think of)
2012-10-05 16:32:50 +01:00
jacob1
72b00ca5e1
info tip on deco/ngrav/aheat changed
2012-10-05 16:32:39 +01:00
jacob1
e600c20ba9
undo ambient heat in snapshots
2012-10-05 16:32:06 +01:00
jacob1
97cea273e5
Fast quit option (disable to make "X" act like in tpt)
2012-10-05 16:31:04 +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
7c0ba094b8
Ensure save is stored in memory for reload when using Save as current name, correct ServerSaveActivity to call SaveUploaded when doing an instant upload
2012-10-05 16:30:32 +01:00
Simon Robertshaw
0fbe12772d
Only run autorun if it exists
2012-10-05 16:04:55 +01:00
jacob1
5c59b9d6cb
don't render fire on stamps (reduces lag)
2012-10-05 15:49:54 +01:00
jacob1
63c364652d
prevent setting invalid types, fix setting type to "NONE", "C4", & "C5"
2012-10-05 15:49:41 +01:00
Simon Robertshaw
b35fd0298c
Flush stamps list to file when deletins, Rename stamps undelete function to rescan
2012-10-05 15:46:42 +01:00
jacob1
7313bd81ca
fix problem with last commit
...
there was no other missing stamps problem actually, just this
2012-10-05 15:23:24 +01:00
Simon Robertshaw
34fdffa340
Fix textbox key repeat issue
2012-10-05 15:23:01 +01:00
jacob1
d45dd605e9
Stamp fix button to bring back deleted stamps
2012-10-05 15:20:33 +01:00
jacob1
cb8efcd0f9
fix visual studio compiling errors (but not the dirent.h one)
2012-10-05 15:19:00 +01:00
Simon Robertshaw
4bb402f4fd
Fix stuttering issue with FPS cap
2012-10-05 14:21:38 +01:00
jacksonmj
707c11203e
Fix extra BUBW sometimes being produced when CO2 dissolves
2012-10-03 15:42:30 +01:00
Jesse Jaara
1ba412d3ba
Add couple of missing header files needed by GCC 4.7.
2012-10-02 23:29:40 +03:00
Simon Robertshaw
b98f5faace
Fix photon blending mode
2012-10-01 21:54:52 +01:00
Simon Robertshaw
0e394ed62e
Don't highlight menus when the mouse button is down.
2012-10-01 14:26:43 +01:00
Simon Robertshaw
58763f0900
Fix stamp library loading issue (wasn't loading beyond 512 bytes, readsome doesn't always reach eof before not reading n
2012-10-01 13:36:56 +01:00
Simon Robertshaw
c0c5717efe
Limit save description length
2012-10-01 13:03:03 +01:00
Simon Robertshaw
134a59609d
Collapse comment box after sending comment
2012-10-01 12:41:31 +01:00
Simon Robertshaw
98faf2b192
Don't reset tick counter when loading saves, fixes issue with LIGH tool
2012-10-01 12:32:56 +01:00
Simon Robertshaw
39afea3945
Impose limit when pasting into textboxes
2012-10-01 12:28:21 +01:00
Simon Robertshaw
d78082d368
Negative values in old console commands
2012-10-01 12:14:47 +01:00
Simon Robertshaw
7568e082dd
Allow pausing when using stamp placement/selection
2012-10-01 12:07:02 +01:00
Simon Robertshaw
0801497ed2
Fix wall clipping during stamp rotation
2012-10-01 12:02:04 +01:00
Simon Robertshaw
163fbde8af
Fix issue where thumbnails are sometimes the incorrect ones
2012-10-01 00:15:09 +01:00
Simon Robertshaw
89e9623725
Fix word wrapping issue (words moved onto new lines were not being added to the line width)
2012-09-30 23:57:23 +01:00
Simon Robertshaw
288a4f710a
Activate deco tools when using deco menu
2012-09-30 23:04:29 +01:00
Simon Robertshaw
b97cf098b3
Draw walls behind particles
2012-09-30 22:41:50 +01:00
jacob1
f652786557
fix saves getting corrupted when saving, fix error messages not showing (correctly)
2012-09-30 20:46:08 +01:00
jacob1
be1b9112e8
Fix some uninitialized variables, add back sandcolor changing
2012-09-30 20:43:38 +01:00
Simon Robertshaw
1c60ce25ee
Delete notification before removing from vector
2012-09-30 18:40:10 +01:00
Simon Robertshaw
02e09224e0
Prevent crash when pasting in Linux
2012-09-30 17:22:08 +01:00
Simon Robertshaw
68a32aa376
Pass points by value for drawing tools
2012-09-30 16:26:05 +01:00
Simon Robertshaw
70174bff47
Set appropriate default values for some static Lua interface variables
2012-09-30 16:25:29 +01:00
Simon Robertshaw
90ebd3e54c
Better hanling of edgeMode and "New Sim" button
2012-09-30 16:19:44 +01:00
jacob1
d6f832b4f5
remove 'Z' quickoption
...
is confusing and useless, only needed when you draw gravity walls. I can't figure out how to do a show console quickoption
2012-09-29 23:21:24 +01:00
jacob1
b3741cd67c
lock icon on unpublished saves
2012-09-29 23:03:02 +01:00
Simon Robertshaw
006dfdf596
Move PPIP to powered
2012-09-29 23:02:22 +01:00
Simon Robertshaw
2e99638d76
Fix crash loading null stamp after pasting ( http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=15107 )
2012-09-29 22:53:32 +01:00
Simon Robertshaw
ef24a1ad44
Stable release options
2012-09-29 14:51:27 +01:00
Simon Robertshaw
e8418a8ca0
Lua FileSystem API
2012-09-29 13:28:56 +01:00
Simon Robertshaw
f96cb74a08
ren.decorations() to enable/disable/get decorations (Lua API)
2012-09-29 11:45:41 +01:00
Simon Robertshaw
9a42e47eb0
Move old Lua API into another file, make the old drawin API have the old position quirk for rects, new graphics (gfx) api with drawRect, fillRect, drawTect, drawLine and textSize functions.
2012-09-29 00:20:52 +01:00
Simon Robertshaw
261c654ca0
HTTP/1.1: Allow multiple whitespace characters in header fields
2012-09-28 17:19:00 +01:00
Simon Robertshaw
92dd8ac804
Fix case sensitive filename
2012-09-27 14:29:50 +01:00
Simon Robertshaw
a953871bd8
Move Render presets to the right
2012-09-27 13:42:05 +01:00
Simon Robertshaw
b0b402d90e
Improvement to some of the rendermode icons
2012-09-26 17:15:30 +01:00
Simon Robertshaw
ff24e97d3e
Always focus text box for property tool
2012-09-26 16:56:22 +01:00
jacob1
6ec915df80
make PROP interface a little easier to use (first part of tpt issue 78)
2012-09-26 16:46:29 +01:00
jacob1
2f26fac9d0
Fix own / fav buttons being enabled even when not logged in
2012-09-26 16:46:21 +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
2a4298047c
Fix smudge issue
2012-09-25 22:57:11 +01:00
jacob1
de7218da8d
Fix black border around dialogs being off (I think I got all of them)
2012-09-25 20:10:23 +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
187a5189d5
some improvements to the render options interface and checkboxes (icons and tooltips coming next)
2012-09-25 20:09:24 +01:00
jacob1
5ee1c7ff80
Fix incorrect deco colors being selected
2012-09-25 20:08:33 +01:00
jacob1
d5e322c98d
small change
2012-09-25 20:07:48 +01:00
jacob1
a9ccbf409b
display hex value in deco editor (replaces Cancel button)
2012-09-25 20:05:42 +01:00
jacob1
a4f12d367b
Make number boxes easier to use, plus limit deco editor numbers to 255
2012-09-25 20:05:28 +01:00
jacob1
bb08de4544
allow alpha editing
...
Conflicts:
src/colourpicker/ColourPickerActivity.cpp
2012-09-25 20:02:44 +01:00
jacob1
10c6c46e6f
alt click alternative to middle click (that doesn't break line snapping)
2012-09-25 19:51:10 +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
Simon Robertshaw
cfb8df0830
Work on Ahead-Of-Time compiler for PVM
2012-09-24 14:08:39 +01:00
Simon Robertshaw
2ddbd57677
If/elseif with simple conditions
2012-09-23 15:14:56 +01:00
Simon Robertshaw
1905e49744
Macros and property setting
2012-09-23 11:39:20 +01:00
Simon Robertshaw
644c130712
Set properties with integer.property
2012-09-21 21:21:03 +01:00
Simon Robertshaw
939a04d3c7
Testing new vm/language WIP
2012-09-21 15:05:50 +01:00
Simon Robertshaw
6e44ebc358
Checkbox, Slider and ProgressBar components for ui API
2012-09-17 12:20:58 +01:00
Simon Robertshaw
e52e9ce91c
Prevent UI thread lockup when drawing hideously large progress bars for no reason.
2012-09-16 17:57:41 +01:00
Simon Robertshaw
bd02c36426
Right click menu to go to history and user info for save buttons
2012-09-16 17:09:23 +01:00
jacob1
cd7fe454b2
Fix minor highlighting bug in the save browser, votes counter is drawn on your saves even with mouse over thumbnail
...
this covers up the corner all the time, so i'm not sure if I should go back to the old way
2012-09-16 12:09:59 +01:00
jacob1
dd82ed8cd9
fix some errors in visual studio
2012-09-16 12:09:13 +01:00
jacob1
ad0149a1bb
update version numbers
2012-09-16 12:07:39 +01:00
jacob1
4c791f4892
remove unneeded check
2012-09-16 12:07:24 +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
8f58c61c69
Show number of votes and the history button on your own saves
2012-09-16 12:05:29 +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
95bbd04d21
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-09-16 12:02:09 +01:00
Simon Robertshaw
42ec654f3e
When reloading elements API, set packages.loaded["elements"] to nil to prevent luaL_register from trying to reuse a nilled table. Fixes #189
2012-09-16 12:01:48 +01:00
Savely Skresanov
ec0dfa27e8
Hooked more functions to VM.
2012-09-15 21:34:27 +07:00
Savely Skresanov
b626864293
Some work on adding new hooks.
2012-09-15 21:34:18 +07:00
Simon Robertshaw
8a4d18df49
Better reporting dialogue
2012-09-15 15:16:46 +01:00
Simon Robertshaw
3ed5672052
Render fire after wall drawing
2012-09-15 15:00:16 +01:00
Simon Robertshaw
b8a5b8ecb3
Fix file reading, fix ARG implementation
2012-09-15 12:26:52 +01:00
Simon Robertshaw
3b2f4d59fc
Better fire rendering for saves
2012-09-14 23:53:58 +01:00
Simon Robertshaw
5b9032fb3f
Correct initialisation of FIGH
2012-09-14 22:23:35 +01:00
Simon Robertshaw
486b34ebe5
Fixes invalid text pasting, Adds API to VM, allow program loading in Lua and assigning to update function
2012-09-14 22:03:14 +01:00
Simon Robertshaw
685be24ffa
Remove testing particle from repo
2012-09-13 23:01:30 +01:00
Simon Robertshaw
5b52ac3675
Save history and new multiline formatter
2012-09-13 22:39:01 +01:00
Simon Robertshaw
a11cd592cb
Show version info in update prompt. Fixes #177
2012-09-13 18:33:12 +01:00
Simon Robertshaw
f7f51d5045
Make sample tool sample different life types. Fixes #184
2012-09-13 16:41:35 +01:00
Simon Robertshaw
44c55fbd45
Ensure cursor position is correct after placing stamp.
2012-09-13 15:54:54 +01:00
Simon Robertshaw
cd03297086
Mouse move on exiting Window. Fixes 181
2012-09-13 15:51:23 +01:00
Simon Robertshaw
03e40d53bc
Allow editing link signs. Fixes #182
2012-09-13 11:12:39 +01:00
Simon Robertshaw
3e0fcc904e
Disable JIT for now
2012-09-13 11:01:09 +01:00
Simon Robertshaw
acf652595c
Some progress on JIT - no syscalls yet
2012-09-13 10:14:08 +01:00
Simon Robertshaw
771d5df5c9
Fix buffer overflow with HTTP headers caused by recent \r\n commit"
2012-09-11 13:13:24 +01:00
Simon Robertshaw
369ba2eced
More VM syscalls
2012-09-09 20:03:27 +01:00
Simon Robertshaw
b44ac1bb7d
Allow terminating the VM
2012-09-09 19:16:25 +01:00
Simon Robertshaw
ddeb11bb7e
Merge
2012-09-09 17:56:24 +01:00
Simon Robertshaw
2d2f8713bc
Move opcodes and syscalls out of main virtualmachine coee
2012-09-09 17:55:03 +01:00
Simon Robertshaw
d5ae22115d
Preserve stack pointer after VirtualMachine::Call()
2012-09-09 15:22:54 +01:00
Simon Robertshaw
7b05862cfe
Disable VM test file by default
2012-09-09 13:07:41 +01:00
Savely Skresanov
b2a2940d8c
Add test files.
2012-09-09 18:55:42 +07:00
Simon Robertshaw
cd6c193e81
Virtual machine
2012-09-09 12:51:37 +01:00
Simon Robertshaw
ba822dcbd2
Remove debug crap
2012-09-07 12:30:45 +01:00
Simon Robertshaw
04e0d0d5ad
Hidden elements in element search
2012-09-07 01:05:36 +01:00
jacob1
5a91b83875
revert changing the lua/sdl includes and min/max changes
2012-09-07 00:53:29 +01:00
jacob1
66af9969d6
Fix one more compiling error
...
(was using outdated SearchModel.h so reverted to official version)
2012-09-07 00:53:04 +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
Simon Robertshaw
58fa3dd539
Fix some off-by-one mouse clamping issues
2012-09-07 00:51:14 +01:00
jacob1
76477e1b46
Some improvements to the appearence of the save browser and preview
...
Make huge labels not so huge, fix color of some buttons
2012-09-07 00:38:09 +01:00
jacob1
2dcdca2761
fix spark color in nothing mode
2012-09-07 00:37:53 +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
jacob1
22de8ecb6c
Change hover color of update box (white just didn't look right)
2012-09-07 00:36:19 +01:00
jacob1
24b4b0b187
Fix bugs with energy particles in PIPE
2012-09-07 00:36:02 +01:00
jacob1
1391de2e3a
Wall names in HUD
...
Conflicts:
src/game/GameView.cpp
2012-09-07 00:35:33 +01:00
Simon Robertshaw
2243c86ef9
More demonstration of my inability to commit the saved file
2012-09-06 01:30:11 +01:00
Simon Robertshaw
993fca3d02
Gah, amend previous
2012-09-06 01:27:32 +01:00
Simon Robertshaw
9e3782ef1d
Fix Line/Rect drawing in zoom window
2012-09-06 01:10:57 +01:00
Simon Robertshaw
9432eb63a2
Some simulation API
2012-09-05 22:43:37 +01:00
Simon Robertshaw
9be4f41809
Fix setting colour presets
2012-09-05 21:53:46 +01:00
Simon Robertshaw
b0158e2f60
Changes to Smudge and blending modes (make them a little slower and easier to handle)
2012-09-05 21:49:34 +01:00
Simon Robertshaw
3d0ce2ac37
Correct default tools
2012-09-05 21:30:49 +01:00
Simon Robertshaw
37129abbc6
Allow mass unfavouring, unfavouring from the preview view. Fixes #149
2012-09-05 20:24:46 +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
09c266f252
Perform pointtranslate (zoom) only in GameView. Fixes point line issue in #175
2012-09-05 18:44:53 +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
d61690bc09
Prevent setting double scale on smaller screens. Fixes #166
2012-09-05 17:31:49 +01:00
Simon Robertshaw
d379390d06
Newtonian gravity field info in HUD (Maybe we could have an arrow to show direction in future). Fixed #152
2012-09-05 17:02:03 +01:00
Simon Robertshaw
3f43763695
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-09-05 16:56:54 +01:00
Simon Robertshaw
5904844e96
Add way of uniquely identifying tools, preserve active menu and tools when rebuilding menus ( fixes #170 )
2012-09-05 16:56:41 +01:00
Simon Robertshaw
0230f4d9ea
Remove unused statement wasting memory
2012-09-04 15:48:38 +01:00
Simon Robertshaw
d256439c40
Some simulation API
2012-09-04 15:20:34 +01:00
Simon Robertshaw
c63f6adcb8
Fix crash/lock up when loading tags
2012-09-03 20:54:55 +01:00
Simon Robertshaw
41b464953a
Load tags seperately from saves in search
2012-09-03 17:38:26 +01:00
Simon Robertshaw
7d9f8a0b1d
Use \r\n instead of just \n for HTTP headers
2012-09-03 17:37:58 +01:00
Simon Robertshaw
612dca950d
Move class definitions for ThumbnailBrokeer into header
2012-09-03 17:37:25 +01:00
Simon Robertshaw
32d73da322
Improve save preview layout
2012-09-03 13:38:13 +01:00
Simon Robertshaw
b05f114174
Views in save Preview and use old vote bars. Fixes #171
2012-09-03 13:25:48 +01:00
Simon Robertshaw
51d2c783cc
Remove translation from alt-click to middle click to fix line snapping. Fixed #173
2012-09-03 12:43:15 +01:00
Simon Robertshaw
1ac964d9ba
Ensure saves are expanded in memory when performing translate operations. Fixes #174
2012-09-03 12:38:09 +01:00
Simon Robertshaw
4e09a077a4
Textbox component for Lua interface API
2012-09-02 23:55:08 +01:00
Simon Robertshaw
b7616a91d8
Prevent changing of sorting mode when results haven't loaded. Fixes #172
2012-09-02 15:40:39 +01:00
Simon Robertshaw
6d991c10d7
Logging for UI component events, tr
2012-09-01 20:13:51 +01:00
Simon Robertshaw
9bc06a2fc4
"Molten X" for mouseover with lava, fixes #165
2012-09-01 18:36:43 +01:00
Simon Robertshaw
9751c962b1
No default description, fixes #153
2012-09-01 18:33:28 +01:00
Simon Robertshaw
d9f9e88ee4
Use original naming for sorting button in save search, fixes #155
2012-09-01 18:25:03 +01:00
Simon Robertshaw
ba55da77a9
!load command for old console
2012-09-01 18:13:13 +01:00
Simon Robertshaw
618e29d5d4
Colour picker and presets for decorations
2012-09-01 17:55:27 +01:00
Simon Robertshaw
0a67e560f4
Fix Simulation Tool brush issue (misalignment/didn't work with small brushes). Fixes #167
2012-09-01 17:17:15 +01:00
Simon Robertshaw
355c43723f
More interface API
2012-08-31 22:02:02 +01:00
Simon Robertshaw
e8628274ad
Events for Window object (Lua)
2012-08-31 20:32:14 +01:00
Simon Robertshaw
493a32a1b2
Some Lua interface API stuff
2012-08-31 19:39:11 +01:00
Simon Robertshaw
322d224fa7
Get/Set single element properties
2012-08-30 17:09:27 +01:00
Simon Robertshaw
7c2e84b7bb
More methods for setting element properties
2012-08-30 14:28:53 +01:00
Simon Robertshaw
a9fba97c36
Fix streamline placement
2012-08-30 01:50:18 +01:00
Simon Robertshaw
6dbcd3cc59
Fix cursour falling just out zoom window
2012-08-30 00:18:42 +01:00
Simon Robertshaw
58dc2559aa
Implement retrieval of element properties
2012-08-29 22:04:07 +01:00
Simon Robertshaw
3e78f64da8
Bitops for Lua, incomplete elements API
2012-08-29 20:50:18 +01:00
Simon Robertshaw
6760d15be7
Additions to Lua API: Renderer (colourMode, displayMode, renderMode, plus all the macros used for Particle/display/colour modes)
2012-08-28 21:39:09 +01:00
Simon Robertshaw
856a33e3db
Update version number
2012-08-28 18:42:36 +01:00
Simon Robertshaw
07a66dc3dc
tpt.element also converts numbers to names
2012-08-28 16:12:30 +01:00
Simon Robertshaw
92f3ad5814
Black decorations only in thumbnails
2012-08-28 15:53:07 +01:00
Simon Robertshaw
1fb544815f
Correct PHOT colour during fusion
2012-08-28 15:13:20 +01:00
Simon Robertshaw
14c0ea59a9
cold phot doesn't burn things
2012-08-28 15:09:32 +01:00
Simon Robertshaw
05e32f1698
Fix things melting with heat sim off
2012-08-28 15:08:11 +01:00
Simon Robertshaw
4263e3aab7
DTEC, generates a spark when something with it's ctype is nearby
2012-08-28 14:17:01 +01:00
Simon Robertshaw
29619e9ebf
WOOD and PLNT turn grey when hot, bluish when cold
2012-08-28 13:19:34 +01:00
Simon Robertshaw
df26523e10
Save decorations and gravity field drawing to prefs
2012-08-28 13:06:45 +01:00
Simon Robertshaw
99b2d8d67d
Limit SPNG saturation and reduce absorbtion rate for GEL and SPNG with some elements
2012-08-28 12:48:50 +01:00
Simon Robertshaw
5ded005b0c
Correct proportions of CO2 and WATR when GEL/SPNG is absorbing BUBW
2012-08-28 12:40:18 +01:00
Simon Robertshaw
91ec4d1125
GEL and SPNG absorb water from more elements and leave behind what the water was mixed width
2012-08-28 12:38:18 +01:00
Simon Robertshaw
86fc8e1eb3
TPT: Prevent Acid from eating broken glass
2012-08-28 12:28:16 +01:00
Simon Robertshaw
09d32f225b
Ensure previewview comment box resizing is triggered.
2012-08-27 18:21:34 +01:00
Simon Robertshaw
2ae37525e3
Nicer HUD for beta
2012-08-27 16:14:13 +01:00
Simon Robertshaw
072cfe67aa
Missing part of TPT commit 04a09d997
, for TTAN, nt and surround_space is now from 0 to 8
2012-08-27 15:11:45 +01:00
Simon Robertshaw
dd2fc64793
Fix bug in history restoring where the lastActiveIndex is not updated leading to incomplete restoring
2012-08-27 13:33:15 +01:00
Simon Robertshaw
0ca680f4c8
Enable decorations in renderer for local save items, disable for server save previews.
2012-08-27 13:32:17 +01:00
Simon Robertshaw
ebc4116675
Disable decorations when rendering saves
2012-08-26 16:37:17 +01:00
Simon Robertshaw
e88fca8aa1
Save ID copying for preview
2012-08-25 18:11:36 +01:00
Simon Robertshaw
5c293ba9bf
Fix messed up revert
2012-08-25 16:41:34 +01:00
Simon Robertshaw
59a78621d9
Complete "Consistent proportions of WATR and SALT in SLTW" after REALISTIC revert
2012-08-25 16:36:01 +01:00
Simon Robertshaw
1987efd6e5
Revert "HYGN now combusts and fuses properly"
...
This reverts commit ede6876a82
.
2012-08-25 16:33:12 +01:00
Simon Robertshaw
9b10f0c390
Revert "final fusion fixes"
...
This reverts commit add4226f31
.
2012-08-25 16:32:51 +01:00
Simon Robertshaw
082072a05e
OPS: Fix byte order when unpacking 4 byte tmp fields
2012-08-25 16:29:27 +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
52ec84198b
Correct size for textbox limits, fixes #8
2012-08-25 12:58:56 +01:00
Simon Robertshaw
64a404263a
Tooltips for quick options menu, #113
2012-08-25 11:37:55 +01:00
Simon Robertshaw
5c683f6bc3
Tooltips for sign in button, fixes #113
2012-08-25 10:59:59 +01:00
Simon Robertshaw
ae3c9ddf39
Don't you just hate those fencepost errors... Stop going out of bounds when traversing the X axis with gravity mask.
2012-08-24 20:36:23 +01:00
Simon Robertshaw
98da88e34f
Alt click alternative to middle clicking
2012-08-24 19:15:22 +01:00
Simon Robertshaw
a8d4bdeb2d
Fix install crash (somehow, I commented out the bit the gets the current directory, leading to strlen op on a NULL pointer), fixes #145
2012-08-24 19:03:20 +01:00
Simon Robertshaw
822539bcdb
More efficient floodfill function for gravity walls, no need for larger stacks with 64bit builds
2012-08-24 18:22:02 +01:00
Simon Robertshaw
beb0e80849
Prevent key overlap for Stickman movement and Gravity/Debug/Stamp actions, fixes #81
2012-08-24 17:34:36 +01:00
Simon Robertshaw
a28121b166
Fix prev, next buttons in Stamps browser. #141
2012-08-24 11:59:26 +01:00
Simon Robertshaw
b7328e03ac
Remember Console history
2012-08-21 17:58:45 +01:00
Simon Robertshaw
fb6f36907f
PPIP glowing brick in fire mode
2012-08-21 14:58:23 +01:00
Simon Robertshaw
62f067d29d
Fix stamps page count
2012-08-21 14:06:54 +01:00
Simon Robertshaw
b639da3692
Use collapsed saves when using stamp browser, fix memory leak when saving stamps
2012-08-21 13:30:30 +01:00
Simon Robertshaw
b6736f967e
Add EMP flash, fixes #137
2012-08-21 13:00:31 +01:00
Simon Robertshaw
e25d934856
Show stamp selection and placement in zoom window. Fixes #140
2012-08-21 12:31:27 +01:00
Simon Robertshaw
7b8647cf15
Add missing files from e54eeae
2012-08-21 12:27:13 +01:00
Simon Robertshaw
4b8ebe4abd
Air heat simulation now knows about gravity mode. fixes #142
2012-08-21 12:26:39 +01:00
Simon Robertshaw
e54eeae883
Move tick time into engine, fixes #139
2012-08-21 01:24:38 +01:00
Simon Robertshaw
c9997f8aea
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-08-21 01:09:37 +01:00
Simon Robertshaw
ba1ce66968
Correct particlesCount when reading PSv format, particlesCount was being assigned to the last index and thus was one less that desired. fixes #138
2012-08-21 01:09:22 +01:00
Bryan Hoyle
add4226f31
final fusion fixes
2012-08-20 17:46:51 -04:00
Bryan Hoyle
a403be9890
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-08-20 16:59:37 -04:00
Bryan Hoyle
ede6876a82
HYGN now combusts and fuses properly
2012-08-20 16:59:19 -04:00
Simon Robertshaw
451a94a6ac
Clear fire/persistent effects when clearing the simulation, fixes #136
2012-08-20 20:49:00 +01:00
Simon Robertshaw
1b75cbdcc9
Limit on text width in textboxes
2012-08-20 20:41:38 +01:00
Simon Robertshaw
8e43ee60bb
Remove wall frame when loading saves, fixes #103
2012-08-20 18:53:03 +01:00
Simon Robertshaw
cb05bc67c6
Ensure localBrowser is NULL when starting to prevent crash
2012-08-20 18:52:37 +01:00
Simon Robertshaw
94b94cf818
Update version number
2012-08-20 18:43:51 +01:00
Simon Robertshaw
72e441132f
TPT: Prevent accidental infinite loops in lua, fixes #115
2012-08-20 18:37:42 +01:00
Simon Robertshaw
51a0fb2d45
TPT: Prevent CONV from destroying diamond
2012-08-20 16:54:56 +01:00
Simon Robertshaw
b318c3721a
TPT: Powered pipe, based on jacob1's commits
2012-08-20 16:48:03 +01:00
Simon Robertshaw
13888623a5
TPT: Error reporting in other things besides just step functions (No error reporting in graphics or part update to prevent massive spam) fixes #134
2012-08-20 15:00:32 +01:00
Simon Robertshaw
9c599a7b9f
TPT: fix enegery particles going into PIPE
2012-08-20 14:26:08 +01:00
Simon Robertshaw
5ea1889e81
TPT: fix set_property not checking stacked particles when specifying range, add dcolor property setting/getting
2012-08-20 14:24:19 +01:00
Simon Robertshaw
fb02d57aca
TPT: Fix salt/water proportions when dissolving into DSTW as well
2012-08-20 14:08:27 +01:00
Simon Robertshaw
29283b038c
TPT: Consistent proportions of WATR and SALT in SLTW (1 SALT + 3 WATR = 4 SLTW)
2012-08-20 13:55:11 +01:00
Simon Robertshaw
7fc8d5f388
Add missing legacy update function
2012-08-20 13:41:03 +01:00
Simon Robertshaw
9ecc29d24c
Correct position of context menus in scrolling panels, fixes #135
2012-08-20 12:54:48 +01:00
Simon Robertshaw
43ed72b4c5
Fix a few small (a lot of big) memory leaks associated with the stamps browser
2012-08-19 21:31:24 +01:00
Simon Robertshaw
9dd9d52564
Herp derp, forgot to call dealloc in GameSave destructor
2012-08-19 20:57:14 +01:00
Simon Robertshaw
c0c30bd305
Looks like calling the destructor manually is not a good idea.
2012-08-19 20:44:50 +01:00
Simon Robertshaw
b1df1e164c
Catch exceptions when loading initial stamp
2012-08-19 18:57:29 +01:00
Simon Robertshaw
186e62dec4
Pad frame numbers with zeros for screenshots and recording
2012-08-19 16:55:46 +01:00
Savely Skresanov
d6fe7fa2c8
Basic realistic heat and latent heat support.
2012-08-19 20:06:10 +07:00
Simon Robertshaw
7d8c6c7f86
TPTScript: Allow numbers with decimal point
2012-08-19 12:50:04 +01:00
Simon Robertshaw
4c63a6f593
Fix the Lua EngineProcess bug, not sure how either (needs further investigation) I suspect that stacking Lua calls upon each other (which will happen in engine->Tick()/engine->Draw()) is causing some unusual behaviour, checking for an engine break just before this fixes it. fixes #129
2012-08-19 12:16:51 +01:00
Simon Robertshaw
fee3f3bf44
Ensure Lua mouse status is reset at startup, fixes #130
2012-08-19 12:08:46 +01:00
Simon Robertshaw
571abd97a3
Prevent mouse up from leaving a little blob, fixes #130
2012-08-19 11:44:14 +01:00
Simon Robertshaw
3d140d310e
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-08-19 11:30:57 +01:00
Simon Robertshaw
7ae2369dda
Make ngrav negative, fixes #133
2012-08-19 11:30:44 +01:00
Simon Robertshaw
0092229132
Don't delete Simulation::Elements now that it's not runtime allocated
2012-08-19 00:49:24 +01:00
Simon Robertshaw
93afe0a1ea
More robust EngineProcess (still doesn't fix lua bug)
2012-08-19 00:40:20 +01:00
Simon Robertshaw
740f0d30c3
Blocking Confirm/Error/Input prompts (EngineProcess creates a new event loop which can be broken out of with Engine::Break())
2012-08-18 22:08:20 +01:00
Simon Robertshaw
63da7a4afe
Initialise stickman legs correctly
2012-08-18 17:31:31 +01:00
Simon Robertshaw
ce3bb6f755
Element slots default to disabled
2012-08-18 17:19:39 +01:00
Simon Robertshaw
9b2433f912
Fix typo
2012-08-18 17:13:13 +01:00
Simon Robertshaw
7018e46fac
Remove disabled elements when simulating. Fix crash when kill_part is run on elements with invalid types
2012-08-18 17:08:24 +01:00
Simon Robertshaw
69b788ba7d
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-08-18 12:44:32 +01:00
Simon Robertshaw
97a819c79c
Fix autoupdate issue where temp file is not deleted, fixes #128
2012-08-18 12:44:07 +01:00
Simon Robertshaw
a9cce88be6
Fix crash when creating null terminator in updateRichText (writing out of bounds)
2012-08-17 23:16:55 +01:00
Simon Robertshaw
5b51e67044
PPM screen recording
2012-08-17 23:09:48 +01:00
Simon Robertshaw
706bd0fa97
Tick client more frequently and remove *pyc files from git
2012-08-17 17:20:09 +01:00
Simon Robertshaw
02f98ddbe9
Ensure input text is null terminated when parsing RichText
2012-08-17 17:17:36 +01:00
Simon Robertshaw
21f050800b
Load signs from OPS data
2012-08-17 17:08:24 +01:00
Simon Robertshaw
d24e439a1e
Red error, ensure residual actiondata is not read for RichLabel
2012-08-17 17:02:02 +01:00
Simon Robertshaw
b835861519
Some more safety for RichText parser
2012-08-17 16:38:06 +01:00
Simon Robertshaw
614a90cfc6
RichText label (used for MOTD), fixes #123
2012-08-17 16:08:03 +01:00
Simon Robertshaw
6500923aa5
Sample tool, fixes #122
2012-08-17 13:40:10 +01:00
Simon Robertshaw
be42cec498
Fix sign tool message box placeholder text
2012-08-17 12:24:46 +01:00
Simon Robertshaw
edad8f46af
Undo/Snapshots, fixes #118
2012-08-16 22:03:40 +01:00
Simon Robertshaw
f19c7f62c7
Air invert and grid mode switching
2012-08-16 12:15:29 +01:00
Simon Robertshaw
08f9721619
Missing part of fix for save comments page number
2012-08-15 18:42:19 +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
c8080cb025
Photon wavlength info for HUD, fixes #111
2012-08-14 19:18:59 +01:00
Simon Robertshaw
03f455bc1a
Fix typo, HUD variable should be Tmp, not Temp, #111
2012-08-14 19:00:13 +01:00
Simon Robertshaw
079b51a26c
Stricter formatting for Property tool, attempts to address #109
2012-08-14 18:52:14 +01:00
Simon Robertshaw
fcc17ee652
Easier okaying/cancelling for Property tool Window
2012-08-14 18:38:46 +01:00
Simon Robertshaw
34e2ec2459
Tooltips for menu buttons, fixes #113
2012-08-14 18:23:56 +01:00
Simon Robertshaw
fc1274f381
Fix crash caused by malformed preference files, fixes #110
2012-08-14 18:14:06 +01:00
Simon Robertshaw
a7711668b7
Strings.h for strcasecmp in Simulation
2012-08-14 18:06:18 +01:00
Simon Robertshaw
bd7dd20742
Better text selection colour invert, fixes #107
2012-08-14 18:05:07 +01:00
Simon Robertshaw
3fcfede08f
Add missing strings.h header for strcasecmd
2012-08-14 17:29:59 +01:00
Simon Robertshaw
a76e4d71a9
Name colour formatting in comments
2012-08-14 17:20:47 +01:00
Simon Robertshaw
03188e5853
Ensure comments page count is loaded correctly, fixes #117
2012-08-14 17:00:12 +01:00
Simon Robertshaw
66fffe649d
Prevent page count for being all over the place in search
2012-08-14 16:41:06 +01:00
Simon Robertshaw
b06f7f5b6d
Air and heat tool limits, fixes #112
2012-08-14 16:29:07 +01:00
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
651546b5bf
Fix bug where thumbnails would not always show in the search
2012-08-13 21:08:55 +01:00
Simon Robertshaw
d8c299c30a
Clear render, display and colour mode in renderer contructor
2012-08-13 18:16:25 +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
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
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
Simon Robertshaw
e34ed89dc3
Some fixes for memory leaks
2012-08-10 23:08:55 +01:00
Simon Robertshaw
a8fbd905c2
Fix issue where buttons will cause heap corruption if they are removed from inside DoAction
2012-08-10 22:59:46 +01:00
Simon Robertshaw
5a8d26554a
Fix crash when using mouse click with unassigned tools
2012-08-10 22:31:58 +01:00
Simon Robertshaw
a6b3674f22
Fix PIPE, fixes #92
2012-08-10 22:30:19 +01:00
Simon Robertshaw
92311a38c0
Change zoom size with [ and ], fixes #90
2012-08-10 22:09:04 +01:00
Simon Robertshaw
c1d7de24f2
Sign moving, fixes #10
2012-08-10 22:01:57 +01:00
Simon Robertshaw
98209da0a5
Save Open signs working
2012-08-10 20:50:36 +01:00
Simon Robertshaw
150114c11f
Alt Z to stick zoom to cursor, disable cursor rendering when zoom is being placed. Fixes #32
2012-08-10 19:11:59 +01:00
Simon Robertshaw
3499cb3035
Wall brush, fixes #63
2012-08-10 18:59:05 +01:00
Simon Robertshaw
cd051924d9
Installation with Ctrl+I, fixes #77
2012-08-10 15:41:39 +01:00
Simon Robertshaw
643128ac5f
Invert button hover state for alternative load and save. addresses some of #80
2012-08-10 14:42:01 +01:00
Simon Robertshaw
c62f65585a
Create local saves dir if it does not exists ( fixes #80 )
2012-08-10 14:34:55 +01:00
Simon Robertshaw
3f20b4256b
Correct position of cancel button in server save dialogue
2012-08-10 14:22:32 +01:00
Simon Robertshaw
c333e9bb99
Correct position of cancel button in local save dialogue as per #80
2012-08-10 14:21:38 +01:00
Simon Robertshaw
a45ca0363e
Tool - Correct box drawing. Finishing touches to tool strength ( Fixes #87 )
2012-08-10 14:12:56 +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
fd40ed234a
Impose limit on cursor radius (Limit is radius 128, somewhat smaller than TPT, but I don't think a larger size is necessary), fixes #88
2012-08-10 13:17:19 +01:00
Simon Robertshaw
0e67fe028b
Use Left modifier keys
2012-08-10 12:43:21 +01:00
Simon Robertshaw
b01b0e422a
HUD verbose sample info with 'd', fixes #71
2012-08-09 21:28:43 +01:00
Simon Robertshaw
9971ea63b7
Slow LIGH creation speed, fixes #86
2012-08-09 21:05:20 +01:00
Simon Robertshaw
ac45502de9
Ensure keyrepeat is disabled at component creation
2012-08-09 20:38:06 +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
d352a10d80
PTsave opening
2012-08-08 21:32:10 +01:00
Simon Robertshaw
435c680f01
Command line "open"
2012-08-08 20:24:23 +01:00
Simon Robertshaw
bd29667355
Do not delete given savefile in GameModel::SetSaveFile, behaviour should be similar to GameModel::SetSave in terms of managing memory in given pointer
2012-08-08 20:21:59 +01:00
Simon Robertshaw
9f1301df5a
Perhaps FileExists shouldn't erase file contents...
2012-08-08 20:05:47 +01:00
Simon Robertshaw
346e9d2168
Proxy from command line arg
2012-08-08 18:34:37 +01:00
Simon Robertshaw
73a18998f6
Scale and fullscreen loaded/saved to config and commandline
2012-08-08 17:42:04 +01:00
Simon Robertshaw
0004ca1845
Make options screen a little nicer
2012-08-08 14:41:16 +01:00
Simon Robertshaw
10e82df543
Fullscreen and scale setting from sim options
2012-08-08 14:35:27 +01:00
Simon Robertshaw
8ec66aede9
Make intro text fade out correctly
2012-08-07 19:25:05 +01:00
Simon Robertshaw
0ef9519bab
Actual intro text
2012-08-07 19:16:43 +01:00
Simon Robertshaw
bc1c967a6b
Intro text, addresses #59
2012-08-07 18:34:39 +01:00
Simon Robertshaw
46b2def193
Save as current name complete, resolves #5
2012-08-07 01:58:46 +01:00
Simon Robertshaw
51657b8575
Prevent save as current name from showing if there is no save loaded
2012-08-06 22:27:09 +01:00
Simon Robertshaw
a8dcc7a070
Started work on save as current name
2012-08-06 22:24:10 +01:00
Simon Robertshaw
622f2246ef
Fix TPTScript 'set' function
2012-08-06 20:54:37 +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
d46a72aa3b
Font glyphs for decorations and element search
2012-08-05 22:02:12 +01:00
Simon Robertshaw
0f4bde9394
Clear search button
2012-08-05 21:07:22 +01:00
Simon Robertshaw
8cadc10f8b
Icon adjustments
2012-08-05 20:39:39 +01:00
Simon Robertshaw
06112a12a0
Ctrl+A select all
2012-08-05 20:20:55 +01:00
Simon Robertshaw
17e7ace364
Key repeat for text boxes
2012-08-05 20:10:33 +01:00
Simon Robertshaw
4ce22e4e77
Wall Edge option, fixes #70
2012-08-05 18:35:12 +01:00
Simon Robertshaw
30f8049efc
Allow 24bits of var for create_part, add tool for tesc. Fixes #72
2012-08-05 16:59:14 +01:00
Simon Robertshaw
9e309135d4
Load element icons in element search, fixes #73
2012-08-05 16:34:31 +01:00
Savely Skresanov
6e324c82e2
Added triangle brush, fixes #47
2012-08-05 16:19:30 +01:00
Simon Robertshaw
3030d67516
Fan wall line tool, fixes #61
2012-08-05 16:14:33 +01:00
Simon Robertshaw
50103aa074
Fix some of the flood fill methods
2012-08-05 16:11:43 +01:00
Simon Robertshaw
ed270d8dbf
Draw gravity zones when using grav wall
2012-08-05 15:26:17 +01:00
Simon Robertshaw
351ce1525f
Update gravity walls, fixes issue #52
2012-08-05 14:03:54 +01:00
Simon Robertshaw
05024cc787
Persistent search window responds to user auth events
2012-08-05 13:08:51 +01:00
Simon Robertshaw
4b85d19217
Nicer colour for "popular tags" header
2012-08-04 21:02:04 +01:00
Simon Robertshaw
5a2da01a5b
Tags, fixes #55
2012-08-04 20:55:59 +01:00
Simon Robertshaw
a418c90cd4
Get rid of useless free space in search view
2012-08-04 16:58:39 +01:00
Simon Robertshaw
f2f4278932
Better exiting from windows (Escape and Enter) and 'q' for exit, fixes #35 and #60
2012-08-04 16:39:24 +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
f32cd872ca
Set initial stickman spit element in create_part, fixes the rest of #50
2012-08-04 14:38:59 +01:00
Simon Robertshaw
18e1890590
Stickman keys working, fixes first half of issue #50
2012-08-04 14:34:43 +01:00
Simon Robertshaw
ae5d099b81
Fire OnMouseEnter events for components that are added under the mouse cursor, fixes issue #37
2012-08-04 14:14:23 +01:00
Savely Skresanov
e06d8e4d15
Rectangle snapping.
2012-08-04 13:52:22 +01:00
Simon Robertshaw
268795eec1
Add date to Preview View, fixes issue #64
2012-08-04 13:40:39 +01:00
Simon Robertshaw
ab8466e990
Search window is persistent, issue #66
2012-08-04 12:09:07 +01:00
ntoskrnl
baf07e470e
Build fixes for FreeBSD
2012-08-04 11:32:48 +01:00
Simon Robertshaw
d6e384e1ec
Implement more of the old TPT console
2012-08-04 01:41:50 +01:00
Simon Robertshaw
2527380224
Implement more of the old console
2012-08-04 01:24:21 +01:00
Simon Robertshaw
6173901875
Old TPT console commands with "!" prefix
2012-08-03 21:48:45 +01:00
Simon Robertshaw
f586a5585f
Add shortcuts for things like gravity, air and air reset, issues #85 and #57
2012-08-03 19:25:28 +01:00
Simon Robertshaw
0e5c3da0f5
Use plop tool to place single units of an element (Used for Stickman, Fighter), fixes issue 53
2012-08-03 18:26:06 +01:00
Simon Robertshaw
9260b2c3e8
Move rect border drawing for previewview to draw over fav+report buttons, fix issue #64
2012-08-03 18:08:41 +01:00
Simon Robertshaw
11d2b0eb3c
Correct VAC and EXOT colours, issue #49
2012-08-03 18:04:18 +01:00
Simon Robertshaw
57f949ecfb
Fix text selection issue in #65
2012-08-03 17:58:13 +01:00
Simon Robertshaw
40e5ce5d37
Fix context menu position #65
2012-08-03 17:44:12 +01:00
Simon Robertshaw
c7dd248ae3
Hide cursor when selecting/pasting stamps, fixes iseeu #56
2012-08-03 17:19:22 +01:00
Simon Robertshaw
2652309a3f
Nicer defaults for Window closing, Implement these with Sign tool, issue #51 . Also set centre as default
2012-08-03 17:09:34 +01:00
Simon Robertshaw
36b2aa0191
QuickOptions!! #46
2012-08-03 15:29:18 +01:00
Simon Robertshaw
80dfc96c7c
PROP tool colour
2012-08-03 12:58:21 +01:00
Simon Robertshaw
347c382e99
Allow PROP to set types from element name, fixes issue #48
2012-08-03 12:52:07 +01:00
Simon Robertshaw
a3ebfb0ffd
Remove silly file
2012-08-03 01:55:00 +01:00
Simon Robertshaw
24006ee44a
Grav colour, addresses rest of #41 , colour will vary from original TPT
2012-08-03 01:40:13 +01:00
Simon Robertshaw
4233bc743c
Use HFLM colour data, addresses some of issue #41
2012-08-03 01:18:39 +01:00
Simon Robertshaw
fbaf149a92
Untick publish box for save prompt my default if the save does not belong to the user, addresses issue #43
2012-08-03 01:11:12 +01:00
Simon Robertshaw
96132ee1c1
Stop returning luaL_error from drawing functions for no reason, addresses
...
issue #29
2012-08-03 00:52:46 +01:00
Simon Robertshaw
b165619266
Update menus on element change from lua, addresses issue #42
2012-08-03 00:47:39 +01:00
ntoskrnl
18bf7ce155
Build fixes for WIN64
2012-08-02 15:21:43 +01:00
ntoskrnl
4343faa10f
Some modifications for WIN64. SConscript not ready for that yet.
2012-08-02 15:21:31 +01:00
ntoskrnl
f94fabd999
Rename WIN32 preprocessor definition to WIN
2012-08-02 15:21:16 +01:00
ntoskrnl
87dfc47c97
Separate operating system and architecture preprocessor definitions
...
Conflicts:
SConscript
2012-08-02 15:20:14 +01:00
Simon Robertshaw
cbefea85d7
Local Saving, Server Saving rewrite
2012-08-01 22:29:22 +01:00
Simon Robertshaw
29ac6380ba
Prevent newlines being inserted into the begining of a multiline label/textbox
2012-08-01 19:13:31 +01:00
Simon Robertshaw
1d258eab6b
ThumbnailBroker for background retrieval and rendering
2012-07-31 19:49:08 +01:00
Simon Robertshaw
303b546ceb
Ensure CTRL, SHIFT and ALT states are reset when Window falls into background
2012-07-30 11:51:42 +01:00
Simon Robertshaw
6d5388b221
Faster brush adjusting with [ and ], use alt to change to 1 pixel
2012-07-30 11:25:32 +01:00
Simon Robertshaw
9c67d41ad6
Neaten a little bit of code
2012-07-29 20:34:20 +01:00
Simon Robertshaw
011a65f793
Improvements to textbox, prevent selection loss on non modifying keypresses
2012-07-29 20:27:18 +01:00
Simon Robertshaw
d138b2de54
Number type for text fields, addresses some of issue #39
2012-07-29 20:17:51 +01:00
Simon Robertshaw
418373a3cd
HUD toggle, addresses "h should toggle the HUD" in issue #23
2012-07-29 15:08:38 +01:00
Simon Robertshaw
f8a6d2ea1f
Textboxes for decoration, addresses "No text boxes in deco editor to directly edit the values" in issue #23
2012-07-29 14:58:56 +01:00
Simon Robertshaw
716ac44c29
Fix crash on Component::IsFocused if the component has been detached from the Window
2012-07-29 13:17:09 +01:00
Simon Robertshaw
90ad1fd856
Restart N. Grav when needed (somewhat effects issue #31 ) and fix shitty logic when setting paused state on loading save (Fixes issue #34 )
2012-07-29 12:29:19 +01:00
Simon Robertshaw
824bde4ceb
clear_sim now clears air and gravity maps better, fixes issue #31
2012-07-29 12:18:07 +01:00
Simon Robertshaw
1f914561b2
Better syncing for elementCount, fixes issue #21
2012-07-29 02:07:04 +01:00
Simon Robertshaw
0b3724215e
Remove blockair update in Air.cpp function to fix TTAN - solves issue #30
2012-07-29 01:40:42 +01:00
Simon Robertshaw
6cc4648929
Filebrowser search, cleaner filenames
2012-07-29 01:33:28 +01:00
Simon Robertshaw
df3b1e2a62
Implement search for DirectoryList
2012-07-28 22:14:38 +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
dddc04e412
Move cursor to the end of the insertion after pasing in a Textbox
2012-07-28 14:24:15 +01:00
Simon Robertshaw
fc93b71485
Resize brush X and Y axis seperately using Shift and Control, Addresses issue #27
2012-07-28 14:13:28 +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
4b1c388995
Update ambient heat when enabled, fixes issue #28
2012-07-28 12:30:41 +01:00
Simon Robertshaw
aa774771a0
Collapse gamesave to save space in memory
2012-07-28 02:23:21 +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
f8ca8af387
Scroll Panel
2012-07-26 21:51:30 +01:00
Simon Robertshaw
121e7c772c
Rename .inc files to inl
2012-07-26 15:06:06 +01:00
Simon Robertshaw
d8903206a1
Update version number
2012-07-25 20:06:50 +01:00
Simon Robertshaw
8c7755d5d2
TPT: Now stickmen can shoot plasma. dc01f09f0e
2012-07-25 20:04:47 +01:00
Simon Robertshaw
79727c9193
Fix for previous commits
2012-07-25 19:47:27 +01:00
Simon Robertshaw
a033fe7e49
TPT: Add ptypes.enabled checks to a few more places 61f39f5464
2012-07-25 19:42:53 +01:00
Simon Robertshaw
a5d6c56f8c
TPT: Salt should only melt ice that is above saltwater freezing temperature 3e1d3cd5a6
2012-07-25 19:33:40 +01:00
Simon Robertshaw
f8766201a6
TPT: Optimization for GoL, Added brush size and mouse wheel to lua! e7035233fd
2012-07-25 19:32:36 +01:00
Simon Robertshaw
76070f99e0
TPT: This should fix PLNT lag just a little bit... (mostly after shooting though NEUT) 5f3c10a684
2012-07-25 18:46:15 +01:00
Simon Robertshaw
fad2311c36
TPT: C5 should not explode when touching cold INSL a925eea52c
2012-07-25 18:44:30 +01:00
Simon Robertshaw
67d449df3d
Fix typo in EMBR gravity
2012-07-25 18:43:19 +01:00
Simon Robertshaw
b9e16d4bc6
TPT: Prevent STKM falling through activated PVOD with a ctype that isn't STKM 637ee194e0
2012-07-25 18:32:10 +01:00
Simon Robertshaw
1e5eba3583
TPT: Make VOID and BHOL eat stickmen again 1f4f50682c
2012-07-25 18:27:08 +01:00
Simon Robertshaw
41cbd69ac8
TPT: Use atan2 for LIGH angle calculations 966f1dcc23
2012-07-25 18:25:37 +01:00
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
Simon Robertshaw
5ec6223065
TPT: Check fire colour values are with the correct range
2012-06-12 20:18:45 +01:00
Simon Robertshaw
db86294e6a
TPT: Prevent allocation of particles with type==0, bleep bloop
2012-06-12 20:16:33 +01:00
Simon Robertshaw
9033786e49
TPT: Fix PROP_NEUTPENETRATE, particles weren't being moved into empty space
2012-06-12 20:15:33 +01:00
Simon Robertshaw
c0008efb74
Fix SOAP.cpp from previous commit
2012-06-12 20:14:02 +01:00
Simon Robertshaw
f8badc05d4
TPT: Fixed the bug with snow, where it melted without taking it's ctype into account.
2012-06-12 20:13:04 +01:00
Simon Robertshaw
9b8fba4a19
TPT: Fix SLTW boiling temperature typo
2012-06-12 20:07:51 +01:00
Simon Robertshaw
a3a8ef7f7a
TPT: Soap bubbles are easily formed now.
2012-06-12 20:05:59 +01:00
Simon Robertshaw
2e1780ce4e
TPT: VOID & PVOD can be set to only eat/not eat certain things
2012-06-12 19:59:19 +01:00
Simon Robertshaw
a95ceb4c92
TPT: energy type particles automatically go into photons, not pmap
2012-06-12 19:55:00 +01:00
Simon Robertshaw
3b020b3151
TPT: fix crash, spark reset set type without checking if it was a valid number
2012-06-12 19:45:19 +01:00
Simon Robertshaw
b8f2a2dcd5
TPT: fix lua console freeze/bugs
2012-06-12 19:40:07 +01:00
Simon Robertshaw
d68110c351
TPT: small o2 fusion change
2012-06-12 19:32:44 +01:00
Simon Robertshaw
dd041d1699
TPT: GPMP activated at draw
2012-06-12 19:29:10 +01:00
Simon Robertshaw
780682c22d
TPT: oxygen fusion, fix two small bugs
2012-06-12 19:26:47 +01:00
Simon Robertshaw
a93caaa3c7
TPT: fusion changes
2012-06-12 19:11:57 +01:00
Simon Robertshaw
7f921924f5
Use a heap allocation when hiding password text
2012-06-12 19:10:43 +01:00
Simon Robertshaw
5144451b30
TPT: Check for version before enabling movable flag for sponge. 393d247312
2012-06-12 18:55:44 +01:00
Simon Robertshaw
0e8d055d8b
TPT: Fix the bug with stickman standing on the screen edge. d0a1b14409
2012-06-12 18:54:03 +01:00
Simon Robertshaw
583bf2a091
TPT: Fix the bug where gel didn't transfer water from sponge. 0cf636ad24
2012-06-12 18:51:38 +01:00
Simon Robertshaw
1ccdc1dc12
TPT: Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) c5b9b8d28a
2012-06-12 18:50:43 +01:00
Simon Robertshaw
af5c399c24
TPT: Update gravity mask when loading saves 0fb6b85706
2012-06-12 18:48:00 +01:00
Simon Robertshaw
efa0e5d0d6
TPT Fix infinite loop when trying to detach soap with extra ctype bits set eb0b2f9ca3
2012-06-12 18:46:24 +01:00
Simon Robertshaw
48459fc40d
TPT: Change order of bomb loops - delete particles before creating sparks 089ea8b7a0
2012-06-12 18:45:03 +01:00
Simon Robertshaw
391165409d
TPT: New flood_parts function, should fix crashing due to too much recursion a11202313d
2012-06-12 18:41:36 +01:00
Simon Robertshaw
10f51cb586
TPT: Make TTAN block pressure when framestepping 58ea2b2acf
2012-06-12 18:22:25 +01:00
Simon Robertshaw
95a9b96dc9
TPT: Don't hide stickman when energy particles pass through his head 9f0c4857e
2012-06-12 18:21:21 +01:00
Simon Robertshaw
e0ab8c5810
Correct TTAN high temperature transition
2012-06-12 18:18:26 +01:00
Simon Robertshaw
5f68a41742
TPT: Allow TTAN to conduct more than once 81f84c4678
2012-06-12 18:17:51 +01:00
Simon Robertshaw
7c5e74410b
TPT: New element: Titanium, absorbs some neutrons, acts as a solid wall to air d7fa0b139e
2012-06-12 18:16:40 +01:00
Simon Robertshaw
6ae650d04c
TPT: Fix TNT not exploding if multiple TNT particles are in the same place de6203e049
2012-06-12 18:00:03 +01:00
Simon Robertshaw
e3634e3b5f
TPT: Remove silly copypasta from GPMP, causing gravity to depend on air pressure befd4f5ef5
2012-06-12 17:59:09 +01:00
Simon Robertshaw
a1a0fb5c02
TPT: Fix for PUMP 835d6bbfb9
2012-06-12 17:35:21 +01:00
Simon Robertshaw
cc8ae0dc44
TPT: Limit gel tmp value 1c5381662d
2012-06-12 17:32:43 +01:00
Simon Robertshaw
6af88ee7da
TPT: Change pipe and portal to check element type using properties instead of falldown and state 11bd67eb61
2012-06-12 17:31:32 +01:00
Simon Robertshaw
20e85066dc
TPT: Fix crash when pasting text on platforms which don't support it d0b57d7d99
2012-06-12 17:27:21 +01:00
Simon Robertshaw
50a587813e
TPT: Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient heat 8397b6e51a
2012-06-12 17:25:06 +01:00
Simon Robertshaw
318499350d
TPT: strncpy for loading sign text in OPS 433c1881bc
2012-06-12 17:13:30 +01:00
Simon Robertshaw
80bb49ca12
TPT: One gel particle can't absorb more than 100 water particles now. 74979102b3
2012-06-12 17:08:15 +01:00
Simon Robertshaw
f2e1d38b58
TPT: Save soap bubbles 6717f4ff32
2012-06-12 17:06:38 +01:00
Simon Robertshaw
2633af01d7
TPT: Fix bounds checking for SING and make explosion pressure area smaller d7f798da60
2012-06-12 16:34:39 +01:00
Simon Robertshaw
a270acfc54
OPS loading: don't replace existing particles twice, and clear soap c
2012-06-12 16:30:27 +01:00
Simon Robertshaw
ad677189cb
TPT: Use an array instead of ctype to cache tron colour 6101c04ff9
2012-06-12 16:20:35 +01:00
Simon Robertshaw
74d7fb59c3
TPT: Save tmp2 for tron c8a1524d6b
2012-06-12 16:11:34 +01:00
Simon Robertshaw
ca42a081ec
TPT: Add tmp2 support to old console 418bdf0892
2012-06-12 16:07:02 +01:00
Simon Robertshaw
117b1fb5c4
TPT: Fix includes for OSX and BSD a75da2c4c3
2012-06-12 16:05:02 +01:00
Simon Robertshaw
573035ac10
TPT: It's hard to be a fool (fix for the fix) ffee9df8e6
2012-06-12 16:03:26 +01:00
Simon Robertshaw
14cb5cf765
TPT: Gel won't move solids any more 68ab2e3148
2012-06-12 16:02:09 +01:00
Simon Robertshaw
96ec616442
TPT: BSD Platform, -DBSD 9e18556ae6
2012-06-12 16:00:18 +01:00
Simon Robertshaw
311190c148
Use stdint for 32bit Linux in BSON.h
2012-06-12 15:42:09 +01:00
Simon Robertshaw
6f814528fc
Correct save reloading, add Vac and NGrav tools
2012-06-12 15:37:46 +01:00
Simon Robertshaw
f6f83cc276
Correct overlapping rectangles with translucent stamp selection
2012-06-11 13:48:34 +01:00
Simon Robertshaw
3205df3a21
Saving and loading other flags from GameSave, remove old saveloader
2012-06-11 13:39:39 +01:00
Simon Robertshaw
5eb9370fc1
Uncomment bounds checking for stamp loading
2012-06-10 19:53:46 +01:00
Simon Robertshaw
fd572e9da6
Change stamp storage to a list, insert new stamps at the begining, 'l' loads the first stamp or the previously used stamp, 'k' shows the stamp browser
2012-06-10 19:52:24 +01:00
Simon Robertshaw
cdc4b4df86
Fix save rotation
2012-06-09 20:16:47 +01:00
Simon Robertshaw
26dbb9d309
Missing 'delete' on old blockMap data in save Tranformation
2012-06-09 19:43:35 +01:00
Simon Robertshaw
050ad82155
Unify stamp and clipboard placement code, GameSave translation and transoformation working (not particularly well)
2012-06-09 19:42:07 +01:00
Simon Robertshaw
c408e035fa
Preview: Wait for save to load before opening, Simulation: Correct block coords when reading wall data, replace existing particles when placing stamps on top, Game: Clear the simulation when loading a save
2012-06-09 14:54:58 +01:00
Simon Robertshaw
46614017c8
Close the preview dialogue when the model throws an exception
2012-06-08 22:55:11 +01:00
Simon Robertshaw
0ee1e1875d
Load save data when showing the save preview
2012-06-08 22:04:14 +01:00
Simon Robertshaw
1dadb11fc2
Remove unneeded files
2012-06-07 16:16:54 +01:00
Simon Robertshaw
61ed6e0276
Rename Save class to SaveInfo, introduce SaveFile for hanlding of local data (stamps and local saves). Rename Stamps browser to LocalBrowser, ready for sharing code with the local save browser
2012-06-07 14:23:26 +01:00
Simon Robertshaw
2e48fc6115
'No Image' icon when save rendering fails
2012-06-06 01:54:27 +01:00
Simon Robertshaw
8fae7dbade
Saving and loading at position, yuse exceptions for parsing saves
2012-06-06 01:46:13 +01:00
Simon Robertshaw
7063587706
Fix bmap reading error caused by signed/unsigned comparison
2012-06-05 22:55:39 +01:00
Simon Robertshaw
49dafbfd26
Use a different method for decoding saves with uncompressed object in memory for stamps and clipboard, also allows for transformation (rotation), missing failure states and code for loading it into a Simulation
2012-06-05 20:08:35 +01:00
Simon Robertshaw
bc35d622ad
OpenGL JNI Canvas compiled only when needed
2012-06-04 12:21:07 +01:00
Simon Robertshaw
a247951115
Add missing header includer for C libraries.
2012-06-02 16:51:01 +01:00
Simon Robertshaw
e0c9dab8cb
Move more SDL dependancies out of program, OpenGLCanvas for JNI and JNI methods.
2012-05-31 10:24:44 +01:00
Simon Robertshaw
ab82847cd6
Fix minor syntax error, move all OpenGL includes into a new file that can detect the OS X version.
2012-05-30 13:17:40 +01:00
Simon Robertshaw
86746f38b0
Separate SDL from graphics code
...
Also remove OS X specific project files and update Makefile to ensure
the Element class generator only runs when necessary
2012-05-30 12:32:58 +01:00
Simon Robertshaw
f8fcd73b20
Moar button appearance
2012-05-23 20:25:35 +01:00
Simon Robertshaw
f41ab864ef
Fix slight issues when clicking on menu section buttons and missing isMouseInside in MouseEnter action for buttons
2012-05-23 19:49:44 +01:00
Simon Robertshaw
f1953603c0
Use mouse hover callback for menu buttons
2012-05-23 19:31:53 +01:00
Simon Robertshaw
c112715ea7
Better element positioning in ErrorMessage
2012-05-23 19:31:40 +01:00
Simon Robertshaw
26eeb40541
Extra callback for just mouse hover
2012-05-23 19:31:01 +01:00
Simon Robertshaw
2b2531a62a
Correct position of title in LoginView
2012-05-23 19:30:33 +01:00
Simon Robertshaw
adf7a3c720
Better icon alignment, improve appearance of preview
2012-05-22 20:30:23 +01:00
Simon Robertshaw
f86f2a9997
Restore missing IconFavourite drawing code
...
Was accidently remove in commit ba5efb101e
2012-05-22 17:48:36 +01:00
Simon Robertshaw
cc0efb13f0
OPS save format from TPT
2012-05-22 16:01:39 +01:00
Simon Robertshaw
7e49d63d28
BSON Library from TPT/MongoDB
2012-05-22 16:01:23 +01:00
Simon Robertshaw
2c5400a732
Warp display with newer shader, Render options works in OpenGL
2012-05-17 22:34:16 +01:00
Simon Robertshaw
8efd07a849
Air tool
2012-05-17 22:10:17 +01:00
Simon Robertshaw
bbf7851596
Seperate new/old CreateParts functions
2012-05-15 20:01:20 +01:00
Simon Robertshaw
ba5efb101e
Username, password icons for Login window
2012-05-15 18:55:36 +01:00
Simon Robertshaw
136675b56a
Move style into Component
2012-05-15 18:13:17 +01:00
Simon Robertshaw
45563e97e8
Make flood_prop use PropertyType from StructProperty, Property tool works
2012-05-15 00:10:10 +01:00
Simon Robertshaw
0b4ad4f25c
Add ability to introspect the Particle struct
2012-05-14 23:04:08 +01:00
Simon Robertshaw
be849a9150
Style improvements to sign tool
2012-05-14 20:51:16 +01:00
Simon Robertshaw
f39d2361e7
Improve appearance of some dialogues, style defaults
2012-05-14 20:47:14 +01:00
Simon Robertshaw
4bb90d0d79
Text alignment for dropdown, make sign UI nice
2012-05-13 21:11:02 +01:00
Simon Robertshaw
41e1d28c56
Correct air include path for OptionsModel, correct Window debugmode logic, justifications for sign
2012-05-13 20:54:29 +01:00
Simon Robertshaw
7758fe52cb
DropDown UI component
2012-05-13 20:00:22 +01:00
Simon Robertshaw
4032a0469b
Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic
2012-05-13 17:43:41 +01:00
Simon Robertshaw
724c99102e
Stupid git
2012-05-12 22:28:45 +01:00
Simon Robertshaw
7128188048
Primitive sign adding
2012-05-12 22:25:45 +01:00
Simon Robertshaw
c5798c7456
Tools implemented in a similar way to elements
2012-05-12 18:11:20 +01:00
Simon Robertshaw
16d3895e9c
Redo Wall IDs
2012-05-12 13:21:04 +01:00
Simon Robertshaw
1c993435ef
Default elements in gamemodel
2012-05-07 18:08:41 +01:00
Simon Robertshaw
51b17badf4
A bit of refactoring (elements)
2012-05-07 17:59:50 +01:00
Simon Robertshaw
bb8a3f76e3
OS X compiling working, Make it a bit more friendly with stricter compilers
2012-04-26 13:10:47 +01:00
Simon Robertshaw
22d7865e6d
Inline restrict_flt
2012-04-22 22:37:00 +01:00
Simon Robertshaw
892584c5fe
Fix Off-by-one error with zoom Window using OpenGL
2012-04-22 20:26:40 +01:00
Simon Robertshaw
e38fd405af
Correct quirks with drawrect and fillrect, change UI components accordingly, shorten save name in save button
2012-04-22 17:13:43 +01:00
Simon Robertshaw
96506610b2
Clean out graphics, add openGL graphics in seperate file, change brush to use unsigned char rather than boolean for bitmap/outline
2012-04-21 22:46:37 +01:00
Simon Robertshaw
75a9460c83
OpenGL rendering
2012-04-20 19:21:10 +01:00
Simon Robertshaw
0bab640fe4
Fix warning in Client.cppcpppcppc
2012-04-20 01:45:43 +01:00
Simon Robertshaw
7538881591
Fix more element source file includes
2012-04-20 00:46:08 +01:00
Simon Robertshaw
891ce89ed0
Correct path name for Elements.h include in gel.cpp
2012-04-20 00:40:55 +01:00
Simon Robertshaw
456fca22c6
TPT: Change STOR, PIPE, DUST to make correct use of .flags field.
2012-04-19 17:01:17 +01:00
Simon Robertshaw
ceb25440cb
TPT: Fix sponge bug. f93a829671
2012-04-19 16:52:35 +01:00
Simon Robertshaw
c4bace95bf
Allow deleting of stamps
2012-04-19 15:22:18 +01:00
Simon Robertshaw
e9fc64eed6
No interaction with non-visible components"
2012-04-19 14:38:15 +01:00
Simon Robertshaw
c13b05d272
Version number update
2012-04-18 21:39:33 +01:00
Simon Robertshaw
699a8f699c
Missing tron graphics function
2012-04-18 21:39:07 +01:00
Simon Robertshaw
0cc8f84e63
TPT: Fix the bug where you could set bad temp to insulators. 64629df1af
2012-04-18 21:35:14 +01:00
Simon Robertshaw
f8b1e1a232
TPT: Better description for tron d4a9f86503
2012-04-18 21:33:50 +01:00
Simon Robertshaw
652cd591ff
Fix previous include
2012-04-18 21:33:07 +01:00
Simon Robertshaw
44d70ec6b8
TPT: Alterations to TRON and fancy effects ffa5ccb666
2012-04-18 21:31:22 +01:00
Simon Robertshaw
e4d1c7141f
TPT: TRON element, needs to glow and fancy explosion on crash eccf5658d2
2012-04-18 21:27:28 +01:00
Simon Robertshaw
472cb8916e
TPT: A small fix for convection. ff8ce0ef3a
2012-04-18 21:21:32 +01:00
Simon Robertshaw
1fdaabca6d
TPT: Viscosity change for gel. Water diffusion among sponge and gel (but with flying cake effect) c9bcc11d35
2012-04-18 21:20:31 +01:00
Simon Robertshaw
b40f13b66a
TPT: Added gel - a liquid with variable heat conductivity and viscosity. 8523da398f
2012-04-18 21:18:37 +01:00
Simon Robertshaw
ff7428fc70
TPT: Fix crash when flood fill deleting life 7a844f51ff
2012-04-18 21:07:26 +01:00
Simon Robertshaw
ea37facf83
TPT: No unmeltable ice anymore. e4448dc1d6
2012-04-18 21:05:14 +01:00
Simon Robertshaw
bfb37563ca
TPT: Use graphics function for BCOL a1bd20db91
2012-04-18 21:04:37 +01:00
Simon Robertshaw
2ce377ef43
TPT: Stop walls next to pipe triggering automatic pattern generation 76f49dd024
2012-04-18 21:03:56 +01:00
Simon Robertshaw
d85049fb93
TPT: A fix for ice with ctype = 0. e52f730969
2012-04-18 21:01:54 +01:00
Simon Robertshaw
1681429d7f
TPT: Glowing BRAY 2976936cfd
2012-04-18 21:00:43 +01:00
Simon Robertshaw
94e7123791
TPT: Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN 57d8335ca5
2012-04-18 20:46:34 +01:00
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