Nicolas Hake
a0130e0389
Add getopt third party library
...
Some build systems, particularly MSVC, don't ship with an implementation
of getopt or getopt_long in their standard library. This patch adds a BSD
licensed implementation, to be used in case there is no system provided
one.
2010-10-05 00:14:07 +02:00
Günther Brammer
9bf3288c77
Rewrite ParseCommandLine to work on argc/argv instead of a single string
...
Using the standard utility function on windows to split the line and the
operating system provided argc/argv on the others.
Also move the function to C4Application. It's not a huge win because the
flags are spread out between C4Game and C4Application pretty evenly, but
eventually most of them should move to a more appropriate place.
2010-10-04 21:39:19 +02:00
Günther Brammer
b8f8efa2d7
Move C4GraphicsSystem::SetGamma and friends to CStdDDraw
2010-10-01 23:36:48 +02:00
Günther Brammer
00c7517866
autotools: compensate for version removal
2010-10-02 20:06:45 +02:00
Charles Spurrill
d6d0d4e2e5
#416 no black border on chest's lock
2010-10-03 13:58:12 -07:00
Tobias Zwick
7806546fed
supplemented German translation for Maikels additions to the Tutorial 2 stringtables
2010-10-03 20:45:39 +02:00
Tobias Zwick
6fdd45f3bb
applied StartupGUI elements for the ingame GUI elements
2010-10-03 20:39:53 +02:00
Tobias Zwick
e0cb527c5d
removed Score.png from resources
2010-10-03 14:31:26 +02:00
Tobias Zwick
cbe501596f
remove hardcoded definitions for CR Western.c4f
2010-10-03 13:30:36 +02:00
Tobias Zwick
72dd4685bf
polished some gui graphics and added quick and dirty Startup*BG.jpgs
2010-10-02 01:04:52 +02:00
MimmoO
a4b2575764
Edge adjustments (edges next to each other wont cause them to miscalculate direction)
2010-10-03 16:09:49 +02:00
Maikel de Vries
e33d54ba45
Removed ForceFairCrew from tutorials
2010-10-03 15:02:08 +02:00
Maikel de Vries
6cfee5cc06
Tutorial 2: Explain zooming and cycling through crew with R
2010-10-03 14:12:00 +02:00
Maikel de Vries
d92364e86c
Fixed fading out for ammo in tutorial 4
2010-10-03 12:44:17 +02:00
Armin Burgmeier
1faab34df7
Fix MinGW build
2010-10-03 12:15:19 +02:00
Maikel de Vries
85769ef0ae
Tutorial Arrow: Allow for showing in GUI coordinates, show goal and guide in tutorial 1
2010-10-02 23:18:58 +02:00
Nicolas Hake
2df81a55d1
Clarify a calculation
2010-10-02 19:02:21 +02:00
Nicolas Hake
75a723ec8b
fmod: Fixed incorrect sample length calculation ( #437 )
...
The crash was caused by an incorrect integer division in the sound
loader that was supposed to be a double division. Sounds shorter than
a second were reported to have zero length because of this, leading
to a division by zero in the playback code.
2010-10-02 18:48:43 +02:00
Peewee
854483bf27
Changed SimFlight behavior
...
SimFlight now returns the array [x, y, xdir, ydir, steps_taken] instead
of trying to modify parameters.To preserve old functionality, steps_taken
will be negative if it doesn't hit anything before time runs out.
2010-10-01 20:30:59 -04:00
MimmoO
0ec10db0bf
Boomshire Volcano is now now solo-solveable
2010-10-02 17:31:01 +02:00
Maikel de Vries
b0938f1801
Removed double Fireglobe, and removed references from the other
2010-10-02 16:02:42 +02:00
MimmoO
c1e2366243
Windjar loading mechanism exploit removed
2010-10-02 15:59:02 +02:00
Maikel de Vries
6e6437e9b9
Tutorial.c4f: Clean up scripts and scenario.txt
2010-10-02 15:42:24 +02:00
Günther Brammer
a329ff9b51
Merge.
2010-10-01 17:56:41 +02:00
Günther Brammer
c1ae801831
Remove obsolete version files
2010-10-01 17:56:05 +02:00
Charles Spurrill
1bdf12eb14
Credits.txt added to repos
2010-10-01 08:49:08 -07:00
Charles Spurrill
aea5afac53
strawmen don't look into the screen anymore, scale transformation removed from script and applied to model.
2010-09-30 22:15:33 -07:00
Maikel de Vries
6b08a841f9
Object Restorer: Viewport moves with restorer after clonk died
2010-09-30 19:53:15 +02:00
Richard Gerum
ada94ac3ff
Shield now enforces to be drawn in the hand when blocking (so overrides two handed items in the other hand) ( #426 )
2010-09-30 17:31:23 +02:00
Charles Spurrill
7da1e32def
no zero-gravity strawmen anymore
2010-09-29 23:58:10 -07:00
Nicolas Hake
b29ab382ee
cmake/mac: Fix path to C4FileMonitorMac.mm
2010-09-30 07:20:03 +02:00
Peewee
f51a1f4d68
Tutorial 4: Improved aiming for bow and spear AIs
2010-09-29 20:44:45 -04:00
Günther Brammer
2aa2712bfc
Move C4GraphicsSystem::MouseMove to C4GUI::Screen
...
The function mostly operated on C4GUI::Screen anyway.
2010-09-29 23:58:59 +02:00
Nicolas Hake
4a1a9cc2b0
msvc: Avoid a stupid warning
2010-09-29 23:19:43 +02:00
Nicolas Hake
bfd803bd54
cmake: Remove useless NULL_IS_NULLPTR_T check
2010-09-29 23:14:08 +02:00
Nicolas Hake
8b1838b3e7
win32/msvc: disable 64 bit truncation warnings
2010-09-29 23:11:12 +02:00
Nicolas Hake
c76e339ef6
cmake: Fix MSVC multicore/minimal build toggle
2010-09-29 23:08:08 +02:00
Maikel de Vries
69debd5e60
Replaced all global functions with the right alternatives in Environment_Time
2010-09-29 18:25:44 +02:00
Günther Brammer
d9dc994f8c
Remove some forgotten global variables
2010-09-29 03:57:35 +02:00
Günther Brammer
93a1e82907
Split out viewport stuff from C4GraphicsSystem to a new C4ViewportList
2010-09-29 03:44:05 +02:00
Martin Plicht
37703d7ae6
Mac: Add FSEvents implementation of C4FileMonitor
2010-09-29 00:17:56 +02:00
Nicolas Hake
780873c25f
fmod: fix memleak in error path of soundloader
...
When the FMOD sound loader is unable to get the frequency of a loaded
sample, the sample was not freed, leading to a memory leak.
2010-09-28 23:50:31 +02:00
Günther Brammer
9f0ba09c04
Split C4Viewportwindow out of C4Viewport.h/cpp
2010-09-28 21:29:00 +02:00
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
Günther Brammer
ccbfa225bf
Remove the switch-to-editor function, there is no separate editor anymore
2010-09-28 19:22:39 +02:00
Günther Brammer
c4a5039561
Move the last remnants of CDDrawCfg to Config.Graphics
2010-09-28 19:07:47 +02:00
Nicolas Hake
d89857de86
Fix FMOD sound loader
2010-09-28 04:54:35 +02:00
Charles Spurrill
c0969fc037
Move 'CastleDoor' object to Structures.c4d, removed duplicates in individual scenarios
2010-09-27 17:52:47 -07:00
Charles Spurrill
94c7568b48
boomshire fixes and cleanup
2010-09-27 17:50:51 -07:00