Loic Blot
80a7408e4d
Fix a crash (assert) when client set serial version < 24 in INIT
...
When SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM
To resolve the problem:
* Create a different CLIENT_MIN_VERSION to handle this problem
* Remove the exception
* Use an assert in case of bad developer code
2015-01-27 16:55:25 +01:00
gregorycu
db3466dbe8
Water fixes
...
Change must_reflow to a deque
Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement.
Comment out unused variable
Optimisations to block offset calculations
2015-01-18 20:30:33 +10:00
Craig Robbins
9f65fd6819
Fix typo in mapblock.h
2014-12-12 20:46:37 +10:00
Craig Robbins
5b8855e83c
Remove most exceptions from getNode() (and variants)
2014-11-14 18:05:34 +10:00
proller
0279f32db7
Remove liquid_finite and weather
2014-04-18 21:56:48 +04:00
kwolekr
e396fb2984
Actually fix weather
...
The real problem was that MapBlocks were not activated before getting sent to the client
2013-11-17 01:59:04 -05:00
kwolekr
9bccd75e34
Weather: Clean up getHeat/getHumidity somewhat
2013-09-16 23:33:53 -04:00
Kahrl
4e1f50035e
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
proller
06cdce1e12
Weather backward compatibility
2013-08-02 00:51:36 +04:00
proller
3aedfac968
Weather support
2013-07-27 23:21:48 +04:00
Ilya Zhuravlev
6a1670dbc3
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
Sfan5
6d0ea26c2d
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
497ff1ecd6
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
Perttu Ahola
ee2d9d973a
Reorganize ClientMap rendering code for a bit more performance
...
- Don't select blocks for drawing in every frame
- Sort meshbuffers by material before drawing
2012-09-04 22:41:03 +03:00
Perttu Ahola
fd845f27f5
Fix map deserialization and remove old serialization code
2012-07-23 08:18:39 +03:00
darkrose
cd6becd442
Implement node timers
2012-07-23 08:18:37 +03:00
Perttu Ahola
9f031a6759
Optimize headers
2012-06-17 04:03:39 +03:00
Perttu Ahola
d0ea6f9920
Properly and efficiently use split utility headers
2012-06-17 02:40:36 +03:00
Perttu Ahola
037b259197
Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors
2012-06-05 18:54:07 +03:00
Kahrl
704782c95b
WIP node metadata, node timers
2012-06-03 22:31:00 +03:00
Perttu Ahola
02c035c548
Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed
2012-03-29 00:28:48 +03:00
Kahrl
807a0d313b
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
2012-03-15 21:45:44 +02:00
Kahrl
157a4cf18c
Node placement / mineral / serialization / iron freq / node_dig callback
...
- Node placement code moved to Lua
- Mineral system removed (added default:stone_with_coal and default:stone_with_iron).
- MapBlock and MapNode serialization updated.
- Mapgen: Frequency of iron increased.
- node_dig callback and related changes.
2012-01-22 17:24:50 +02:00
Kahrl
6a76c226e1
The huge item definition and item namespace unification patch (itemdef), see http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2012-01-12 06:10:39 +01:00
Perttu Ahola
842eb5da28
Replace old active block random node modifying things with actual ActiveBlockModifiers
2011-11-29 19:13:56 +02:00
Perttu Ahola
1b765b9740
Add reason parameter to setModified and print it out to verbosestream when saving block
2011-11-29 19:13:49 +02:00
Perttu Ahola
c0f6395cf0
Node definition names
2011-11-29 19:13:46 +02:00
Perttu Ahola
c6fd2986d4
GameDef compiles
2011-11-29 19:13:42 +02:00
Perttu Ahola
abceeee92f
Create framework for getting rid of global definitions of node/tool/item/whatever types
2011-11-29 19:13:41 +02:00
Perttu Ahola
3b77a63d5d
Allocate MapBlock::m_node_metadata on heap to allow less header bloat
2011-11-29 19:13:41 +02:00
Perttu Ahola
43a28f04fa
mobv2
2011-10-15 02:28:57 +03:00
Perttu Ahola
b60b58b627
Saner block modification flag operation for not saving everything always
2011-10-12 10:53:37 +03:00
Perttu Ahola
29d905f98a
Added a mapblock analyzing function for debugging use and fixed remaining mapgen bugs
2011-07-24 12:09:33 +03:00
Perttu Ahola
2915bd5518
more reorganizing of map code
2011-06-26 01:31:43 +03:00
Perttu Ahola
7538b4c620
New map generator added (and SQLite, messed up the commits at that time...) (import from temporary git repo)
2011-06-25 04:25:14 +03:00
Perttu Ahola
5ac900ddd9
Changed MapBlockObjects to be never written anymore. Incremented version number.
2011-06-18 15:16:35 +03:00
Perttu Ahola
682c9d8e7d
Moved stuff from mapblock{h,cpp} to mapblock_mesh.{h,cpp} and content_mapblock.{h,cpp}
2011-06-17 23:20:31 +03:00
Perttu Ahola
9b565b6bc4
tried to reduce unnecessary map saving disk i/o a bit
2011-06-05 18:57:36 +03:00
Perttu Ahola
0af5311538
Preliminary "active block" stuff + set up test code to grow grass.
2011-05-22 17:00:09 +03:00
Perttu Ahola
5a4d8ffad3
implemented rats in new system to verify that it works
2011-04-10 15:16:27 +03:00
Perttu Ahola
fd7a0735c9
new object system
2011-04-10 04:15:10 +03:00
Perttu Ahola
a9f89fb3fb
now the server builds
2011-04-04 05:25:55 +03:00
Perttu Ahola
2f466726e6
Made a proper queued thread to client for handling some block mesh updates. Also made client mutex-free to allow easier adding of new stuff.
2011-04-04 02:05:12 +03:00
Perttu Ahola
e0f7bd4d57
Modified block mesh generation to have clearer input and output. Instead of being a messy object oriented cludge, it now is a messy cludge with separate parameters.
2011-04-03 19:50:54 +03:00
Perttu Ahola
01c2b003e1
commit before some more radical changes
2011-04-03 16:21:06 +03:00
Perttu Ahola
ee89e29ae1
Revert mapgen to best working version (2)
2011-04-03 12:14:23 +03:00
Perttu Ahola
bc66bb2d40
Mapgen is better now. Not a lot, but a bit!
2011-04-02 20:55:22 +03:00
Perttu Ahola
6e196c2ce4
partly working chunk-based map generator (doesn't save properly, spawn is pretty random)
2011-02-01 03:06:02 +02:00
Perttu Ahola
be851871cd
map generation framework under development... not quite operational at this point.
2011-01-30 01:44:54 +02:00
Perttu Ahola
d44abdab17
minecraft-style water done (but no texture animation or sound)
2011-01-17 21:15:31 +02:00
Perttu Ahola
0fa0e0752a
old water removed, some fixes here and there
2011-01-17 14:57:37 +02:00
Perttu Ahola
a176f9eb36
generate-time lighting optimization
2011-01-15 13:50:13 +02:00
Perttu Ahola
847a4227b8
better grass generation (integration to sunlight propagation algorithms)
2010-12-26 14:34:34 +02:00
Perttu Ahola
03d67af9e8
a mutex added to TempMods which hopefully fixes rare segfaults on client
2010-12-23 10:29:09 +02:00
Perttu Ahola
3f5bad938a
organizing stuff.
2010-12-21 18:08:24 +02:00
Perttu Ahola
3b0bff2f74
Cracking blocks while digging
2010-12-21 02:25:47 +02:00
Perttu Ahola
6350c5d7a6
some tinkering with gui. removed updating of configuration file at end
2010-12-20 14:59:21 +02:00
Perttu Ahola
ab7477c4c3
added dedicated server build without irrlicht
2010-12-19 19:11:05 +02:00
Perttu Ahola
0ca9423b8b
day/night working client side
2010-12-19 16:51:45 +02:00
Perttu Ahola
240499dc2c
before daynight mesh cache
2010-12-18 17:46:00 +02:00
Perttu Ahola
15a43c5ed0
before adding day/night lighting
...
--HG--
rename : data/light.png => data/cloud.png
2010-12-18 13:10:37 +02:00
Perttu Ahola
47f76d8a51
grass edges workin'
2010-12-14 00:29:32 +02:00
Perttu Ahola
626ed6338a
in before messing with face drawing orientation
2010-12-14 00:21:18 +02:00
Perttu Ahola
3ac2abb0b5
commit before content-tile separation
2010-12-13 21:32:35 +02:00
Perttu Ahola
571fb14f94
working nicely
2010-12-13 03:19:12 +02:00
Perttu Ahola
2a0d1a059e
commit before some radicallish changes to water behavior
2010-12-11 18:11:03 +02:00
Perttu Ahola
fc26dcdb19
license stuff
...
--HG--
rename : src/licensecomment.txt => licensecomment.txt
2010-11-29 20:13:04 +02:00
Perttu Ahola
c707e00195
sitä sun tätä tekeillä, toimii kivasti
2010-11-29 10:52:07 +02:00
Perttu Ahola
24c4b7c68d
Working version before block send priorization update
2010-11-27 17:18:34 +02:00
Perttu Ahola
4e249fb3fb
Initial files
2010-11-27 01:02:21 +02:00