Simon Robertshaw
859022ccb1
Fix memory leaks and thumb caching for datestamped saves
2011-11-12 13:55:18 +00:00
Simon Robertshaw
9b4e3b9436
Merge pull request #51 from atlaua/master
...
todo resolved
2011-11-12 04:50:25 -08:00
jacksonmj
5b9faa39c0
Fix a few things in stamps browser
...
Incorrect number of stamps per page, pause button visible, and one page
too many when stamp_count is an integer multiple of per_page.
Using GRID_X/Y since those are the values used in the rest of stamp_ui
2011-11-12 20:46:47 +08:00
atlaua
ae26ecaf8d
Prevented a malloc-related problem in interface.c from occuring.
2011-11-03 19:25:49 +01:00
Simon Robertshaw
e2c9882692
Merge latest FIGH additions
2011-10-26 17:10:21 +01:00
savask
03902ec9a4
Made a special structure for stick mans.
2011-10-26 15:36:00 +01:00
Simon Robertshaw
4742c1bcd9
Fix compilation with OpenGl disabled
2011-10-26 15:03:14 +01:00
Simon Robertshaw
b9ec7d8654
Fix another blending issue and search_ui display clearing
2011-10-25 16:00:52 +01:00
Simon Robertshaw
07a1f21df4
Merge latest with graphicstest
2011-10-25 11:31:21 +01:00
Simon Robertshaw
84522d2594
Fix Options meny in scale:2 and make tooltip more readable
2011-10-22 19:39:24 +01:00
Simon Robertshaw
9cf65de1c3
Quick options menu
2011-10-21 19:41:12 +01:00
jacksonmj
3f4d55fbcc
Remove unused pixel buffer
2011-10-15 01:05:01 +08:00
Simon Robertshaw
bbe5aabf4f
Allow use of OpenGL enabled surface for future use
2011-10-13 22:25:06 +01:00
Simon Robertshaw
9c9f6b2287
Send user authentication for update downloads
2011-10-10 17:28:15 +01:00
Simon Robertshaw
18990e9746
Logout is saved to prefs
2011-09-30 18:00:32 +01:00
Simon Robertshaw
f5a9f43b77
Added extra functions to FILT (determined by tmp, modes are convert, filter and add, convert is default). Added property edit tool, changes the properties of materials
2011-09-30 13:57:32 +01:00
Simon Robertshaw
3ed24d084e
Freeing "filename" here would cause problems as everything is taken care of later on.
2011-09-29 19:09:31 +02:00
atlaua
946a492745
Bugfix: Fixed a segmentation fault in confirm_ui()
...
confirm_ui() free()ed its msg. This resulted in attemps to free const
strings or and to invalid memoory accesses (because some other functions
wanted to reuse the parameter which they gave to confirm_ui() after
calling this function).
Resolved by removing the call to free() from confirm_ui() and adding it
after the calls to confirm_ui(9, if necessary.
2011-09-29 18:54:32 +02:00
jacksonmj
820871e92b
Fix lighten/darken tools so they work with different display pixel formats
2011-09-26 23:53:37 +08:00
Simon Robertshaw
5a824850b3
Detect updates by build number, make confirm box autosize, also fix bug where config file is read before data dir is set (Therefore reading the wrong file)
2011-09-24 16:57:01 +01:00
cracker64
a73fc9db06
Water level equalization test! In options menu, or tpt.watertest() .
2011-09-21 18:36:35 -04:00
cracker64
f0379c5418
Tool menu in deco editor, Lighten/Darken tools.
2011-09-19 17:02:04 -04:00
cracker64
fb1a522cca
Deco editor improvements. Editable color text boxes! Hit enter when done editing.
2011-09-19 12:31:14 -04:00
Simon Robertshaw
49a164b7ba
Fix various memory leaks, as noted by Merkil/cppcheck
2011-09-10 13:33:24 +01:00
jacksonmj
5892c74595
Visual Studio fixes
2011-09-05 08:40:17 +08:00
jacksonmj
df504330e2
Fixes: HUD for fast PIPE, PIPE contents disappearing when next to walls, scrolling special menu, and parts_lastActiveIndex
2011-08-30 19:34:28 +08:00
jacksonmj
e1959c0c0b
Zoom toggle, alt+z
2011-08-29 19:28:11 +08:00
Bryan Hoyle
309ec4b07a
Small ui for confirming script download as to make script downloads within scripts noticable
2011-08-24 11:44:16 -04:00
Bryan Hoyle
578144c48a
Merge remote branch 'origin/master'
2011-08-23 20:29:26 -04:00
Bryan Hoyle
f577c319db
Working tpt.getscriptid(<string: id>). Retrieves and runs a script from online
2011-08-23 20:28:55 -04:00
savask
021168ad1b
Added "Tools" menu.
2011-08-23 23:45:01 +07:00
Simon Robertshaw
99b67598aa
Changes to unify mouse and keyboard events for Lua
2011-08-20 18:18:09 +01:00
Simon Robertshaw
7d283335d4
Menu scrolling for 'special' menu
2011-08-20 00:08:49 +01:00
jacksonmj
7ae7d5fd56
Memory leaks and uninitialised value in catalogue_ui
2011-08-20 03:29:34 +08:00
Simon Robertshaw
88823cf604
Reorganise a lot of Python console stuff
2011-08-19 13:16:49 +01:00
Bryan Hoyle
161eb60cfa
Added PGRV and NGRV for positive and negative gravity tools (sortof like air and vac, but with gravity)
2011-08-16 18:07:12 -04:00
jacksonmj
7808059453
Fix infinite dialogs when unable to open a save from the website
2011-07-24 20:10:43 +08:00
jacksonmj
1be79e581d
Line snapping (hold down Alt when drawing a line)
...
Specific element select changed to Ctrl+Alt
2011-07-12 21:48:54 +08:00
jacksonmj
726acc96a0
Fix line/box erase for decor layer
2011-07-12 21:47:42 +08:00
Simon Robertshaw
d42e06f37a
Merge all GOL types into PT_LIFE, behaviour is determined by ctype
2011-07-09 18:22:25 +01:00
jacksonmj
34774e7829
Basic clipboard_push_text support for linux
2011-07-06 13:43:51 +01:00
Simon Robertshaw
3dd82d9ced
Better favourite removal and download counts for the future]
2011-07-06 13:12:05 +01:00
Simon Robertshaw
36ee81fc6b
Better photons for persistent display, ability to toggle gravity view (ctrl+g)
2011-06-27 14:01:07 +01:00
Simon Robertshaw
f5bbc13384
Fix save button
2011-06-25 17:11:17 +01:00
Simon Robertshaw
174794c40e
Strip extension when saving
2011-06-25 17:05:57 +01:00
Simon Robertshaw
1dcefb2895
Keep opened files
2011-06-25 16:59:25 +01:00
jacksonmj
36e2a07a5b
Visual Studio fixes
2011-06-25 15:52:24 +01:00
jacksonmj
2f594c6bf1
Fix issues with local saving when using scale:2
2011-06-25 15:51:46 +01:00
jacksonmj
dbf6dcd35b
Decor brush shape, and fix big thumb not changing when page changed
2011-06-25 15:50:14 +01:00
Simon Robertshaw
c1f4f0481c
Fix save_filename crash
2011-06-15 13:47:21 +01:00
Simon Robertshaw
464d36d910
Fix small visual issues and crash when folder doesn't exist
2011-06-14 16:23:11 +01:00
Simon Robertshaw
307fff2e3d
Fix sim-options icon
2011-06-14 15:15:12 +01:00
Simon Robertshaw
2dd04b917d
Add access to the local saving features
2011-06-14 15:13:27 +01:00
Simon Robertshaw
14abcf5fc2
Local saving UI
2011-06-13 23:24:20 +01:00
Simon Robertshaw
e10fbad812
Local save loading - Fix screen buffer issues and scrolling
2011-06-13 17:10:41 +01:00
Simon Robertshaw
8713587e70
Local save loading (WIP)
2011-06-12 22:56:38 +01:00
jacksonmj
93316a9f1d
Fix a load of memory leaks
...
Also fix some compiler warnings (missing headers, wrong pointer type for
modf, etc) and move variable declarations for Visual Studio.
2011-06-11 13:00:42 +01:00
Simon Robertshaw
33b3355192
A-Heat toggle for Simulation options
2011-06-09 23:22:23 +01:00
Simon Robertshaw
1effdb052a
Image for server saving
2011-06-09 17:53:41 +01:00
Simon Robertshaw
3ea25c83b7
message_box and input for Lua API, also autorun.lua
2011-06-08 16:30:36 +01:00
jacksonmj
e182e7422c
Loads of error messages for lua, and hopefully fix lua stack overflow
...
Also fix game exiting when an error occurs in a step function.
Returning -1 seems to prevent lua from restoring the stack to the
state it was in before the C function call - see bottom of
luaD_precall() in lua source (ldo.c)
2011-06-08 12:47:19 +01:00
jacksonmj
43a4544a13
Fix favourites remove button
2011-06-08 12:47:09 +01:00
Simon Robertshaw
417a57b57a
Fix semi-large thumbnails
2011-06-03 22:35:57 +01:00
Simon Robertshaw
b32683e99c
Favourites interface improvements
2011-06-03 18:54:25 +01:00
Cracker64
e3ef7f05f0
some more deco editor changes. Right click deletes decoration again.
2011-06-02 20:24:02 +01:00
Simon Robertshaw
289f4e4e4e
Change console info
2011-06-02 20:16:43 +01:00
Simon Robertshaw
03a048afe5
Add calm blue text colour, buffer overflow fix for richtext
2011-05-31 00:33:47 +01:00
Simon Robertshaw
5dcc3dbb44
Rich text syntax
...
TODO: Link hovering
2011-05-29 17:00:31 +01:00
Simon Robertshaw
e35440fe59
MOTD on search page
2011-05-29 14:30:22 +01:00
jacksonmj
a2c171fbf9
Remove remaining references to old decorations buffer
2011-05-29 13:34:50 +01:00
jacksonmj
6a2f357efd
Revert "Pass decorations to saving functions (doesn't actually save yet)"
...
This reverts commit 7fe99f3210
.
Conflicts:
src/main.c
2011-05-29 13:34:37 +01:00
Simon Robertshaw
4c4b457cab
Full thumbnails for open_ui
2011-05-28 17:16:12 +01:00
Simon Robertshaw
380a45a4c9
Image resampling for thumbnails
2011-05-28 14:19:01 +01:00
Simon Robertshaw
abb0ceb981
Use PTi for thumbnails in game browser
...
TODO: Better scaling/resampling
2011-05-28 13:54:23 +01:00
Simon Robertshaw
5919cefa85
Decorations are per particle TODO: remove references to the decorations buffer
2011-05-27 14:44:56 +01:00
Simon Robertshaw
a52344f399
Decorations improvements
2011-05-24 15:01:18 +01:00
Simon Robertshaw
453c69d39a
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2011-05-24 14:55:29 +01:00
Simon Robertshaw
eafcdf8ec9
Improve error handling on display initialisation
2011-05-24 14:54:14 +01:00
jacksonmj
ee39c06152
Decorations toggle and brush size keys
2011-05-24 21:49:08 +08:00
Simon Robertshaw
c932552aed
Message notifications on login
2011-05-20 12:42:36 +01:00
Simon Robertshaw
9d70d60ee9
New message notification on session check TODO: Clickable link to conversations on website
2011-05-16 12:46:08 +01:00
Simon Robertshaw
1ddff1ad3b
Runtime fullscreen toggle TODO: Fix bug that prevents from closing the window after a fullscreen toggle
2011-05-15 20:40:08 +01:00
Cracker64
9d20d6af82
Decoration has a color menu. GoL uses less memory(17MB less), and probably a bit faster.
2011-05-14 13:46:10 +01:00
jacksonmj
7fe99f3210
Pass decorations to saving functions (doesn't actually save yet)
2011-05-14 13:44:02 +01:00
jacksonmj
cbfc73d8d6
Turn WIND into a tool
2011-05-14 13:43:51 +01:00
Simon Robertshaw
16f014b06a
Move wall drawing to graphics.c
2011-05-14 13:28:02 +01:00
Simon Robertshaw
3196690b03
Runtime scale switching
2011-05-13 10:44:39 +01:00
Simon Robertshaw
ee962dc8bb
Newtonian gravity toggle, disabled by default
2011-05-12 18:04:29 +01:00
Simon Robertshaw
28d9328959
Dialog box for changing simulation options, gravity toggle needs implementing
2011-04-25 16:39:28 +01:00
jacksonmj
7b82eae82e
Jacksonmj: Move console functions into seperate file
2011-04-25 12:07:55 +01:00
Cracker64
3a541dfcbb
visual studio fixes
2011-04-24 20:04:16 +01:00
Cracker64
0ccd04b848
More decoration improvements. still TODO: text boxes that will change current color, as well as display current color. A menu with some basic color swatches.
2011-04-24 20:04:05 +01:00
Cracker64
88995a5910
line/box tool for decorations, some other things.
2011-04-24 20:04:01 +01:00
Cracker64
bd8de4c842
Decorations! ,still messing with it. It does not save currently. TODO: fix typing in boxes to update the color. Line/box tools. Some basic color selections like an element menu.
2011-04-23 14:00:51 +01:00
Simon
d37bd56eb6
'M' For selected element swap, 'dae' var for showing a selected element box upon element change (not implemented)
2011-04-17 20:34:54 +01:00
Simon
f20bedd3de
info_box for renderer
2011-04-12 12:51:43 +01:00
Simon
767d73c5fc
astyle
2011-04-08 11:09:42 +01:00
Simon
ca02640ebb
Avoid potential overflow when pasting long text strings
2011-04-06 13:14:13 +01:00
Cracker64
1bc97fcc37
copy and paste functions for text boxes.
2011-04-06 13:08:59 +01:00
Simon
7663192174
Copy text box for save_name_ui
2011-04-04 20:46:27 +01:00