.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old January 4th, 2016, 08:49 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 6,000
Thanks: 492
Thanked 1,934 Times in 1,259 Posts
Mobhack is on a distinguished road
Default Re: End Game

This end turn checking is original SSI code, so it's a bit impenetrable to understand for someone who is not the original programmer.

But it is written to allow for a few extra turns before it quits - i.e. random ending. Since this game is quite near the end, then that bit may have kicked in on you.

Also, since its a teensy-weensy little map with a shotgun pattern of V-hexes then the SSI code just may well be measuring one of the off map (-1,-1) units as being within 10 (or whatever the magic number is) hexes away from one of these splattered V-hexes. I'll know more, once I test it a bit later this year.

Thanks for the game - I'll be using it as an edge test example to try to figure out what the original code is trying to do. It may be a simple fix, or I may simply recode it with something that makes sense to me...
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.