Commit Graph

201 Commits (d59b1e5e5ba48c08a442d7ee0b4e4886cefd5089)

Author SHA1 Message Date
Günther Brammer b4e37b070b Change all indentation with spaces to use tabs instead
This is a whitespace-only patch. Hopefully, it'll only affect rarely-changed
parts of the engine, since all regularly maintained pieces should already
use tabs.
2010-03-27 17:05:02 +01:00
Benjamin Herr 649640688f fix warning in C4PlayerControl.cpp
---
 src/control/C4PlayerControl.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
2010-03-26 23:51:52 +01:00
Sven Eberhardt e8aaa703fc implement DefaultDisabled for PlayerControls (#206) 2010-03-26 14:48:28 +01:00
Sven Eberhardt 6fcf569c42 fix ghost player menu on close by CDA_Menu player control (#202), fix key to work as toggle as intended 2010-03-25 13:55:12 +01:00
Tobias Zwick b99b782089 removed id from C4RCExecObj struct 2010-03-21 22:24:54 +01:00
Peter Wortmann fe8d566580 Backing out of some unwanted changes 2010-03-21 19:34:22 +01:00
Sven Eberhardt dda34d3897 send perioic gamepad axis change callbacks even if direction didn't change 2010-02-24 00:18:07 +01:00
Tobias Zwick 16c20cff1a cleaned up obsolete scenario.txt options, enabled peter-scroll 2010-02-19 00:03:53 +01:00
Asmageddon f3fcf7e80e fix key release event not being triggered if shift state changed during key hold (#134) 2010-02-18 18:43:38 +01:00
Günther Brammer a16df97a95 Various cleanups in the platform code 2010-02-16 02:54:02 +01:00
Peter Wortmann 1aff82edb7 Quick test scenario for 50% Clonk. 2010-02-12 19:08:05 +01:00
Sven Eberhardt feaa68cbe5 reimplement object menu controls (#77) 2010-02-08 21:52:46 +01:00
Martin Plicht be2fa8a321 Resolve Objective-C++/C++ ambiguity 2010-02-06 16:52:08 +01:00
Benjamin Herr f3b35227ea avoid lots of gcc warnings 2010-01-25 05:00:59 +01:00
Nicolas Hake ed6f9424d7 Allow IDs longer than 4 characters
All C4IDs are now stored in auto-created global constants with the same name
as the ID itself. There is no special parsing of IDs anymore; this means that
you need to use the C4Id function if you aren't sure whether an ID exists.

IDs in portrait strings aren't working, since I expect portrait support to be
removed from the engine.
2010-01-25 16:57:57 +01:00
Nicolas Hake a41f896921 Replace global C4ID consts with member consts 2010-01-25 04:14:52 +01:00
Günther Brammer e592ca643c Move prototypes back to C4Prototypes.h 2010-01-02 01:19:42 +01:00
Günther Brammer 69acebe64a Add missing includes to C4PlayerControl.cpp
Before, it only compiled with MSVC by accident.
2010-01-02 01:12:35 +01:00
Sven Eberhardt 23a206ccdd implement *Mouse*Wheel1Up/Down for player controls
implement mouse wheel viewport zoom as async PlayerControl
2009-12-31 18:20:45 +01:00
Sven Eberhardt f0e361e302 fix CID_PlrControl in network 2009-12-30 01:56:52 +01:00
Sven Eberhardt 46b39ce80f fix PSF_PlayerControl lookup in global namespace only 2009-12-30 00:44:43 +01:00
Sven Eberhardt 21590e58c3 + MouseSelectionAlt: Callback for right-click on C4D_MouseSelect objects 2009-12-29 18:54:39 +01:00
Sven Eberhardt b80ae6daf5 fix GameMouse*Button* in DownKeys
add scenario local player controls
2009-12-28 14:36:06 +01:00
Sven Eberhardt e53332b446 + FnSetControlEnabled 2009-12-27 19:11:14 +01:00
Sven Eberhardt 69c0d1f92a fix right mouse button player control event 2009-12-22 21:16:08 +01:00
Nicolas Hake 1c11c4dd34 Merged PlrCtrl into default 2009-12-17 14:06:24 +01:00
Tobias Zwick ef778d631a removed ConvertGoals() (backward compatibility with Clonk4) 2009-12-14 22:46:10 +01:00
Tobias Zwick edec15d64f merge 2009-11-30 17:24:14 +01:00
Armin Burgmeier 49e607bab0 Added includes and forward declarations, fixing the build 2009-10-26 00:09:34 +01:00
Nicolas Hake 52bde5a579 Remove BIG_C4INCLUDE define 2009-10-20 06:21:12 +02:00
Sven Eberhardt f0582c8300 mouse game coordinate fix 2009-10-17 22:40:11 +02:00
Sven Eberhardt 448bba9ff5 scripted mouse control fixes 2009-10-17 22:20:36 +02:00
Sven Eberhardt 9be7a2724a added mouse support for scripted player controls 2009-10-17 17:53:26 +02:00
Sven Eberhardt 1c941adddc fix gamepad control 2009-10-16 16:23:17 +02:00
Sven Eberhardt 4237837bb3 experimental gamepad config 2009-10-14 23:29:27 +02:00
Sven Eberhardt 87e0548bd0 PrefControl switched to new player control method 2009-10-14 18:46:22 +02:00
Sven Eberhardt 8098b31bce player control init: fallback to existing control sets if selected control set not found 2009-10-13 22:02:44 +02:00
Sven Eberhardt 15c95d5c57 allow local game player join from unpacked player file 2009-10-13 20:42:20 +02:00
Tobias Zwick f584896446 merge 2009-10-08 20:51:31 +02:00
Armin Burgmeier e2c68254a5 Added includes and forward declarations to headers
So that they can be included individually
2009-09-21 00:01:55 -04:00
Armin Burgmeier 809c2234cd Merged alphafix into default
This reverts the meaning of alpha components everywhere in engine and script.
alpha=0 means transparent, and alpha=255 means opaque.
2009-09-19 12:08:09 -04:00
Günther Brammer dddf9ef00a Change all lineendings to LF (except in planet/) 2009-09-16 03:29:20 +02:00
Armin Burgmeier 9269c2c79d merge 2009-08-27 20:59:30 -04:00
David Dormagen cde2718611 Changed behavior of settlement points in evaluation dialogue
The game does not display the settlement points in melee rounds anymore.
This behavior can be toggled ingame with HideSettlementScoreInEvaluation(bool fHide)
2009-08-26 14:17:41 +02:00
Armin Burgmeier 4573315d42 Reverted meaning of alpha: Now 255 is opaque and 0 is transparent
Shader and D3D remains to be adapted yet.
2009-08-23 17:46:56 -04:00
Günther Brammer 0254addc90 Fix DebugRec 2009-08-25 17:50:51 +02:00
Günther Brammer 9a8b5dd739 Replace BOOL by bool, TRUE by true, FALSE by false 2009-08-15 20:50:32 +02:00
Günther Brammer a28a6621da shuffle the #includes around a bit
This reduces the dependencies from src/lib to the rest of the code a bit.
2009-08-12 22:03:50 +02:00
Sven Eberhardt df6010a148 merge 2009-08-12 17:27:43 +02:00
Sven Eberhardt 4db8b6c0a7 move C4PlayerControl.cpp/.h 2009-08-12 16:45:45 +02:00
Günther Brammer 572d00c32e Move all source files
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00