Commit Graph

881 Commits

Author SHA1 Message Date
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