Cyp
7481694e9f
Rewrite stats loading for FEATURE_STATS.
...
The same should be doable for all BASE_STATS.
2011-01-04 23:13:53 +01:00
Cyp
6f71d8925e
Add missing minum32.pie, to match the .wrf files.
...
(Deleted one too many, before.)
2011-01-04 23:09:12 +01:00
Cyp
61ed2a1505
Bump max structure limits, now that UI supports them.
2011-01-04 22:40:35 +01:00
Cyp
ee048302f8
Add more assembly point graphics.
2011-01-04 22:40:06 +01:00
Cyp
4a34b821ad
Fix parts of UI that break if increasing MAX_FACTORY.
2011-01-04 22:32:52 +01:00
Per Inge Mathisen
c4d4dcd73a
The colour chooser is now a proper button. The double-click kick is now gone (use the button). Kick button moved to team chooser.
...
The kick button is removed for single player and AIs and non-hosts (made no sense). The position chooser now allows you to click
on any other player to switch places. Removed broken ping symbol. Removed broken ranking symbol. Make sure we flush the connection
with the kick message before we cut it. Fix reception of kick message so that we do not crash when we do receive them. ticket:2435
2011-01-04 18:51:15 +01:00
Per Inge Mathisen
ccc5444545
Fix unused in-game kick message handling
2011-01-03 23:57:45 +01:00
dak180
a0dc6a08b7
Make the xcode project work with the changes made in fca489ce42
, 1c0af54edf
, 67e9635f9f
& 178569f364
.
2011-01-02 16:28:46 -05:00
Cyp
734d52984d
Set bsocket = NULL when host drops, hopefully reduce the chance of crashing.
2011-01-01 23:24:25 +01:00
Cyp
738a1fc38c
Strip "Class::" from "Class::myFunction" when compiling with MSVC, in syncDebug().
...
Other compilers don't add the "Class::".
2011-01-01 21:28:13 +01:00
buginator
c10886b7b1
Change (HANDLE)(HANDLE)hProcess to (HANDLE)hProcess
2011-01-01 14:17:16 -05:00
buginator
4ececd8e49
Fix a plethora of issues for MSVC builds
...
Rename MERGECOPY to MERGECOPYSYNC to prevent clobbering of a windows function named that.
2011-01-01 13:46:12 -05:00
buginator
1169f20b91
Merge branch 'master' of github.com:Warzone2100/warzone2100
...
* 'master' of github.com:Warzone2100/warzone2100: (41 commits)
Remove some unused legacy code from the old terrain renderer and TERRAIN_VERTEX.
Die, ivis_common, die\!
Remove some unnecessary oil resource hacks, including flattening to terrain. Please do not put oil resources on sloped ground. It looks stupid even when flattened.
Fix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm.
Remove the unused specular parameter to pie_Draw3DShape. It was always WZCOL_BLACK.
Remove pietoaster
Define the default fog colour in the palette file instead of hard-coded.
Remove the "AI experience" code, which has not been used by the last four AI scripters. Existing savegames may be broken by this.
Inline pie_SetTranslucencyMode() and remove the entirely superfluous TRANSLUCENCY_MODE abstraction.
Merge the ivis_common and ivis_opengl directories, only five years and two months after I originally split them apart.
simplipie: Add warning when not all polygons in a mesh do not use the same number of frames for texture animation.
Merge the two variants of piestate.cpp; it too confusing to keep two files with the same name doing almost the same thing.
Slight optimization: Now we draw the entire model within the same glBegin .. glEnd pair.
Remove support for non-triangle polygons in model files.
simplipie: Fix error when fixing face culling and tessellation at the same time.
Tessellate features, effects and other models.
Tessellate components.
Tessellate all structure models.
simplipie: Fix missing space in frame animation directive print out.
simplipie: Add support for triangle tessellation
...
2011-01-01 12:29:17 -05:00
Per Inge Mathisen
53242e1571
Remove some unused legacy code from the old terrain renderer and TERRAIN_VERTEX.
2011-01-01 16:29:49 +01:00
cybersphinx
d2499aa9cc
Die, ivis_common, die\!
2011-01-01 14:51:53 +01:00
Per Inge Mathisen
e6c3408d75
Remove some unnecessary oil resource hacks, including flattening to terrain. Please do not put oil resources on sloped ground. It looks stupid even when flattened.
2011-01-01 13:20:56 +01:00
Per Inge Mathisen
e29bb60fff
Fix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm.
2011-01-01 13:08:43 +01:00
Per Inge Mathisen
7bd5723715
Remove the unused specular parameter to pie_Draw3DShape. It was always WZCOL_BLACK.
2011-01-01 12:58:14 +01:00
Per Inge Mathisen
9b6e542bfa
Remove pietoaster
2010-12-31 23:42:53 +01:00
Per Inge Mathisen
724cd69882
Define the default fog colour in the palette file instead of hard-coded.
2010-12-31 23:42:21 +01:00
Per Inge Mathisen
178569f364
Remove the "AI experience" code, which has not been used by the last four AI scripters. Existing savegames may be broken by this.
2010-12-31 23:19:28 +01:00
Per Inge Mathisen
e27ac240be
Inline pie_SetTranslucencyMode() and remove the entirely superfluous TRANSLUCENCY_MODE abstraction.
2010-12-31 23:02:20 +01:00
Per Inge Mathisen
67e9635f9f
Merge the ivis_common and ivis_opengl directories, only five years and two months after I originally split them apart.
2010-12-31 22:37:14 +01:00
Per Inge Mathisen
b15addfcf1
simplipie: Add warning when not all polygons in a mesh do not use the same number of frames for texture animation.
2010-12-31 22:26:45 +01:00
Per Inge Mathisen
1c0af54edf
Merge the two variants of piestate.cpp; it too confusing to keep two files with the same name doing almost the same thing.
2010-12-31 22:18:45 +01:00
Per Inge Mathisen
2e6332ca8c
Slight optimization: Now we draw the entire model within the same glBegin .. glEnd pair.
2010-12-31 18:59:41 +01:00
Per Inge Mathisen
88fe0bcb2e
Remove support for non-triangle polygons in model files.
2010-12-31 18:22:22 +01:00
Per Inge Mathisen
3d7a7b397b
simplipie: Fix error when fixing face culling and tessellation at the same time.
2010-12-31 18:20:51 +01:00
Per Inge Mathisen
e5edaeabfd
Tessellate features, effects and other models.
2010-12-31 17:46:08 +01:00
Per Inge Mathisen
d73adb4a90
Tessellate components.
2010-12-31 17:36:14 +01:00
Per Inge Mathisen
961d38b6ab
Tessellate all structure models.
2010-12-31 17:20:29 +01:00
Per Inge Mathisen
22bbd8dd51
simplipie: Fix missing space in frame animation directive print out.
2010-12-31 17:12:17 +01:00
Per Inge Mathisen
2133cd5ec6
simplipie: Add support for triangle tessellation
2010-12-31 16:53:05 +01:00
Per Inge Mathisen
612872a437
Remove unused variable, clean up some indentation.
2010-12-31 16:53:05 +01:00
cybersphinx
663b3e69ee
Add semperfi to the nsis installer.
...
Untested.
2010-12-30 23:59:22 +01:00
cybersphinx
e6324cd4c4
Update Windows cross-build dependencies.
...
freetype 2.4.4
libogg 1.2.2
libpng 1.4.5
2010-12-30 23:34:15 +01:00
cybersphinx
ffaaf87c8b
Unignore build_tools.
2010-12-30 23:34:15 +01:00
cybersphinx
00cf0767ba
Get rid of force-linker.cpp.
...
Shouldn't be needed anymore since everything is C++ now.
2010-12-30 23:34:15 +01:00
Freddie Witherden
7b7b2b8e0e
Fix a section-titling bug in the inifile code.
2010-12-30 21:17:18 +00:00
Freddie Witherden
5362cf2217
Fix compilation under GCC 4.5.
...
Previously, _WZ_ASSERT_ARRAY_EXPR_FUNCTION would return NULL
((void *) 0) for a function with a declared return type of char.
2010-12-30 20:45:35 +00:00
Cyp
ffe096fea4
Make zoom rate when scrolling framerate-independent.
2010-12-30 00:58:55 +01:00
Cyp
5c4b81fa63
Make C++ WZ_ASSERT_STATIC_STRING a compile-time check without using typeid, make C++ WZ_ASSERT_ARRAY_EXPR work.
2010-12-30 00:58:55 +01:00
Freddie Witherden
fca489ce42
Iniparser rewrite as per ticket #2012 .
...
This code completely replaces the old iniparser with a new,
cleaner API. All existing uses of the old code have been ported.
The Xcode and MSVC projects will require updating.
2010-12-29 21:17:12 +00:00
Per Inge Mathisen
7d1e719e13
Remove hard-coded limit for number of polygons in models. This limit is now only relevant for delivery point, oil resource and wall models.
2010-12-29 12:46:10 +01:00
Per Inge Mathisen
b72332ba42
Simplify shadow rendering for objects by removing unused/useless hacks for droid transport.
2010-12-29 12:44:18 +01:00
Per Inge Mathisen
086a0fd4bc
Add new PIE flag 0x00001000 that specifies that the PIE model should not be stretched to fit to terrain.
2010-12-29 10:57:38 +01:00
Per Inge Mathisen
4eed3bef79
Remove the now obsolete distinction between configurable FPS rates for MP and campaign. Up the maximum FPS to 500 from 200.
...
To change the max fps rate now change only the "framerate" line. Patch reviewed by Cyp.
2010-12-29 00:24:45 +01:00
Per Inge Mathisen
06ab993d26
Remove some dead code
2010-12-29 00:07:53 +01:00
Per Inge Mathisen
aafe14fbc2
Add separate shader for models rendered for buttons to remove lighting effects from those.
...
Add support for per-pixel lighting. Patch reviewed by SafetyOff.
2010-12-28 23:35:57 +01:00
Per Inge Mathisen
af59954767
Do not spend value resources shading the backsides of polygons or setting irrelevant GL states.
2010-12-27 16:53:13 +01:00