mniip
|
29496cb6d3
|
fix tpt.log so that when called multiple times, it doesn't overwrite the text
|
2013-05-02 23:49:53 +04:00 |
|
mniip
|
e7b29ab9b5
|
statically linked, or better to say, builtin luasocket
|
2013-05-02 22:41:01 +04:00 |
|
mmbob
|
9d4cbd3112
|
Merge remote-tracking branch 'upstream/master'
|
2013-04-29 21:50:12 -04:00 |
|
jacksonmj
|
b83043e2a6
|
Remove obsolete code from TPTScriptInterface
|
2013-04-27 15:55:30 +01:00 |
|
mniip
|
bfe00dc1f3
|
Ooooooohh
|
2013-04-27 02:57:41 +04:00 |
|
mniip
|
77e837c775
|
Fixed graphics function crash when unable to catch errors
|
2013-04-27 02:20:06 +04:00 |
|
mniip
|
a1cdef4c90
|
a major rewrite of event registration, it's fully compatible, yet has new advantages
|
2013-04-27 01:25:18 +04:00 |
|
mniip
|
9f7d45f8fd
|
print does implicit tostring, also generates a list ouside of console too
|
2013-04-26 17:15:33 +04:00 |
|
mmbob
|
e166640cbb
|
Fix reading hexadecimal in TPTScriptInterface
Instead of subtracting 'A', subtract 'a'
|
2013-04-22 13:05:10 -04:00 |
|
jacksonmj
|
ada7c7bb11
|
Prevent "!set type none blah"
|
2013-04-18 21:07:21 +01:00 |
|
jacob1
|
602cbf0701
|
fix setting negative numbers in the old console (using atoi)
|
2013-04-09 23:13:13 -04:00 |
|
Simon Robertshaw
|
8d312ecdfa
|
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
|
2013-04-07 12:46:09 +01:00 |
|
Simon Robertshaw
|
0791f5b0f8
|
TPTScriptInterface: Ability to read hexadecimal constants
|
2013-03-26 09:24:15 +00:00 |
|
Simon Robertshaw
|
9b5b85f9b0
|
Merge branch 'reorganisation' of github.com:FacialTurd/The-Powder-Toy
|
2013-03-24 12:24:17 +00:00 |
|
jacob1
|
c50e12df28
|
CFLM defusses VIBR, a few speed improvements to VIBR
|
2013-03-23 10:53:49 -04:00 |
|
Simon Robertshaw
|
9abe51526c
|
Move all GUI source files into gui/
|
2013-03-22 14:14:17 +00:00 |
|
jacob1
|
3a738846a3
|
add identifier constants based on the display name to the lua api
|
2013-03-16 13:23:19 -04:00 |
|
jacob1
|
2267f34386
|
add a button to show the save uploading rules inside the save upload dialog
|
2013-03-15 20:32:39 -04:00 |
|
jacob1
|
037618e6f8
|
remove auto generated comments from all files, fix some missing tabs, remove unused variables from config.h
|
2013-03-06 12:05:59 -05:00 |
|
Simon Robertshaw
|
27a60e7b71
|
Particle position lookup with sim.partID
|
2013-02-17 15:53:34 +00:00 |
|
Simon Robertshaw
|
52d0bb918d
|
sim.partProperty API method, sim.partPosition API method
|
2013-02-17 15:24:56 +00:00 |
|
Simon Robertshaw
|
a091f55fec
|
Allow implicit conversions when setting text property on some Lua API UI elements
|
2013-02-16 14:52:29 +00:00 |
|
Simon Robertshaw
|
8d04b260a7
|
Add missing removeComponent for Lua API
|
2013-02-16 14:49:05 +00:00 |
|
jacob1
|
01cd146ee9
|
fix mac compiling, fix renderer, fix other minor compiling issues
|
2013-02-14 23:31:31 -05:00 |
|
jacob1
|
5807602cc1
|
fix modifiers from lua, fix right ctrl
|
2013-02-11 11:45:49 -05:00 |
|
jacob1
|
c5eecff131
|
fix "i" argument to graphics functions.
Also, they don't overwrite the default one, you can pass in nil to tpt.element/graphics_func for the function to restore the original.
|
2013-01-23 16:48:21 -05:00 |
|
jacob1
|
392271a269
|
fix tpt.set_property setting integers above 255, fix fs.isDir/File, add "Color" as valid property for elements api, fix tpt.display_mode to match tpt, other minor changes
|
2013-01-21 20:19:34 -05:00 |
|
Simon Robertshaw
|
e7b174a78d
|
Revert "move version info to version.h, no longer needs full recompile on version change"
This reverts commit b3a2ab735b .
|
2013-01-19 22:00:56 +00:00 |
|
jacob1
|
17cd0e74f2
|
add gravmap setting. Getting doesn't work right now, and maybe i should check if gravx/y can be modified too
|
2013-01-16 23:48:09 -05:00 |
|
jacob1
|
f9f79e4f53
|
combine pressure functions, add sim.ambientHeat, sim.velocityX, sim.velocityY
|
2013-01-16 22:53:46 -05:00 |
|
jacob1
|
fc9f263961
|
sim.get/setPressure, a few constants to the simulation api
|
2013-01-16 22:34:32 -05:00 |
|
jacob1
|
639d4fc43c
|
implement tpt.set_shortcuts
|
2013-01-16 14:05:31 -05:00 |
|
jacob1
|
e9b86365c8
|
log error messages for update functions
|
2013-01-16 11:42:06 -05:00 |
|
jacob1
|
b3a2ab735b
|
move version info to version.h, no longer needs full recompile on version change
|
2013-01-15 11:28:28 -05:00 |
|
jacob1
|
9d67dd61e8
|
re-add tpt.display_mode, check element id's in tpt.set_property, tpt.get_script error with no args
|
2013-01-08 23:28:41 -05:00 |
|
jacob1
|
162a8ecba5
|
readd tpt.hud and tpt.set_console commands
|
2013-01-08 22:00:45 -05:00 |
|
jacob1
|
9e218f1847
|
change right click button id to 4 for lua events, to match old tpt
|
2013-01-08 00:11:47 -05:00 |
|
jacob1
|
ca143945be
|
change tpt.fillrect dimentions to old tpt ones, move brush list generating out of BuildMenus
|
2013-01-07 21:50:43 -05:00 |
|
jacob1
|
158b054023
|
fix tpt.selectedl/r/a, but it returns the string identifier now instead of an id
|
2013-01-07 21:05:58 -05:00 |
|
jacob1
|
8e09651990
|
fix element function replacement option
|
2013-01-06 12:25:13 -05:00 |
|
Simon Robertshaw
|
0be465aa4e
|
Use ifndef WIN instead of ifdef _unix
|
2012-11-18 15:48:43 +00: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
|
bf3d7e9ad7
|
fix tpt.el.X.name commands
|
2012-11-15 20:13:19 -05:00 |
|
Simon Robertshaw
|
e3a016d9c9
|
SC_SENSOR in Elements API
|
2012-11-03 18:06:19 +00:00 |
|
Simon Robertshaw
|
c3ba809806
|
Fix error from merging
|
2012-10-26 15:32:10 +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
|
3ad7cf4539
|
!quit function
|
2012-10-26 15:15:52 +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 |
|
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 |
|
Simon Robertshaw
|
0fbe12772d
|
Only run autorun if it exists
|
2012-10-05 16:04:55 +01:00 |
|
jacob1
|
63c364652d
|
prevent setting invalid types, fix setting type to "NONE", "C4", & "C5"
|
2012-10-05 15:49:41 +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
|
d78082d368
|
Negative values in old console commands
|
2012-10-01 12:14:47 +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
|
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 |
|
jacob1
|
187a5189d5
|
some improvements to the render options interface and checkboxes (icons and tooltips coming next)
|
2012-09-25 20:09:24 +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
|
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 |
|
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
|
ba822dcbd2
|
Remove debug crap
|
2012-09-07 12:30:45 +01:00 |
|
jacob1
|
5a91b83875
|
revert changing the lua/sdl includes and min/max changes
|
2012-09-07 00:53:29 +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
|
9432eb63a2
|
Some simulation API
|
2012-09-05 22:43:37 +01:00 |
|
Simon Robertshaw
|
d256439c40
|
Some simulation API
|
2012-09-04 15:20:34 +01:00 |
|
Simon Robertshaw
|
4e09a077a4
|
Textbox component for Lua interface API
|
2012-09-02 23:55:08 +01:00 |
|
Simon Robertshaw
|
6d991c10d7
|
Logging for UI component events, tr
|
2012-09-01 20:13:51 +01:00 |
|
Simon Robertshaw
|
ba55da77a9
|
!load command for old console
|
2012-09-01 18:13:13 +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
|
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
|
07a66dc3dc
|
tpt.element also converts numbers to names
|
2012-08-28 16:12:30 +01:00 |
|
Simon Robertshaw
|
7b8647cf15
|
Add missing files from e54eeae
|
2012-08-21 12:27:13 +01:00 |
|
Simon Robertshaw
|
72e441132f
|
TPT: Prevent accidental infinite loops in lua, fixes #115
|
2012-08-20 18:37:42 +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
|
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
|
186e62dec4
|
Pad frame numbers with zeros for screenshots and recording
|
2012-08-19 16:55:46 +01:00 |
|
Simon Robertshaw
|
7d8c6c7f86
|
TPTScript: Allow numbers with decimal point
|
2012-08-19 12:50:04 +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
|
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
|
3fcfede08f
|
Add missing strings.h header for strcasecmd
|
2012-08-14 17:29:59 +01:00 |
|
Simon Robertshaw
|
e420ee51b1
|
Lua autorun, fixes #99
|
2012-08-14 13:14:49 +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
|
622f2246ef
|
Fix TPTScript 'set' function
|
2012-08-06 20:54:37 +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
|
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
|
f94fabd999
|
Rename WIN32 preprocessor definition to WIN
|
2012-08-02 15:21:16 +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 |
|