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 |
|