Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] what are the arrays used for?

[DiscordArchive] what are the arrays used for?

[DiscordArchive] what are the arrays used for?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
04-30-2024, 09:02 AM
#11
Archived author: sudlud • Posted: 2024-04-30T09:02:51.180000+00:00
Original source

i have 10 gameobjects in 10 different locations, probably all 10 active at the same time. each has to use a different (const / never changing) array of 500 -2000 entries to play the fireworks show sequence
rektbyfaith
04-30-2024, 09:02 AM #11

Archived author: sudlud • Posted: 2024-04-30T09:02:51.180000+00:00
Original source

i have 10 gameobjects in 10 different locations, probably all 10 active at the same time. each has to use a different (const / never changing) array of 500 -2000 entries to play the fireworks show sequence

rektbyfaith
Administrator
0
04-30-2024, 09:03 AM
#12
Archived author: sudlud • Posted: 2024-04-30T09:03:26.877000+00:00
Original source

so i would not want to copy the arrays all the time, well let me grep my WIP code, maybe that makes it clearer
rektbyfaith
04-30-2024, 09:03 AM #12

Archived author: sudlud • Posted: 2024-04-30T09:03:26.877000+00:00
Original source

so i would not want to copy the arrays all the time, well let me grep my WIP code, maybe that makes it clearer

rektbyfaith
Administrator
0
04-30-2024, 09:04 AM
#13
Archived author: sudlud • Posted: 2024-04-30T09:04:18.455000+00:00
Original source

<https://github.com/sudlud/azerothcore-wotlk/blob/6256131296525b1955206d27e45d43d5437e85fe/src/server/scripts/Events/midsummer.cpp#L12050>
rektbyfaith
04-30-2024, 09:04 AM #13

Archived author: sudlud • Posted: 2024-04-30T09:04:18.455000+00:00
Original source

<https://github.com/sudlud/azerothcore-wotlk/blob/6256131296525b1955206d27e45d43d5437e85fe/src/server/scripts/Events/midsummer.cpp#L12050>

rektbyfaith
Administrator
0
04-30-2024, 09:05 AM
#14
Archived author: sudlud • Posted: 2024-04-30T09:05:35.409000+00:00
Original source

based on location I'm grepping a pointer to a std::vector with the appropriate show and use that from that point on. But the compiler complains that i should "put the large vectors on the heap instead"
rektbyfaith
04-30-2024, 09:05 AM #14

Archived author: sudlud • Posted: 2024-04-30T09:05:35.409000+00:00
Original source

based on location I'm grepping a pointer to a std::vector with the appropriate show and use that from that point on. But the compiler complains that i should "put the large vectors on the heap instead"

rektbyfaith
Administrator
0
04-30-2024, 09:06 AM
#15
Archived author: sudlud • Posted: 2024-04-30T09:06:37.250000+00:00
Original source

well the issue was that the 10 tables all have different sizes so I didn't know how to use a pointer or something to them
rektbyfaith
04-30-2024, 09:06 AM #15

Archived author: sudlud • Posted: 2024-04-30T09:06:37.250000+00:00
Original source

well the issue was that the 10 tables all have different sizes so I didn't know how to use a pointer or something to them

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)