warzone2100:mainline.git
4 years agoRevert "Testing goes on." lua2
vexed [Wed, 20 Feb 2013 04:51:25 +0000 (23:51 -0500)]
Revert "Testing goes on."

This reverts commit 3d41a778d105363a9b6c45aa68489482b66f7a42.

    Testing goes on.

    closes ticket:3957

4 years agoTesting goes on.
vexed [Wed, 20 Feb 2013 04:18:22 +0000 (23:18 -0500)]
Testing goes on.

closes ticket:3957

4 years agoIn light of the added Malbolge, we now add APL support for more testing love.
vexed [Wed, 20 Feb 2013 03:45:22 +0000 (22:45 -0500)]
In light of the added Malbolge, we now add APL support for more testing love.

closes ticket:3957

4 years agoPort all Lua scripts to Malbolge.
Cyp [Tue, 19 Feb 2013 21:36:39 +0000 (22:36 +0100)]
Port all Lua scripts to Malbolge.

Reopens ticket:3597.

4 years agostill testing.
vexed [Tue, 19 Feb 2013 04:27:12 +0000 (23:27 -0500)]
still testing.

refs:3957

4 years agoRevert "Nexus synaptic circuits has detected an abnormality and has issued a test."
vexed [Tue, 19 Feb 2013 02:20:50 +0000 (21:20 -0500)]
Revert "Nexus synaptic circuits has detected an abnormality and has issued a test."

This reverts commit c4b8491b53c7fac3dcd70f3f9cd6547ae7e1db94.
closes ticket:3597

4 years agoNexus synaptic circuits has detected an abnormality and has issued a test.
vexed [Tue, 19 Feb 2013 02:02:19 +0000 (21:02 -0500)]
Nexus synaptic circuits has detected an abnormality and has issued a test.

This is only a test.

closes ticket:3597

6 years agoMerge remote branch 'origin/master' into lua2
Cyp [Sat, 15 Jan 2011 21:34:16 +0000 (22:34 +0100)]
Merge remote branch 'origin/master' into lua2

Conflicts:
lib/framework/cursors.h
lib/framework/frameresource.cpp
lib/script/script.h
src/Makefile.am
src/data.cpp
src/game.cpp
src/messagedef.h
src/scriptai.cpp
src/scriptai.h
src/scriptcb.h
src/scriptextern.cpp
src/scriptextern.h
src/scriptfuncs.cpp
src/scriptfuncs.h
src/scriptobj.h
src/scripttabs.cpp
src/scripttabs.h
win32/Warzone2100.sln

6 years agoUpdate translations.
cybersphinx [Sat, 15 Jan 2011 18:54:32 +0000 (19:54 +0100)]
Update translations.

6 years agoSet never-interactive option in lexers so that Flex doesn't use isatty() function...
safety0ff [Sat, 15 Jan 2011 18:08:07 +0000 (13:08 -0500)]
Set never-interactive option in lexers so that Flex doesn't use isatty() function from unistd.
Define YY_NO_UNISTD_H when no unistd.h is detected.
Remove attempt to fix isatty error on Windows introduced in  2f780609.

6 years agoorderGroupObj and orderGroupLoc in group.h replaced by an overload of orderGroup.
littlepig [Sat, 15 Jan 2011 14:42:59 +0000 (14:42 +0000)]
orderGroupObj and orderGroupLoc in group.h replaced by an overload of orderGroup.

6 years agoMake sure host gets to join his own game.
Per Inge Mathisen [Sat, 15 Jan 2011 14:34:56 +0000 (15:34 +0100)]
Make sure host gets to join his own game.

6 years agoMake Dydo AI work with new MAX_PLAYERS limit.
Per Inge Mathisen [Sat, 15 Jan 2011 12:35:28 +0000 (13:35 +0100)]
Make Dydo AI work with new MAX_PLAYERS limit.

6 years agoAdd open/close buttons to pregame dialog. Basic support in netcode added. Closes...
Per Inge Mathisen [Sat, 15 Jan 2011 12:29:23 +0000 (13:29 +0100)]
Add open/close buttons to pregame dialog. Basic support in netcode added. Closes ticket:2435

6 years agoUpdate translations.
cybersphinx [Mon, 10 Jan 2011 18:48:12 +0000 (19:48 +0100)]
Update translations.

6 years agoMake a few more strings translatable.
cybersphinx [Mon, 10 Jan 2011 17:48:44 +0000 (18:48 +0100)]
Make a few more strings translatable.

6 years ago(BASE_OBJECT*), (BASE_OBJECT *), (BASE_STAT*) and (BASE_STAT *) casts removed where...
littlepig [Thu, 13 Jan 2011 21:59:07 +0000 (21:59 +0000)]
(BASE_OBJECT*), (BASE_OBJECT *), (BASE_STAT*) and (BASE_STAT *) casts removed where being redundant.

6 years agooverloaded actionDroid, subtituing 3 diferent functions: actionDroidObj; actionDroidL...
littlepig [Thu, 13 Jan 2011 19:20:56 +0000 (19:20 +0000)]
overloaded actionDroid, subtituing 3 diferent functions: actionDroidObj; actionDroidLoc and actionDriodObjLoc. All were substituted in all Src.

6 years agoFix non-host not being able to change slots, and being able to try to set AI difficul...
Cyp [Thu, 13 Jan 2011 15:58:28 +0000 (16:58 +0100)]
Fix non-host not being able to change slots, and being able to try to set AI difficulty level.

6 years agoFix not sending player info for players 8+.
Cyp [Thu, 13 Jan 2011 15:40:34 +0000 (16:40 +0100)]
Fix not sending player info for players 8+.

6 years agoFix crash on right-clicking or double-clicking structure blueprints.
Cyp [Thu, 13 Jan 2011 14:55:06 +0000 (15:55 +0100)]
Fix crash on right-clicking or double-clicking structure blueprints.

Probably fixes ticket:2441.

6 years agoMinor changes due to review by Per.
Cyp [Thu, 13 Jan 2011 14:39:24 +0000 (15:39 +0100)]
Minor changes due to review by Per.

And also readded some changes that got lost from nexus.slo somehow.

6 years agoBump MAX_PLAYERS to allow 10 normal players + 1 scavenger player.
Cyp [Wed, 5 Jan 2011 18:18:12 +0000 (19:18 +0100)]
Bump MAX_PLAYERS to allow 10 normal players + 1 scavenger player.

6 years agoAdd IMAGE_PLAYERN and IMAGE_TEAMN for N = 8..15.
Cyp [Mon, 3 Jan 2011 17:16:54 +0000 (18:16 +0100)]
Add IMAGE_PLAYERN and IMAGE_TEAMN for N = 8..15.

6 years agoAdd IMAGE_GN_N for N up to 15.
Cyp [Mon, 3 Jan 2011 14:27:06 +0000 (15:27 +0100)]
Add IMAGE_GN_N for N up to 15.

6 years agoReduce dependence on MAX_PLAYERS == 8.
Cyp [Mon, 3 Jan 2011 13:48:41 +0000 (14:48 +0100)]
Reduce dependence on MAX_PLAYERS == 8.

6 years agoRemove some dead code
Per Inge Mathisen [Thu, 13 Jan 2011 13:53:26 +0000 (14:53 +0100)]
Remove some dead code

6 years agoSend AI and difficulty changes to other players. Allow host and only host to change...
Per Inge Mathisen [Wed, 12 Jan 2011 21:44:14 +0000 (22:44 +0100)]
Send AI and difficulty changes to other players. Allow host and only host to change the position of other players and set AIs.

6 years agoRemove removed file from POTFILES.in
Per Inge Mathisen [Wed, 12 Jan 2011 20:47:03 +0000 (21:47 +0100)]
Remove removed file from POTFILES.in

6 years agoClean up a couple of loops very slightly.
Cyp [Mon, 10 Jan 2011 23:18:18 +0000 (00:18 +0100)]
Clean up a couple of loops very slightly.

6 years agoNo longer read wrf files specified directly from map files. Instead, call them direct...
Per Inge Mathisen [Wed, 12 Jan 2011 20:15:25 +0000 (21:15 +0100)]
No longer read wrf files specified directly from map files. Instead, call them directly from the code.
This saves us a lot of duplicate data, and reduces the amount of weird things a map can do. Reviewed by Cyp.

6 years agoRemove some dead code
Per Inge Mathisen [Wed, 12 Jan 2011 18:43:53 +0000 (19:43 +0100)]
Remove some dead code

6 years agoLoad scavenger script depending on scavenger button settings, not on wrf file settings.
Per Inge Mathisen [Wed, 12 Jan 2011 18:35:35 +0000 (19:35 +0100)]
Load scavenger script depending on scavenger button settings, not on wrf file settings.

6 years agoRemove unused or duplicate data files.
Per Inge Mathisen [Wed, 12 Jan 2011 18:33:14 +0000 (19:33 +0100)]
Remove unused or duplicate data files.

6 years agoFix assert failure and droid paralysis when multiweapons droids are set to pursue.
Per Inge Mathisen [Wed, 12 Jan 2011 18:16:42 +0000 (19:16 +0100)]
Fix assert failure and droid paralysis when multiweapons droids are set to pursue.

6 years agoNew difficulty icons by flail13
Per Inge Mathisen [Mon, 10 Jan 2011 20:29:53 +0000 (21:29 +0100)]
New difficulty icons by flail13

6 years agoDisable other GUI elements when in a team or colour chooser.
Per Inge Mathisen [Mon, 10 Jan 2011 18:58:00 +0000 (19:58 +0100)]
Disable other GUI elements when in a team or colour chooser.

6 years agoFix AI chooser, broken by last fix
Per Inge Mathisen [Mon, 10 Jan 2011 18:26:30 +0000 (19:26 +0100)]
Fix AI chooser, broken by last fix

6 years agoDisable ready button if for some reason all players end up on the same team.
Per Inge Mathisen [Mon, 10 Jan 2011 18:40:29 +0000 (19:40 +0100)]
Disable ready button if for some reason all players end up on the same team.

6 years agoForgot to commit the .ai file for Dydo.
Per Inge Mathisen [Mon, 10 Jan 2011 18:26:01 +0000 (19:26 +0100)]
Forgot to commit the .ai file for Dydo.

6 years agoFix position changer, broken by a bad git stash merge (presumably).
Per Inge Mathisen [Mon, 10 Jan 2011 18:15:27 +0000 (19:15 +0100)]
Fix position changer, broken by a bad git stash merge (presumably).

6 years agoRemove a ton of unused, script-related code, and lift the needless limit on 2000...
Per Inge Mathisen [Mon, 10 Jan 2011 17:39:44 +0000 (18:39 +0100)]
Remove a ton of unused, script-related code, and lift the needless limit on 2000 globals for all scripts combined.

6 years agoMake sure we save and load all the relevant skirmish info for AIs. Move .es files...
Per Inge Mathisen [Mon, 10 Jan 2011 16:59:44 +0000 (17:59 +0100)]
Make sure we save and load all the relevant skirmish info for AIs. Move .es files into the savegame dir. Breaks savegames again.

6 years agoNow that we are breaking savegames anyway, reset the MOVE_STATUS enum.
Per Inge Mathisen [Mon, 10 Jan 2011 16:59:21 +0000 (17:59 +0100)]
Now that we are breaking savegames anyway, reset the MOVE_STATUS enum.

6 years agoDisable spammy TODO.
Cyp [Mon, 10 Jan 2011 14:57:21 +0000 (15:57 +0100)]
Disable spammy TODO.

LOG_ERROR is apparently now spammed to the in-game console, making it less practical to put TODO comments in LOG_ERROR.

6 years agoSpanish translation update by Daniel Vijande.
cybersphinx [Mon, 10 Jan 2011 14:33:23 +0000 (15:33 +0100)]
Spanish translation update by Daniel Vijande.

Closes #2442.

6 years agoUpdate translations.
cybersphinx [Mon, 10 Jan 2011 13:59:13 +0000 (14:59 +0100)]
Update translations.

6 years agoFix biffer baker in skirmish.
Cyp [Mon, 10 Jan 2011 13:17:09 +0000 (14:17 +0100)]
Fix biffer baker in skirmish.

Broke in 92cd24faaa0cef0b1413fb8fefeeb4b281144844, since biffer baker is a hack that changes the game difficulty level.

Refs ticket:2441.

6 years agoNew script function getDifficulty(int) to find which difficulty level a given player...
Per Inge Mathisen [Sun, 9 Jan 2011 21:24:09 +0000 (22:24 +0100)]
New script function getDifficulty(int) to find which difficulty level a given player has. Also added four new
constants to check against: EASY, MEDIUM, HARD and INSANE. Semperfi modified to be less nasty in easy and medium
difficulty levels.

6 years agoInsane AI now always starts with defenses. Lets see if people like this.
Per Inge Mathisen [Sun, 9 Jan 2011 17:22:21 +0000 (18:22 +0100)]
Insane AI now always starts with defenses. Lets see if people like this.

6 years agoAdd GUI dialog for choosing which AI you want to play against. Move semperfi and...
Per Inge Mathisen [Sun, 9 Jan 2011 15:35:49 +0000 (16:35 +0100)]
Add GUI dialog for choosing which AI you want to play against. Move semperfi and dydo into main. Change difficulty
slider into four separate steps (Easy, Medium, Hard, Insane). Thanks to Cyp for review. For more info, see ticket:2435

6 years agoMisc fixes for ticket:2435 (cleanup, cosmetic) to reduce diffcount
Per Inge Mathisen [Sun, 9 Jan 2011 13:46:18 +0000 (14:46 +0100)]
Misc fixes for ticket:2435 (cleanup, cosmetic) to reduce diffcount

6 years agoFix desynch on unassigning droids from commander.
Cyp [Sun, 9 Jan 2011 04:21:32 +0000 (05:21 +0100)]
Fix desynch on unassigning droids from commander.

6 years agoFix newly built human-player droids being partially unassigned from commanders by...
Cyp [Sun, 9 Jan 2011 03:47:20 +0000 (04:47 +0100)]
Fix newly built human-player droids being partially unassigned from commanders by AI scripts.

And make all factory attributes be written to the new droids.

6 years agoUpdate translations.
cybersphinx [Sun, 9 Jan 2011 01:32:39 +0000 (02:32 +0100)]
Update translations.

6 years agoFix arbitrary 100 droid limit when changing droid settings.
Cyp [Sun, 9 Jan 2011 01:32:43 +0000 (02:32 +0100)]
Fix arbitrary 100 droid limit when changing droid settings.

Some damaged droids wouldn't retreat when setting the droid retreat level (and probably didn't get the setting, either).

Changelog: Setting droid retreat on damage now works, even if selecting more than 100 droids.

6 years agoOnly complain to the transport's owner about not enough room in the transport.
Cyp [Sat, 8 Jan 2011 23:00:13 +0000 (00:00 +0100)]
Only complain to the transport's owner about not enough room in the transport.

6 years agoDon't run the fixbrokendependencies script on every build.
cybersphinx [Sat, 8 Jan 2011 17:27:34 +0000 (18:27 +0100)]
Don't run the fixbrokendependencies script on every build.

6 years agoFix compilation with g++ 4.6.
cybersphinx [Fri, 7 Jan 2011 14:29:45 +0000 (15:29 +0100)]
Fix compilation with g++ 4.6.

Most of this just removes unused variables. Closes #2437.

6 years agoMake flex/bison build cpp files in the makefile.win32s.
cybersphinx [Sat, 8 Jan 2011 16:30:14 +0000 (17:30 +0100)]
Make flex/bison build cpp files in the makefile.win32s.

6 years agoRemove unused duplicates from campaign wz, and move three files only used in multipla...
Per Inge Mathisen [Sat, 8 Jan 2011 16:05:11 +0000 (17:05 +0100)]
Remove unused duplicates from campaign wz, and move three files only used in multiplayer to mp wz.

6 years agoRemove NetPlay.maxPlayers, since it was just a sometimes-correct copy of game.maxPlayers.
Cyp [Sat, 8 Jan 2011 14:49:30 +0000 (15:49 +0100)]
Remove NetPlay.maxPlayers, since it was just a sometimes-correct copy of game.maxPlayers.

6 years agoDon't let wall dragging affect where it's possible to build, unless bCheckBuildQueue...
Cyp [Sat, 8 Jan 2011 14:38:31 +0000 (15:38 +0100)]
Don't let wall dragging affect where it's possible to build, unless bCheckBuildQueue is true.

Probably fixes a desynch.

Also, removed unused outlineTile, outlineOK and outlineNotOK variables.

6 years agoFix autogame AIs building on top left corner of map, if not running on host.
Cyp [Fri, 7 Jan 2011 23:53:50 +0000 (00:53 +0100)]
Fix autogame AIs building on top left corner of map, if not running on host.

6 years agoUse Vector2i in MOVE_CONTROL.
Cyp [Fri, 7 Jan 2011 23:20:12 +0000 (00:20 +0100)]
Use Vector2i in MOVE_CONTROL.

6 years agoFix desynch when assigning non-artillery to commanders.
Cyp [Fri, 7 Jan 2011 18:18:12 +0000 (19:18 +0100)]
Fix desynch when assigning non-artillery to commanders.

Fixes ticket:2432 as a side effect.

6 years agoDon't delete pathfinding jobs before execution, even if the result is not wanted.
Cyp [Fri, 7 Jan 2011 17:17:01 +0000 (18:17 +0100)]
Don't delete pathfinding jobs before execution, even if the result is not wanted.

Pathfinding can return different paths (of the same length), depending on the order of execution of path jobs, due to caching.

This, combined with paths being deleted before execution could cause occasional hard to reproduce desynchs.

Probably fixes ticket:2374.

6 years agoFix std::vector initialised with NULL.
Cyp [Thu, 6 Jan 2011 08:42:49 +0000 (09:42 +0100)]
Fix std::vector initialised with NULL.

From 9cdf0c4e31df6b91345e31a29d23393d1e6293a1, gave a -Werror with gcc-4.5.*.

6 years agoUse more of MAX_PLAYERS in the code rather than plain numbers. Define MAX_PLAYERS...
Per Inge Mathisen [Wed, 5 Jan 2011 22:09:38 +0000 (23:09 +0100)]
Use more of MAX_PLAYERS in the code rather than plain numbers. Define MAX_PLAYERS for scripts. From patch by Cyp.

6 years agoAdd some comments on the stats loading.
Cyp [Tue, 4 Jan 2011 22:47:43 +0000 (23:47 +0100)]
Add some comments on the stats loading.

6 years agoRewrite stats loading for DROID_TEMPLATE.
Cyp [Sat, 1 Jan 2011 19:35:07 +0000 (20:35 +0100)]
Rewrite stats loading for DROID_TEMPLATE.

6 years agoRewrite stats loading for STRUCTURE_STATS.
Cyp [Fri, 31 Dec 2010 21:22:52 +0000 (22:22 +0100)]
Rewrite stats loading for STRUCTURE_STATS.

6 years agoRewrite stats loading for FEATURE_STATS.
Cyp [Sun, 26 Dec 2010 00:23:12 +0000 (01:23 +0100)]
Rewrite stats loading for FEATURE_STATS.

The same should be doable for all BASE_STATS.

6 years agoAdd missing minum32.pie, to match the .wrf files.
Cyp [Tue, 4 Jan 2011 22:09:12 +0000 (23:09 +0100)]
Add missing minum32.pie, to match the .wrf files.

(Deleted one too many, before.)

6 years agoBump max structure limits, now that UI supports them.
Cyp [Tue, 4 Jan 2011 17:46:49 +0000 (18:46 +0100)]
Bump max structure limits, now that UI supports them.

6 years agoAdd more assembly point graphics.
Cyp [Tue, 4 Jan 2011 17:22:06 +0000 (18:22 +0100)]
Add more assembly point graphics.

6 years agoFix parts of UI that break if increasing MAX_FACTORY.
Cyp [Tue, 4 Jan 2011 14:48:00 +0000 (15:48 +0100)]
Fix parts of UI that break if increasing MAX_FACTORY.

6 years agoThe colour chooser is now a proper button. The double-click kick is now gone (use...
Per Inge Mathisen [Tue, 4 Jan 2011 17:51:15 +0000 (18:51 +0100)]
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

6 years agoFix unused in-game kick message handling
Per Inge Mathisen [Mon, 3 Jan 2011 22:53:00 +0000 (23:53 +0100)]
Fix unused in-game kick message handling

6 years agoMake the xcode project work with the changes made in fca489ce4279c0679210ff2a9ba97858...
dak180 [Sun, 2 Jan 2011 21:28:46 +0000 (16:28 -0500)]
Make the xcode project work with the changes made in fca489ce4279c0679210ff2a9ba978587da76c2d1c0af54edf3db922553bf2f7592827e4efe0181467e9635f9f434af3c682a5ab8d2d85cb1bea584e & 178569f364fd91ea69ef7a173fdbc2fa6428002b.

6 years agoSet bsocket = NULL when host drops, hopefully reduce the chance of crashing.
Cyp [Sat, 1 Jan 2011 22:24:25 +0000 (23:24 +0100)]
Set bsocket = NULL when host drops, hopefully reduce the chance of crashing.

6 years agoStrip "Class::" from "Class::myFunction" when compiling with MSVC, in syncDebug().
Cyp [Sat, 1 Jan 2011 20:28:13 +0000 (21:28 +0100)]
Strip "Class::" from "Class::myFunction" when compiling with MSVC, in syncDebug().

Other compilers don't add the "Class::".

6 years agoChange (HANDLE)(HANDLE)hProcess to (HANDLE)hProcess
buginator [Sat, 1 Jan 2011 19:17:16 +0000 (14:17 -0500)]
Change (HANDLE)(HANDLE)hProcess to (HANDLE)hProcess

6 years agoFix a plethora of issues for MSVC builds
buginator [Sat, 1 Jan 2011 18:46:12 +0000 (13:46 -0500)]
Fix a plethora of issues for MSVC builds

Rename MERGECOPY to MERGECOPYSYNC to prevent clobbering of a windows function named that.

6 years agoMerge branch 'master' of github.com:Warzone2100/warzone2100
buginator [Sat, 1 Jan 2011 17:29:17 +0000 (12:29 -0500)]
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
  ...

6 years agoRemove some unused legacy code from the old terrain renderer and TERRAIN_VERTEX.
Per Inge Mathisen [Sat, 1 Jan 2011 15:28:16 +0000 (16:28 +0100)]
Remove some unused legacy code from the old terrain renderer and TERRAIN_VERTEX.

6 years agoDie, ivis_common, die\!
cybersphinx [Sat, 1 Jan 2011 13:50:35 +0000 (14:50 +0100)]
Die, ivis_common, die\!

6 years agoRemove some unnecessary oil resource hacks, including flattening to terrain. Please...
Per Inge Mathisen [Sat, 1 Jan 2011 12:20:56 +0000 (13:20 +0100)]
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.

6 years agoFix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm.
Per Inge Mathisen [Sat, 1 Jan 2011 12:08:43 +0000 (13:08 +0100)]
Fix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm.

6 years agoRemove the unused specular parameter to pie_Draw3DShape. It was always WZCOL_BLACK.
Per Inge Mathisen [Sat, 1 Jan 2011 11:58:14 +0000 (12:58 +0100)]
Remove the unused specular parameter to pie_Draw3DShape. It was always WZCOL_BLACK.

6 years agoRemove pietoaster
Per Inge Mathisen [Fri, 31 Dec 2010 22:42:53 +0000 (23:42 +0100)]
Remove pietoaster

6 years agoDefine the default fog colour in the palette file instead of hard-coded.
Per Inge Mathisen [Fri, 31 Dec 2010 22:42:21 +0000 (23:42 +0100)]
Define the default fog colour in the palette file instead of hard-coded.

6 years agoRemove the "AI experience" code, which has not been used by the last four AI scripter...
Per Inge Mathisen [Fri, 31 Dec 2010 22:19:28 +0000 (23:19 +0100)]
Remove the "AI experience" code, which has not been used by the last four AI scripters. Existing savegames may be broken by this.

6 years agoInline pie_SetTranslucencyMode() and remove the entirely superfluous TRANSLUCENCY_MOD...
Per Inge Mathisen [Fri, 31 Dec 2010 22:02:20 +0000 (23:02 +0100)]
Inline pie_SetTranslucencyMode() and remove the entirely superfluous TRANSLUCENCY_MODE abstraction.

6 years agoMerge the ivis_common and ivis_opengl directories, only five years and two months...
Per Inge Mathisen [Fri, 31 Dec 2010 21:37:14 +0000 (22:37 +0100)]
Merge the ivis_common and ivis_opengl directories, only five years and two months after I originally split them apart.

6 years agosimplipie: Add warning when not all polygons in a mesh do not use the same number...
Per Inge Mathisen [Fri, 31 Dec 2010 21:26:45 +0000 (22:26 +0100)]
simplipie: Add warning when not all polygons in a mesh do not use the same number of frames for texture animation.

6 years agoMerge the two variants of piestate.cpp; it too confusing to keep two files with the...
Per Inge Mathisen [Fri, 31 Dec 2010 21:18:45 +0000 (22:18 +0100)]
Merge the two variants of piestate.cpp; it too confusing to keep two files with the same name doing almost the same thing.

6 years agoSlight optimization: Now we draw the entire model within the same glBegin .. glEnd...
Per Inge Mathisen [Fri, 31 Dec 2010 17:59:41 +0000 (18:59 +0100)]
Slight optimization: Now we draw the entire model within the same glBegin .. glEnd pair.

6 years agoRemove support for non-triangle polygons in model files.
Per Inge Mathisen [Fri, 31 Dec 2010 17:22:22 +0000 (18:22 +0100)]
Remove support for non-triangle polygons in model files.

6 years agosimplipie: Fix error when fixing face culling and tessellation at the same time.
Per Inge Mathisen [Fri, 31 Dec 2010 17:20:51 +0000 (18:20 +0100)]
simplipie: Fix error when fixing face culling and tessellation at the same time.