Commit Graph

2642 Commits (81d64df73733afaa831508888111ab509c41a267)
 

Author SHA1 Message Date
Maikel de Vries ab427e1928 Objects: Fixed #554, respawn container does not spawn weapons anymore 2011-01-31 19:09:13 +01:00
Nicolas Hake 20beb13b98 Only select display modes with the configured color depth 2011-01-31 14:37:32 +01:00
Günther Brammer 394ce658cc Merge with ssh://hg@bitbucket.org/caesar/openclonk 2011-01-30 21:58:59 +01:00
Julius Michaelis 8cbfa00a4e dedicated: fix CMake and object loading (thanks ck and Guenther) 2011-01-30 21:44:54 +01:00
Maikel de Vries 1285b5fcb3 Tutorial 4: Fixed opponent creation
CreateScriptPlayer seems to work again apart from colors.
2011-01-30 12:52:29 +01:00
Günther Brammer 233f218cef Remove some dead code 2011-01-29 18:05:33 +01:00
Günther Brammer 1f54d38f06 autotools: Correct merge mistake from two commits ago
Yes, that wasn't a merge commit. It was still a merge mistake.
2011-01-30 21:51:35 +01:00
Nicolas Hake b8d3b00d90 Move TinyXML into thirdparty/ 2011-01-25 21:28:44 +01:00
Charles Spurrill 8019e7b0c8 Added missing (non-magical) fire-particle 2011-01-29 12:21:28 -08:00
Charles Spurrill 1b1cad0cd6 Added Foundry structure 2011-01-28 23:41:11 -08:00
Günther Brammer 742b5ae855 Call ::GameScript.Default at the end of Game.Clear to prevent hang on exit
This even more closely resembles the order before GameScript became a
global. It's probably not save to call Default() function before
ScriptEngine.Clear().
2011-01-28 01:38:21 +01:00
Günther Brammer 9041137e49 autotools: Do not compile shared source files twice for c4group and puncher 2011-01-27 01:29:22 +01:00
Günther Brammer 7771a58f38 Do not include SDL_mixer.h from headers
In case the header is included but not used by a program compiled without
sound support.
2011-01-24 01:17:06 +01:00
Armin Burgmeier 58d3682678 Fix a crash when script players join the game (#571) 2011-01-27 01:12:56 +01:00
Armin Burgmeier 34e6e45864 Fix the netpuncher build on Windows
Making the nightly builds work again
2011-01-27 01:15:48 +01:00
Günther Brammer 14f90d0fc1 editor/gtk: Fix scrollbars of zoomed viewports 2011-01-25 20:21:49 +01:00
Günther Brammer 76370cb0ec gtk: Fixes for newer GTK+ 3 versions 2011-01-24 01:06:34 +01:00
Günther Brammer 7c56940c4b gtk: use gtk_show_uri to open a browser if possible 2011-01-23 23:03:57 +01:00
Günther Brammer 829874e011 editor/gtk: Migrate to non-deprecated APIs 2011-01-23 23:04:40 +01:00
Günther Brammer 8b989e414a Move C4ViewportWindow initialization to C4ViewportWindow::Init 2011-01-23 23:02:23 +01:00
Günther Brammer 987d8872ea autotools: Fix dist and distcheck 2011-01-20 02:26:26 +01:00
Günther Brammer 60b3415624 sdl: update for refresh rate API changes 2011-01-24 23:32:51 +01:00
Julius Michaelis a7684cb196 netpuncher: make it compile again with CMake
cmake: CMake 2.6 compatibility
2011-01-25 18:56:40 +01:00
Martin Plicht cdc29a593a Mac: Fix build by adding refresh rate parameter (ignoring it) 2011-01-24 12:11:18 +01:00
Martin Plicht 208f283512 C4FullScreen: Initialization: Use CStdWindow::W_Fullscreen 2011-01-10 11:48:05 +01:00
Martin Plicht ae447c30c1 Mac: Fix wrong method signature for ClonkAppDelegate makeFakeArgs 2011-01-10 02:21:09 +01:00
Martin Plicht 2aed52a6fb Mac: Cocoa: Add "Reset Zoom" menu item to set zoom level of active viewport to 1 2011-01-13 21:21:19 +01:00
Nicolas Hake d1b2f1a325 win32: Default to current desktop display settings (#484, #493)
Previously, the graphics code tried to set a refresh rate as close to
85 Hz as possible. This led to black screens when the display driver
would report a refresh rate that was not actually supported by the
monitor.
This change also uses the currently set monitor orientation, instead
of always selecting a non-rotated display mode.
2011-01-20 15:43:19 +01:00
Nicolas Hake ad86a5358e cmake: Install only c4d/c4f/c4g/c4s 2011-01-20 15:38:04 +01:00
Günther Brammer 91b6201d85 Do not load Rank.bmp anymore, Rank.png suffices 2011-01-19 23:53:14 +01:00
Günther Brammer 5151177d44 Move some BMP-loading helpers to C4Landscape.cpp 2011-01-19 23:52:46 +01:00
Günther Brammer cb34973ffc Remove loading of BMP definition graphics and portraits
OpenClonk does not use that feature anymore. PNGs are enough.
2011-01-19 23:31:24 +01:00
Günther Brammer 83322f596a Move Mesh loaders from src/platform to src/lib
They are entirely platform-independent.
2011-01-19 22:55:18 +01:00
Günther Brammer 8d3692e093 editor/gtk: Ask before overwriting a scenario
Previously, this was commented out because GTK 2.4 did not have the
convenience API, but Clonk requires a newer GTK now.
2011-01-19 02:16:48 +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 5acda62b71 Do not initialize ::GameScript from ::Game
In case Game was constructed first, this could crash.
2011-01-19 02:13:51 +01:00
Armin Burgmeier d2b93d96d6 Fix the build with gcc 4.4.3
making the Linux nightly build work again
2011-01-18 01:25:09 +01:00
Günther Brammer 5b3fe189ea editor/gtk: Save the clipboard on exit
Normally, this is done by gtk_main with a private function. Since Clonk
does not use gtk_main, that function is copied and slightly changed to use
the public API and compile as C++.
2011-01-16 21:30:59 +01:00
Günther Brammer 2c612c6425 Script: GetMaterialVal and friends return a definition when appropiate
This was accidentally changed with the C4Id rewrite.
2011-01-16 21:28:24 +01:00
Günther Brammer ec7e35a25a Script: Optional warnings about deprecated functions and 0->nil conversion 2011-01-16 21:26:18 +01:00
Günther Brammer f10e01a01c config: Remove unused General.Record 2011-01-16 17:21:48 +01:00
Günther Brammer 5e156a07d1 Script: == works when one side is an object with proplist type label
I don't actually know how to get to that situation in script, but when it
happens, everything else expecting an object would correctly accept it
despite the proplist label.
2011-01-15 23:03:01 +01:00
Günther Brammer b7d8eb8959 netpuncher: Make it compile again 2011-01-15 19:11:48 +01:00
Charles Spurrill 3558519247 very slightly improved texture for wooden cabin 2011-01-14 17:17:22 -08:00
Maikel de Vries 9dac151d6e Objects: Fixed a few warnings 2011-01-14 22:37:55 +01:00
Maikel de Vries 0562155865 Objects: Fixed a possible runtime error in the Parkour goal 2011-01-14 22:32:50 +01:00
Günther Brammer 91e85c04f8 editor/gtk: Wrap text instead requiring horizontal scrollbars 2011-01-14 00:50:36 +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