Günther Brammer
b2e9fcd13e
win32: FormatMessage now produces an utf-16 error message
2011-09-21 22:20:52 +02:00
Günther Brammer
9bc61db360
copyright notices update 2011
2011-09-01 16:58:52 +02:00
Nicolas Hake
fe747db554
Clean up copyright notices
...
Use real names for copyright attribution wherever they are known,
drop duplicates
2011-09-01 12:47:54 +02:00
Nicolas Hake
5c243fb048
win32: Always open property dialog when switching to C4CNS_ModeEdit ( #635 )
2011-08-30 15:23:49 +02:00
Nicolas Hake
0d61cf0fe2
win32: Correctly recode strings to UTF-16 in editor mode ( #631 )
2011-08-19 22:03:03 +02:00
Günther Brammer
4d1238beb4
win32: Use Unicode APIs for File manipulation
2011-04-02 18:45:44 +02:00
Tobias Zwick
221aae1bf5
fixed some ridiculous formatting of consts
2011-08-04 01:30:37 +02:00
Günther Brammer
3c943479ab
editor: File/Save creates a savegame when the original scenario was one
2011-05-15 19:38:47 +02:00
Günther Brammer
8bb2afc477
editor: Remove File/Save Game in favor of File/Save Game As
...
Overwriting a non-savegame scenario with a savegame is too seldomly useful
to feature prominently in the menu.
2011-05-15 18:07:26 +02:00
Günther Brammer
e537296829
editor: Change FileSelect abstraction to use StdStrBuf
...
Of course, windows still uses a buffer on the stack, but at least the other
versions don't.
2011-04-08 23:52:40 +02:00
Nicolas Hake
ab2be9b53f
win32/msvc: Fix build
2011-04-05 18:03:27 +02:00
Günther Brammer
3f7e879ffe
win32: Use Unicode APIs for the user interface
2011-04-03 15:47:02 +02:00
Günther Brammer
6c2a89eaf8
Replace timeGetTime with a platformneutral GetTime wrapper
2011-03-13 17:25:35 +01:00
Günther Brammer
8569eaab8c
win32: Do not include windows.h from PlatformAbstraction.h
...
A few windows headers are still included, but not the big offenders
rpcndr.h, wingdi.h and winuser.h. Unfortunately, the latter two need to be
included from StdWindow.h, so still wind up in a lot files, which means
some of the #defines in them need to be undone. To avoid doing that in
multiple places, a few more files include StdWindow.h now.
2011-03-11 03:48:25 +01:00
Günther Brammer
d3ddc171ee
editor/win32: Remove Components menu in favour of external editors
2011-01-19 02:14:59 +01:00
Günther Brammer
4e01716f28
editor: Automatically open landscape tools dialog
...
The landscape tools is mostly useless without the dialog, whereas the other
modes are useful without the dialog.
But mostly this is a side effect of removing PropertyDlg.Active along with
the C4PropertyDlg class.
2011-01-13 18:21:59 +01:00
Günther Brammer
49241e4512
editor/win32: Get id to reload on demand instead of every selection change
2011-01-13 01:16:30 +01:00
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
4d218d46da
editor: Simplify net menu API
2011-01-04 20:31:55 +01:00
Günther Brammer
5d0f6fb30b
editor/gtk: Disable landscape controls when necessary
2011-01-04 17:16:51 +01:00
Günther Brammer
f990fe7651
editor/gtk: Warning fixes
2011-01-04 16:27:38 +01:00
Maikel de Vries
3943e0da03
Editor: Fixed window creation
...
Thanks to ck
2010-12-30 17:01:02 +01:00
Günther Brammer
be342d4a51
copyright notices update 2010
...
This time with more manual checking and using git blame -M -C, so that
a few cases of copied code get a copyright notice corresponding to
their initial introduction.
2010-12-23 01:01:24 +01:00
Günther Brammer
8e52daf128
win32: make d3d code compile again
2010-12-14 02:06:48 +01:00
Günther Brammer
8c2d2d3cc1
editor: consolidate the four status text fields in one function
...
Only a very minor improvement in terms of lines-of-code, but still.
2010-12-14 02:06:23 +01:00
Nicolas Hake
96f65c21a9
win32/editor: Consider editor active once window has been created
2010-12-13 17:37:07 +01:00
Günther Brammer
0b746f756a
Autotools: Add new editor files and rename a new header to .h
...
If it's #included, it's a header, even if it looks like a normal
compilation unit.
2010-12-13 03:11:06 +01:00
Sven Eberhardt
1d404730e4
console mode: fix tool ctrls
2010-12-12 13:58:10 +01:00
Martin Plicht
44928f1a8d
Platform-specific code in C4Console.cpp gets factored out into C4Console(Win32/GTK).cpp
2010-12-11 19:50:38 +01:00