Julius Michaelis
1261402357
Zoomed full map screenshots with artefacts and fixed zoom
...
Signed-off-by: Sven Eberhardt <sven2@goldwipf.de>
2013-09-14 23:36:07 +02:00
Nicolas Hake
7e70554a04
Use control packet for more editor mode actions
...
Actions changed include dropping definitions, (de-)selecting objects,
player elimination. This removes some more pre-assembled C4Script code
going across the network unchecked.
Part of #936 .
2013-09-04 17:51:55 +02:00
Sven Eberhardt
ba84fc7c4b
Fix internal marker for FindObject searches and CrossCheck using shapes.
...
Before, the marker would be reset in every frame, but object markers and main counter weren't reset consistently at the same time. This could cause some objects to be not found if their markers were set after the object marker reset but before the main marker counter reset.
2013-08-10 23:21:26 +02:00
Martin Plicht
405453aed3
Merge branch 'debugrecoption'
2013-05-31 14:39:16 +02:00
Tobias Zwick
61ee6d393f
Correct the scancode numbers for windows
...
Also reduce the duplication of these numbers in C4Window.h and C4KeyboardInput.cpp.
2013-05-26 18:07:09 +02:00
Martin Plicht
eb070c98a2
debugrecread/write: required_argument, optarg for Windows does not support optional_argument
2013-05-26 14:15:15 +02:00
Martin Plicht
8b3390a5f4
No --debugrec option but --debugrec(write|read) with optional external file as argument. If not specified, record-internal debugrec file is used
2013-05-26 13:07:24 +02:00
Martin Plicht
524fe879aa
Make DEBUGREC define a commandline option
2013-05-25 22:51:32 +02:00
Tobias Zwick
003e29f223
enable loading Title.jpg for scenario (folders)
2013-05-25 20:48:14 +02:00
Tobias Zwick
fbcd419af2
adapt zoom defaults, set default view lock to true
2013-05-23 18:35:23 +02:00
Sven Eberhardt
57e63a5275
Added support for scripted maps (Map.c) and documentation.
2013-03-19 00:36:06 +01:00
Julius Michaelis
5483072726
8f429dc50fc9b46afb/USE_CONSOLE MissionAccess: do it right.
...
/bin/brain not found
2013-03-03 19:41:23 +01:00
Julius Michaelis
b23243124f
8f429dc50fc9b46afb/USE_CONSOLE MissionAccess: do it right.
2013-03-03 19:29:00 +01:00
Julius Michaelis
b31ca73903
Don't check MissionAccess when running as dedicated
2013-03-03 17:32:51 +01:00
Armin Burgmeier
7357125368
Make C4Material.cpp independent of C4Game
...
This allows compiling and linking with it without pulling in whole
C4Game. This is useful for the mape map editor.
The only place where C4Game was used in C4Material.cpp was in
CrossMapMaterials where the name of the earth material is read from
Game.C4S. The code has been changed such that the earth material name is
now a parameter to the CrossMaterialMap function.
2013-01-14 02:14:39 +01:00
Günther Brammer
864c5c7ea8
copyright notices update 2012
2013-01-12 16:31:40 +01:00
Günther Brammer
d5c1cb8c51
Remove some unused variables
2012-12-31 22:03:12 +01:00
Günther Brammer
6a6190564f
Remove some forward declarations that are already in C4Prototypes.h
2012-12-31 22:03:12 +01:00
Nicolas Hake
3c9198876c
Win32: Mark OC "DPI aware" ( #891 )
...
Technically this mark is incorrect; we do not handle things differently
on high DPI settings. On the other hand, marking OC DPI aware means that
Windows won't try to scale our drawing, clipping menus and rendering in
the process.
Somewhere in the future, OpenClonk should also add proper DPI awareness
and change the default zoom and menu scaling to match.
2012-12-24 14:44:41 +01:00
Sven Eberhardt
7a042ecca5
Do not allow debugger connections in league games.
...
We do not have a league yet and once we do, people might start cheating with customized engines. But at least it shouldn't be that easy.
2012-12-06 17:18:43 +01:00
Günther Brammer
d9c3c1d713
The dedicated server command line can now start a scenario
...
I don't know how useful that is without control over other options, but at
least its something instead of nothing.
2012-11-30 22:20:16 +01:00
Günther Brammer
7967d94a59
Merge StdFont.cpp and C4Fonts.cpp
2012-11-12 02:30:16 +01:00
Tobias Zwick
348fb8c7a9
clean up mouse controls, reduced cursor graphics to the used ones
2012-11-16 17:29:42 +01:00
Günther Brammer
77479e4f71
Get the window size fresh from the window instead of storing it
...
This makes Application.GetConfigWidth/Height simply return the appropriate
configuration value instead of mixing configuration and state in the same
function. The caller needing the state now uses C4Window::GetSize instead.
2012-10-22 23:15:48 +02:00
Philipp Kern
e037300801
Fix spelling mistake: ressource -> resource.
2012-10-21 22:20:43 +02:00
Armin Burgmeier
b4aafdd874
Remove build number aka C4XVER4
2012-10-18 23:54:50 +02:00
Sven Eberhardt
a6d9690afa
Fix Win32/MSVC builds losing sync to due to different order of parameter evaluation when multiple calls of Random() were done in the parameters
2012-10-14 21:02:27 +02:00
Julius Michaelis
c4506a2b69
Fix entering fullscreen mode in lobby
...
Remove a debuglog
2012-10-14 17:45:01 +02:00
Julius Michaelis
69bbc6b4d1
Fix resolution reset in editor mode and on tabbing out
...
Win32's SetVideoMode doesn't enumerate display modes anymore for windowed mode
2012-10-14 13:28:38 +02:00
Armin Burgmeier
a1212f8e31
Don't show debug message when zooming with F5/F6
2012-10-14 12:38:23 +02:00
Sven Eberhardt
4c762f57aa
Fix viewport zoom reset when a remote player is eliminated ( #429 )
2012-10-13 21:36:14 +02:00
Sven Eberhardt
96cb91a2a2
Fix resolution stuff for ScreenX/ScreenY==-1 and automatic switching
2012-10-13 17:17:06 +02:00
Sven Eberhardt
8c2a07afa0
Fix broken graphics on first start with empty config
...
Config.ResX/Config.ResY, were set to -1 on first start. But those values are used frequently e.g. when the GUI screen is initialized
2012-10-13 12:50:15 +02:00
Sven Eberhardt
8bdd761027
PlayerControls: Allow usage of keyboard scan codes instead of virtual key names using $%x format (Win32 only)
...
Also re-resolves keys if the keyboard layout changed at runtime.
2012-10-09 00:54:34 +02:00
Tobias Zwick
41a33999cd
remove video playback feature
2012-10-04 23:03:57 +02:00
Tobias Zwick
b5d0af513a
remove splash video and option for it
2012-10-02 23:02:52 +02:00
Julius Michaelis
ab880d6bd8
Fix 2c9e6ac9f614 (windows + logic)
2012-10-03 00:54:56 +02:00
Julius Michaelis
023aa90c0e
Add config option for automatic windowed/fullscreen switching
2012-09-29 23:49:30 +02:00
Martin Plicht
f6825d073e
mac: Compile with Automatic Reference Counting enabled
2012-09-02 13:56:53 +02:00
Günther Brammer
f6db61750e
Store the size of the non-fullscreen-window separately
...
The size of that window can be adjusted by the player, so there is no need
for a GUI option.
2012-08-30 00:13:14 +02:00
Günther Brammer
cc25878ba6
Default to not changing the resolution
...
1. We receive bugreports that changing the resolution doesn't work, but
can't reproduce that
2. Flat screens look best at their natural resolution
2012-08-19 20:59:01 +02:00
Günther Brammer
6a0f9b164c
Use a constant for the default gravity instead of triplicating it
2012-07-25 17:02:10 +02:00
Günther Brammer
1a29f8625d
Reorder engine source file organization a bit
...
This mostly consists of flattening the hierarchy, splitting the
graphics stuff out of platform, and a few smaller cleanups.
2012-04-27 19:04:43 +02:00
Maikel de Vries
4a56f8d7c1
Replaced defcore values related to fire with properties
2012-04-28 16:17:38 +02:00
Armin Burgmeier
90dc9abbcd
Add Anim_R as a AVP for mesh animations
2012-04-22 00:22:05 +02:00
Bernhard Bonigl
705b19fefd
Merged Controls into default
2012-04-21 17:18:37 +02:00
Julius Michaelis
185a338819
Change first parameter of PlaceVegetation and PlaceAnimal, so they accept "overloaded" definitions like PlaceVegetation({Prototype=Mushroom, Placement=1})
2012-04-18 15:23:35 +02:00
Bernhard Bonigl
293b3f80e8
Merged diverged Controls branches
2012-04-17 18:36:14 +02:00
Bernhard Bonigl
63f0a49614
Added new blitmode: GFX_BLIT_Wireframe
2012-04-17 17:29:29 +02:00
Sven Eberhardt
80d5f01642
Added FnGetPlayerControlAssignment: Get key/button assigned to a control.
...
To be used by tutorial messages explaining controls.
2012-04-17 17:06:16 +02:00