Günther Brammer
a2015e0db1
editor: Move function autocompletion list generation to C4AulScriptEngine
...
This actually removes some code duplication and makes the ScriptEngine
API smaller.
2011-01-13 01:09:06 +01:00
Günther Brammer
3ef004506c
editor: Store the selected objects only in EditCursor
2011-01-12 23:40:22 +01:00
Günther Brammer
58a257f763
editor: Display object properties well readable
2011-01-13 17:55:58 +01:00
Günther Brammer
94335b6a49
editor: Move object debug information into C4Object(List)
2011-01-12 23:43:05 +01:00
Günther Brammer
05ccd857e3
editor/gtk: ObjectListDlg opens object properties on double click
2011-01-12 22:09:28 +01:00
Günther Brammer
b64653d003
editor/gtk: Pipette updates material combobox
...
This was lost in the editor source split.
2011-01-13 17:56:46 +01:00
Günther Brammer
8a0cc8d072
editor/gtk: Move ObjectListDlg to the front when activated while open
...
Previously, the menu entry did nothing when the dialog was open
2011-01-12 22:09:16 +01:00
Günther Brammer
c908c47ca5
editor: Immediately update information about selected objects
...
This avoids resetting the selection of the object list dialog. Previously,
after selecting object in the list, C4EditCursor::Execute would set the
object list selection to what the user just had selected.
2011-01-12 21:31:10 +01:00
Günther Brammer
b1cc96d6ce
Fix a mismatched malloc/delete resulting from StdStdBuf::GrabPointer usage
2011-01-12 19:58:33 +01:00
Günther Brammer
173d247b4f
x11: Restore argc/argv saving accidentally removed two commits ago
2011-01-10 15:52:50 +01:00
Günther Brammer
476439a1d4
editor/gtk: Hide unimplemented menu entries and object list pictures
...
The components menu entries never got implemented for the gtk editor mode
and probably never will, given their limited utility. The object list
pictures are simply broken.
2011-01-10 00:03:56 +01:00
Günther Brammer
20afa7b470
console mode: Move keyboard input to CStdInProc, make it compile again
2011-01-10 00:01:17 +01:00
Martin Plicht
0226c11f12
Mac: Cocoa: Allow resizing the game window. Aspect ratio enforced, no actual resolution switching
2011-01-06 17:56:04 +01:00
Martin Plicht
50c69ebedb
Mac: Cocoa: Keyboard input: Feed whole utf8-string to C4GuiScreen::CharIn
2011-01-02 18:57:11 +01:00
Martin Plicht
acf5480ac9
Mac: Cocoa: Multisampling
2011-01-02 02:13:09 +01:00
Martin Plicht
89a59b5453
Mac: Remove references to MacUtility.h in SDL files
2010-12-23 01:47:20 +01:00
Martin Plicht
776dd7060b
Mac: Magnify gesture to toggle fullscreen mode when in the menus
2010-12-21 03:14:45 +01:00
Martin Plicht
2e13bcb5e7
C4GuiContainers.cpp: Call GetDialogWindow()->RequestUpdate() instead of directly calling Draw() if GetDialogWindow() is not NULL
2010-12-13 23:14:56 +01:00
Martin Plicht
37ef64344d
Mac: Treat cmd and ctrl the same
2010-12-13 23:05:27 +01:00
Martin Plicht
c56f385ecc
Mac: Cocoa: Make C4EditCursor.(Delete|Duplicate|GrabContents) accessible via main menu
2010-12-13 23:29:14 +01:00
Martin Plicht
8ee91cb326
Mac: Remove obsolete constructor
2011-01-09 00:49:54 +01:00
Maikel de Vries
d0e7beee1a
Materials: Remove unused MGranite
2011-01-08 18:21:46 +01:00
Günther Brammer
6d3feabe69
Reduce #includes so that C4Include.h doesn't include C4Value.h
...
This should avoid many complete rebuilds.
2011-01-08 17:04:20 +01:00
Günther Brammer
4e75f2a134
Merge Plane branch
...
Conflicts:
src/C4Game.cpp
src/C4Game.h
2011-01-08 17:39:59 +01:00
Günther Brammer
00db064ad5
SDL: updates for the editor and CStdWindow::Init changes
2011-01-08 02:18:36 +01:00
Armin Burgmeier
9f74506e9b
Support loading game data from system path
2011-01-06 21:18:13 +01:00
Armin Burgmeier
7c26fc4d8d
Cleanup: Remove unused C4Game::LocalFileMatch
2010-12-30 17:51:21 +01:00
Günther Brammer
241869b1e6
objects: Replace the sorting functionality of Categories with a Plane property
...
This makes changing the drawing order a lot easier.
2010-12-27 20:15:55 +01:00
Günther Brammer
cc3768f34e
objects: Objects are only moved by SolidMasks of Objects behind them
2011-01-03 23:54:17 +01:00
Günther Brammer
9df4bd4d86
objects: Remove Growth defcore val in favor of a script solution
...
This actually requires extending the DoCon interface to support more
precision. The new growth functionality uses an effect timer, of course.
2011-01-03 02:30:04 +01:00
Günther Brammer
d65d48b159
editor: Drop of definitions uses CreateObject even for C4D_Structures
2011-01-03 01:31:10 +01:00
Günther Brammer
96fa57eb6b
objects: Replace Grab defcore value with Touchable property
2011-01-02 23:55:48 +01:00
Günther Brammer
db54822b89
objects: Remove Collectible from Defcore in favor of Collectible property
2011-01-02 23:17:47 +01:00
Günther Brammer
2c69baeb26
Script: Remove BlastObjects in favour of the script implementation
2011-01-02 22:17:51 +01:00
Günther Brammer
eab445f806
Script: Remove ShakeObjects
...
The script replacement is a little awkward, but will hopefully get better.
2011-01-02 21:14:30 +01:00
Günther Brammer
fbb96b2fb3
objects: Remove context menus
2011-01-02 21:10:53 +01:00
Günther Brammer
3c7f17c1aa
objects: Do not change Controller on Enter for Alive non-C4D_Livings
...
Previously, only C4D_Livings that were Alive did not get their
Controller changed. There is no need for the Category check, the
Alive check is sufficient.
2011-01-02 19:52:29 +01:00
Günther Brammer
74135b4350
objects: Corpses can burn
2011-01-02 19:51:17 +01:00
Günther Brammer
846e707134
objects: Remove OCF_Living in favor of OCF_Alive
2011-01-02 19:40:48 +01:00
Günther Brammer
c9f8a695be
objects: Structures do not automatically remove snow and flyashes
...
Besides yet another category hack, this allow the removal of two out of
seven hardcoded material names.
2011-01-02 02:16:26 +01:00
Günther Brammer
1f3831963e
Script: Add DigFreeMat
...
So that one can script magical winter services or whatever else that
requires removing just some specific materials.
2011-01-02 02:14:45 +01:00
Günther Brammer
e32650d378
objects: DoCon always preserves the position of the bottom of the object
...
Previously, it only did so on object creation, on straight objects, and did
something strange to rotated buildings.
2011-01-02 02:03:44 +01:00
Günther Brammer
6d7e7c6989
objects: Simplify layer bounds
...
The category check was introduced in 2002 with no explanation. Layer bounds
are totally undocumented and unused anyway.
2011-01-02 01:24:35 +01:00
Günther Brammer
877dfee49e
objects: Remove Chop command, OCF_Chop, CHOP procedure, Chop defcore val, FX_Call_DmgChop
2011-01-02 01:18:45 +01:00
Günther Brammer
4984cd6b99
objects: Remove DFA_BUILD procedure
2011-01-04 00:55:42 +01:00
Günther Brammer
b2bf7ffda4
objects: Remove Build and Construct command
2011-01-04 00:47:31 +01:00
Günther Brammer
8843950662
objects: Remove a bunch of resorting functions that will be obsoleted by Planes
2010-10-12 22:32:25 +02:00
Günther Brammer
6a17914955
Silence various compiler warnings
...
None of them pointed to a serious problem, fortunately.
2011-01-03 00:03:28 +01:00
Günther Brammer
4588c797eb
docs: Slight rewrite for the actmap-as-proplist change
2011-01-02 01:11:30 +01:00
Günther Brammer
d90f91d2eb
X11: Don't take the address of an empty vector, always dispatch the context
...
Probably doesn't fix anything other than libstdc++ debug mode, but that's
important enough
2010-12-27 21:35:13 +01:00