mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-06 13:59:59 +00:00
Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun
This commit is contained in:
commit
cc56292bc5
45 changed files with 1946 additions and 365 deletions
|
@ -330,6 +330,12 @@ enum
|
|||
MI_BOMB,
|
||||
MI_FINGERS,
|
||||
|
||||
MI_CUTOBJ01 = 185,
|
||||
MI_CUTOBJ02,
|
||||
MI_CUTOBJ03,
|
||||
MI_CUTOBJ04,
|
||||
MI_CUTOBJ05,
|
||||
|
||||
MI_CAR_DOOR = 190,
|
||||
MI_CAR_BUMPER,
|
||||
MI_CAR_PANEL,
|
||||
|
@ -345,6 +351,11 @@ enum
|
|||
NUM_DEFAULT_MODELS,
|
||||
};
|
||||
|
||||
enum{
|
||||
NUM_OF_SPECIAL_CHARS = 4,
|
||||
NUM_OF_CUTSCENE_OBJECTS = 5
|
||||
};
|
||||
|
||||
void InitModelIndices(void);
|
||||
void MatchModelString(const char *name, int16 id);
|
||||
|
||||
|
|
|
@ -875,6 +875,7 @@ CreateCarColourTexture(uint8 r, uint8 g, uint8 b)
|
|||
pixels[14] = b;
|
||||
pixels[15] = 0xFF;
|
||||
RwImageSetPixels(img, pixels);
|
||||
RwImageSetStride(img, 8);
|
||||
RwImageSetPalette(img, nil);
|
||||
RwImageFindRasterFormat(img, rwRASTERTYPETEXTURE, &width, &height, &depth, &format);
|
||||
ras = RwRasterCreate(width, height, depth, format);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue