1
0
Commit Graph

1323 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
2fa4993cad MultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1410 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24 14:35:13 +00:00
madmaxoft@gmail.com
7d039dfa90 Added a (commented-out) performance test for biome generator
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1409 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24 14:34:24 +00:00
madmaxoft@gmail.com
817b9ba235 Noise: Removed the reference to Noise.inc
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1408 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24 14:33:47 +00:00
nielsbreu@gmail.com
e0e9360f25 Fixed bug where you could not use /time day/night
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1407 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-23 20:20:01 +00:00
madmaxoft@gmail.com
0e7b64eed2 HeiGenBiomal: interpolate in 4x4 blocks on float values
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1406 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 20:12:04 +00:00
madmaxoft@gmail.com
9fdc7219f0 Fixed underwater sand / dirt generator noise frequency
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1405 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:59:41 +00:00
madmaxoft@gmail.com
d852ea78f9 Generator: Added notes of failed optimization attempts
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1404 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:27:15 +00:00
madmaxoft@gmail.com
7624d4ed81 VC2008 project file: enabled multi-threaded compilation of Release and Release-profiled targets
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1403 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:26:39 +00:00
madmaxoft@gmail.com
cffe84657d Noise: Implemented 2D Perlin noise, removed unused parameters.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1402 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:25:57 +00:00
madmaxoft@gmail.com
8687931a97 Added a (commented-out) performance test for cHeiGenBiomal and cCompoGenBiomal
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1401 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 18:56:36 +00:00
keyboard.osh@gmail.com
de03dd6460 Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 07:18:03 +00:00
madmaxoft@gmail.com
c97851adc6 Fixed Profiled Release build (missing preprocessor macro for static XML compilation)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1399 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-21 17:18:59 +00:00
nielsbreu@gmail.com
fd4f5b0ce5 Simplified onkilling.lua and added /time set and /time add
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1398 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-20 08:49:41 +00:00
madmaxoft@gmail.com
fd534d18f1 Slight performance improvements in cWorld::DoExplosiontAt()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1397 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-19 08:32:55 +00:00
madmaxoft@gmail.com
9b9a37e507 Fixed Linux compilation, slight code cleanup
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-19 08:21:39 +00:00
keyboard.osh@gmail.com
0ceadbe7e0 cPlayer now uses BroadcastMovementUpdate during its Tick function
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1395 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-19 04:32:18 +00:00
keyboard.osh@gmail.com
01b7c1fbfb Added BlockTNT.h to VC project file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1394 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18 12:56:27 +00:00
madmaxoft@gmail.com
fe601fd3e7 Added TNTEntity to VC project file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1393 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18 12:13:26 +00:00
keyboard.osh@gmail.com
b75fc5f4e8 Initial implementation of explosions and TNT block
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18 02:42:45 +00:00
madmaxoft@gmail.com
a4be800a91 Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1391 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17 20:57:05 +00:00
madmaxoft@gmail.com
0d0df94eb8 Making float the default datatype for noise calculation (it's faster on ARM and same-speed on x86)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1390 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17 12:47:11 +00:00
madmaxoft@gmail.com
af7f8658e6 NoiseTest: Added a linux makefile (Tested on RasPi)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1389 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17 12:46:27 +00:00
madmaxoft@gmail.com
70b79bb9ff Added a test program for the new noise
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1388 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-16 20:48:13 +00:00
madmaxoft@gmail.com
0a7c2d3146 Implemented the new cCubicNoise in 2D
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-16 20:47:43 +00:00
madmaxoft@gmail.com
f5842062d3 Proper entity removal functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1386 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-13 21:28:55 +00:00
madmaxoft@gmail.com
a49c004278 Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-13 21:02:10 +00:00
madmaxoft@gmail.com
58fb05980d Fixed a bit of coding style and function names in cItem
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1384 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-11 10:05:53 +00:00
madmaxoft@gmail.com
dc878898f3 Dispensers rewritten to use ItemGrid
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1383 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 21:40:30 +00:00
madmaxoft@gmail.com
1fbc77f9ed Fixed gcc build
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1382 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 21:25:26 +00:00
madmaxoft@gmail.com
929d299965 ItemGrid: Renamed all Item to Slot - better and consistent naming
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1381 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 21:03:15 +00:00
madmaxoft@gmail.com
cc26f16463 Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.
http://forum.mc-server.org/showthread.php?tid=831

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 19:52:03 +00:00
madmaxoft@gmail.com
c603180470 Fixed Windows Release build
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1379 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 07:53:52 +00:00
madmaxoft@gmail.com
995c8d97e6 Added a makefile switch for 32bit-on-64bit compilation, addm32
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1378 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 07:42:39 +00:00
faketruth
cec6bba19f git-svn-id: http://mc-server.googlecode.com/svn/trunk@1377 0a769ca7-a7f5-676a-18bf-c427514a06d6 2013-04-09 20:28:57 +00:00
madmaxoft@gmail.com
46197e3be6 Fixed chunk possibly writing to uninitialized memory
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1376 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-09 19:25:19 +00:00
madmaxoft@gmail.com
9687041b14 Fixed Expat / LuaExpat compilation for Linux
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1375 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-09 13:53:54 +00:00
madmaxoft
48cec90c3f Added Expat and LuaExpat, XML parsing now available in the API.
FS #336
Windows version only, Linux to be fixed soon.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-09 13:43:24 +00:00
madmaxoft@gmail.com
a144681155 Removed an unneeded FTP command template file. ncftp supports everything on the commandline.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1373 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-08 20:52:55 +00:00
madmaxoft@gmail.com
7741b9a20f Updated the Nightbuild script for passive ftp client
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1372 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-08 20:49:53 +00:00
madmaxoft@gmail.com
ee1e0d0eff Fixed linux compilation in regard to SQLite dependency on libdl
For some reason newer G++ linker requires libraries to come after object files, yuck!

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1371 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 21:15:10 +00:00
madmaxoft@gmail.com
f10386bad5 Anvil loader: fixed Vanilla biomes not being read
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1370 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 21:04:54 +00:00
madmaxoft@gmail.com
905cc96dff Fixed an assert in entities when destroying an entity without ever initializing it
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1369 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 21:04:23 +00:00
madmaxoft@gmail.com
499962029a Added SQLite and LuaSQLite, Lua plugins can now use SQLite.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 19:28:32 +00:00
keyboard.osh@gmail.com
92e782068f Fixed bug in entities movement: Corrected proper flooring of double values for the relative move packet, and teleport packet. Also, made the velocity packet to be sent first than the positions packets.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1367 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 06:53:17 +00:00
madmaxoft@gmail.com
34f93de4f9 Mineshafts: randomized start position, tweaked default generator parameters; removed debugging glass pillars.
Mineshafts can be considered finished.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1366 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 21:53:28 +00:00
madmaxoft@gmail.com
502935c061 Mineshafts: Added random loot to generated chests and fixed chest direction
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 21:21:57 +00:00
nielsbreu@gmail.com
8050c89fab Added a tab in the serversettings where you can edit the world.ini of all your worlds.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1364 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 19:44:15 +00:00
madmaxoft@gmail.com
2006de2217 Cobwebs are now washed away by water and can be broken by swords and shears, giving string.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1363 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 18:20:06 +00:00
madmaxoft@gmail.com
98afdb03a8 Mineshafts: Added a (nonworking) mob spawner in cobweb spider nests.
Since MCServer doesn't support spawners yet, it has a default pig inside and doesn't spawn anything.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1362 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 17:03:28 +00:00
madmaxoft@gmail.com
318f7df037 MineShafts: made cobwebs less thick
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1361 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 16:53:02 +00:00