Günther Brammer
8e2ae2f543
Replace Application.DDraw with lpDDraw everywhere
...
There's no need for two globals always storing the same value.
2010-09-28 20:35:26 +02:00
Günther Brammer
a7e4dd9a9c
Rename some fullscreen flags to editor
2010-09-28 20:16:33 +02:00
Armin Burgmeier
e7eaada8e3
Fix scrolling borders for zoomed viewport ( #155 )
2010-09-24 19:52:20 +02:00
Günther Brammer
3dde77508a
Object Draw: Account for parallaxity when zooming
...
Also zoom a parallax sky correctly.
2010-09-24 19:51:34 +02:00
Günther Brammer
d3836b72b6
Object Draw: Remove redundant cox/coy variables
2010-09-24 02:35:26 +02:00
Sven Eberhardt
9400a28c1f
Implement zoom limits ( #175 )
...
Script interface for setting zoom and zoom limits based on viewport size (SetPlayerZoomByViewRange)
Script interface to lock player from scrolling (GetPlayerViewLock)
2010-09-08 23:49:42 +02:00
Tobias Zwick
b6f2333345
Removed GetDesc() from C4Def as it is not needed outside of the game. Description will be just another Property now. See #363
2010-08-23 15:20:27 +02:00
Günther Brammer
9bae376055
Remove old style Cursor and other dead code
2010-07-06 02:10:54 +02:00
Günther Brammer
e109df627c
Remove a lot of old obsolete palette code
...
Hardcode the few remaining palette references instead. We might want to
include some method to customize some colors again, but not for debug
display and such things.
2010-06-29 01:02:16 +02:00
Sven Eberhardt
39a9d10195
Dragging from regular landscape over selection areas does not initiate selection area drag ( #69 )
2010-04-18 10:51:50 +02:00
Sven Eberhardt
0767e3608e
Implement optional cursor position as parameter to controls ( #216 )
2010-04-10 22:44:00 +02:00
Benjamin Herr
4378de147c
Rerun astyle with missing \ added
2010-03-28 20:58:01 +02: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
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
46bbbefc00
engine drag gfx rework
2009-12-31 15:50:42 +01:00
Sven Eberhardt
6b89a5dd57
engine support for Drag+Drop in script (WIP)
2009-12-30 20:16:32 +01:00
Sven Eberhardt
21590e58c3
+ MouseSelectionAlt: Callback for right-click on C4D_MouseSelect objects
2009-12-29 18:54:39 +01:00
Sven Eberhardt
89c461ec13
fix mouse selection of GUI objects
2009-12-22 22:10:42 +01:00
Tobias Zwick
a7f93779c9
Digging with shovel + effects, that *UseStop is called should be guaranteed
2009-12-06 20:14:30 +01:00
Tobias Zwick
edec15d64f
merge
2009-11-30 17:24:14 +01:00
Nicolas Hake
1a933780d4
Fix assertion and crash on game teardown ( #37 , #42 )
...
Also, the build works on linux again. Whee!
2009-11-25 16:04:32 +01:00
Nicolas Hake
52bde5a579
Remove BIG_C4INCLUDE define
2009-10-20 06:21:12 +02:00
Sven Eberhardt
9be7a2724a
added mouse support for scripted player controls
2009-10-17 17:53:26 +02:00
Sven Eberhardt
6ee52433b2
killed most of internal mouse control
...
fixed mouse selection category
2009-10-16 23:07:43 +02:00
Sven Eberhardt
87e0548bd0
PrefControl switched to new player control method
2009-10-14 18:46:22 +02:00
Tobias Zwick
f584896446
merge
2009-10-08 20:51:31 +02:00
Günther Brammer
9a8b5dd739
Replace BOOL by bool, TRUE by true, FALSE by false
2009-08-15 20:50:32 +02:00
Sven Eberhardt
df6010a148
merge
2009-08-12 17:27:43 +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