Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Get light from chunk
Post: RE: Get light from chunk
It's not a big deal :
- BlockDataReader is proposing a pure virtual read(Chunk&, BlockId) method, that is implemented by BlockTypeReader, BlockMetaReader, BlockLightReader, BlockDayLightReader.... wha... |
|
mgueydan |
Development
|
5 |
5,003 |
09-11-2013, 02:02 AM |
|
|
Thread: Get light from chunk
Post: RE: Get light from chunk
I see what you mean,
In order to achieve your proposal, and as I'm not a fan of copy-paste, I propose a refactoring of this part of cChunk (and cChunkMap in fact) that would use polymorphism to in... |
|
mgueydan |
Development
|
5 |
5,003 |
09-11-2013, 01:08 AM |
|
|
Thread: Get light from chunk
Post: Get light from chunk
Hello,
I searched how to get chunk enlightenment in order to make mobs spawn right, but founded it nowhere.
Even Sugarcane and Pumpkins seems not to need light to grow.
As you mentioned earl... |
|
mgueydan |
Development
|
5 |
5,003 |
09-08-2013, 09:08 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
The pull request is done.
I'm hoping for advices now.
Diving into it again made me see some changes to do.
I made some and "TODO"-flaged the others. |
|
mgueydan |
Development
|
25 |
17,336 |
09-08-2013, 12:15 PM |
|
|
Thread: Moving physics from Tick to HandlePhysics
Post: RE: Moving physics from Tick to HandlePhysics
tigerw Wrote: (08-30-2013, 07:58 PM)
--
Bonjour!
--
Hey hello, are you French ? |
|
mgueydan |
Development
|
22 |
15,518 |
09-08-2013, 08:38 AM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
Wow guys you did a lot of work during those 2 month.
Congratulations.
I just found some comment inside my code, that made me smile :
//MG TODO : see if the eMobType type can be pushed inside cMonste... |
|
mgueydan |
Development
|
25 |
17,336 |
09-08-2013, 04:50 AM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
I'm doing this this week-end |
|
mgueydan |
Development
|
25 |
17,336 |
09-07-2013, 09:53 PM |
|
|
Thread: Developing on Linux
Post: RE: Developing on Linux
Hello,
>Have any of you developed for this project using Eclipse for C++, for instance?
Not a good experience of CDT, but i heared it evolved alot.
I've done some minor work two month ago, on ... |
|
mgueydan |
Development
|
5 |
5,448 |
09-07-2013, 09:52 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
|
mgueydan |
Development
|
25 |
17,336 |
08-01-2013, 09:05 PM |
|
|
Thread: Get rid of config files from git repo?
Post: RE: Get rid of config files from git repo?
Not sure about the used ones.
Maybe it worth a renaming as "settings.ini.sample" ?
I wonder what will happen to the guy that is, for the first time, pulling the whole thing and not able to make it w... |
|
mgueydan |
Development
|
5 |
5,589 |
08-01-2013, 09:04 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
Sorry for the silence.
Another project is comming in front-line (with release date on the 31 August)
I shouldn't have underestimate the first correction time.
What's sure, is that I WILL do tese corr... |
|
mgueydan |
Development
|
25 |
17,336 |
08-01-2013, 08:21 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
xoft Wrote: (07-19-2013, 05:42 AM)
--
I'm assuming it's quite huge. Just don't over-do it :)
--
You're right. I wasn't able to find "baby steps".
Plus the patch is not perfectly clean it include t... |
|
mgueydan |
Development
|
25 |
17,336 |
07-19-2013, 08:05 AM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
Sorry guys.
There is still alot of work to do on this subject, and I may will, but as I do not intend to go inside a tunnel thing, it post a patch right now. As the version is stable.
Major issu... |
|
mgueydan |
Development
|
25 |
17,336 |
07-19-2013, 04:06 AM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
|
mgueydan |
Development
|
25 |
17,336 |
07-11-2013, 09:06 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
xoft Wrote: (07-11-2013, 12:12 AM)
--
How did you move the mob ticking into cWorld? The mobs are owned by the chunk that they belong to, I have rewritten it to be so for various reasons, so ticking t... |
|
mgueydan |
Development
|
25 |
17,336 |
07-11-2013, 02:06 AM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
Plus the Monster::tick algorithm make all squids keep "jumping", because it defines "going in the wall" as going below Chunk::HeightMap.
And HeightMap defines height as the first non-air cube. |
|
mgueydan |
Development
|
25 |
17,336 |
07-11-2013, 12:41 AM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
This is almost done (still have to settle the Random business, that didn't convinced me + finalize my style-checks, as you guys seems to be careful on spaces and case).
For now, I got problems with t... |
|
mgueydan |
Development
|
25 |
17,336 |
07-10-2013, 11:04 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: RE: Mobs Spawn (and probably despawn and Tick)
Hello.
As mobs are suppose to spawn on Opaque block (i.e. non-transparent), I figured out that water was not inside g_BlockTransparent.
For now I hacked this with something like :
Code:
--
if (... |
|
mgueydan |
Development
|
25 |
17,336 |
07-09-2013, 11:13 PM |
|
|
Thread: Mobs Spawn (and probably despawn and Tick)
Post: Mobs Spawn (and probably despawn and Tick)
Hello,
Despite the default of communication on my side on the subject, I wanted you to know I'm still implementing the Mob Spawn.
It went far from starting point, as I had some trouble finding... |
|
mgueydan |
Development
|
25 |
17,336 |
07-08-2013, 08:27 PM |
|
|
Thread: Great job guys !!
Post: RE: Great job guys !!
Being more and more specific.
I read that :
- mobs spawn close to players
- mobs far from players doesn't move
- mobs really far from player have chance to despawn
- mobs really really far from... |
|
mgueydan |
Development
|
20 |
17,634 |
07-04-2013, 06:09 PM |