Is it possible to have the Christmas Theme year-round? Is there a setting/Can one be made?
As a consequence of the forum being updated and repaired, the chatbox has been lost.
However, you can still come say hi on our Discord server!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote#pragma oncelist_num is the total number of entries in Atrius's free space table.
#import "includes.h"
class spacemanager
{
public:
static int list_num;
static int organizeList(int *list);
static int mapSpace(int *list);
static int findSpace(int *list, int size);
static int confirmSpace(int *list, int index, int size);
static int freeSpace(int *list, int pos, int size);
static int claimSpace( int *list, int pos, int size);
};
Quoteif (pos!=i)The bolded sections.... Do those ever happen? And if so how? Otherwise, is it free to remove without problems?
{
val=list[pos<<1];
size=list[(pos<<1)+1];
list[pos<<1]=list[i<<1];
list[(pos<<1)+1]=list[(i<<1)+1];
if (val==list[i<<1])
{ list[i<<1]=val|0x40000000; }
else
{ list[i<<1]=val; }
list[(i<<1)+1]=size;
}
if (list[i<<1]==list[(i-1)<<1])
{
list_num--;
for (ii=i; ii<list_num; ii++)
{
list[ii<<1]=list[(ii+1)<<1];
list[(ii<<1)+1]=list[((ii+1)<<1)+1];
}
list[list_num<<1]=0; list[(list_num<<1)+1]=0;
i--;
}
Page created in 0.254 seconds with 17 queries.