Skip to content

Commit 76fa837

Browse files
author
s.kushnirenko
committed
imagepack: moved temple ra pack from code to config, based on 32000 idx
1 parent d09a1ad commit 76fa837

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

src/graphics/image.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ bool image_load_paks() {
174174
// the 5 Temple Complex paks.
175175
// <--- original temple complex pak here
176176
data.temple_paks.push_back(new imagepak("Temple_nile", 15591));
177-
data.temple_paks.push_back(new imagepak("Temple_ra", 15591));
178177
data.temple_paks.push_back(new imagepak("Temple_ptah", 15591));
179178
data.temple_paks.push_back(new imagepak("Temple_seth", 15591));
180179
data.temple_paks.push_back(new imagepak("Temple_bast", 15591));

src/graphics/image_groups.h

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ enum e_pack {
1919
//
2020
PACK_MASTABA,
2121
//
22+
PACK_TEMPLE_RA,
23+
//
2224
PACK_CUSTOM,
2325
};
2426

src/js/js_constants.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ void js_register_collection_images(js_State *J) {
3939
REGISTER_GLOBAL_CONSTANT(J, PACK_EXPANSION);
4040
REGISTER_GLOBAL_CONSTANT(J, PACK_EXPANSION_SPR);
4141
REGISTER_GLOBAL_CONSTANT(J, PACK_MASTABA);
42+
REGISTER_GLOBAL_CONSTANT(J, PACK_TEMPLE_RA);
4243
REGISTER_GLOBAL_CONSTANT(J, PACK_CUSTOM);
4344
}
4445

src/scripts/imagepaks.js

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ imagepaks = [
77
{id: PACK_TERRAIN, name:"Pharaoh_Terrain", index:14252, system:false}, // 14252 --> 15767 (+64)
88
{id: PACK_SPR_AMBIENT, name:"SprAmbient", index:15831, system:false}, // 15831 --> 18765
99
{id: PACK_MASTABA, name:"mastaba", index:25000, system:false}, // 23735 --> 23735 + 429
10+
{id: PACK_TEMPLE_RA, name:"Temple_ra", index:32000, system:false}, // 32000 --> 32000 + 239
1011
//{id: PACK_CUSTOM, name:"Pharaoh_Custom", index:30000, system:false, custom:true}, // 30000 -->
1112
]

src/scripts/images.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ small_statue_images = [
55
{pack: PACK_GENERAL, id: 61, offset:5},
66
{pack: PACK_EXPANSION, id: 37, offset:1},
77
{pack: PACK_EXPANSION, id: 37, offset:5},
8+
{pack: PACK_TEMPLE_RA, id: 1, offset:27},
89
]
910

1011
medium_statue_images = [

0 commit comments

Comments
 (0)