Sven Eberhardt
4407fb040a
merge
2009-08-29 23:12:31 +02:00
Günther Brammer
95b4738d66
Fix mesh loading when the locale is not using . as decimal separator
...
This uses glibs g_ascii_strtod like the DrawTransform loader.
Engines without glib will need another solution, probably using
the C locale for numbers.
2009-08-29 17:56:47 +02:00
Günther Brammer
8b04b547c1
OpenGL: Fix rendering without FoW
2009-08-28 15:52:22 +02:00
Armin Burgmeier
de00b5df53
Moved StdMesh headers to correct location, load meshes without skeleton
2009-08-27 22:41:23 -04:00
Armin Burgmeier
0137936211
Merged alphafix into mesh
2009-08-27 21:52:10 -04:00
Armin Burgmeier
4fa029df2c
Merged default into mesh
2009-08-27 21:35:55 -04:00
Armin Burgmeier
d021b9a586
Fixed a glib warning on startup about the main loop being active already
...
The exact warning message was
GLib-WARNING **: g_main_context_prepare(): main loop already active in another
thread
The problem was that there is code in C4Console.cpp which iterates the Glib
main loop to update the Console window while loading the game. This was not
synchronized with CGLibProc - we can't iterate the mainloop when the CGLibProc
already does.
2009-08-23 19:22:55 -04: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
f5b904c3db
More StdApp cleanup
2009-08-16 18:30:28 +02:00
Sven Eberhardt
acca4a204d
merge
2009-08-16 17:13:42 +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
Günther Brammer
e762a4501e
OpenGL: invert alpha channel in shader code, too
2009-09-19 19:36: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
Armin Burgmeier
9dc91c66c4
Set default icon for GTK windows
...
This way message dialogs are decorated with the OC icon as well
2009-08-15 12:22:52 -04: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
Martin Plicht
9d20fa8fe8
Mac: Exposé fix
2009-08-12 14:30:48 +02:00
Martin Plicht
5c4248b0a8
Mac: Implement CStdApp::MessageDialog and Copy & Paste
...
StdMacApp.mm implements parts of CStdApp using Objective-C
2009-08-12 14:17:36 +02:00
Martin Plicht
527d833b19
Mac: Enable Key Repeat
2009-08-12 14:16:35 +02:00
Martin Plicht
08479b6cfd
Put Mac-specific stuff into MacUtility namespace
2009-08-12 14:13:16 +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