1
0
Commit Graph

571 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
63e68865b1 Made cobwebs transparent
git-svn-id: http://mc-server.googlecode.com/svn/trunk@731 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-14 08:32:23 +00:00
madmaxoft@gmail.com
18b04ab93f Added partial shift+click handling to the survival inventory
git-svn-id: http://mc-server.googlecode.com/svn/trunk@730 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11 19:54:57 +00:00
madmaxoft@gmail.com
9e3aadb7d0 Updated Bindings to match the new armor categories and torch metas
git-svn-id: http://mc-server.googlecode.com/svn/trunk@729 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11 19:49:36 +00:00
madmaxoft@gmail.com
b68163582c Added some stackable items in cItemHandler::GetMaxStackSize()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@728 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11 19:45:03 +00:00
madmaxoft@gmail.com
339992ffcd Added functions for armor item categories
git-svn-id: http://mc-server.googlecode.com/svn/trunk@727 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11 19:43:28 +00:00
madmaxoft@gmail.com
15a5031885 Added cItemHandler::GetMaxStackSize() with a very basic implementation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@726 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11 12:46:09 +00:00
madmaxoft@gmail.com
ecf6217ae9 Removed a useless include file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@725 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11 11:51:32 +00:00
madmaxoft@gmail.com
897733a58e Use named constants instead of magic values - block digging direction and torch placement
git-svn-id: http://mc-server.googlecode.com/svn/trunk@724 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-10 20:42:59 +00:00
madmaxoft@gmail.com
e6ac77a2c1 Fixed cacti and sugarcane not being placeable on themselves (FS #234, patch submitted by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@723 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-10 20:26:50 +00:00
madmaxoft@gmail.com
6711fcd636 Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@722 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-10 19:01:36 +00:00
madmaxoft@gmail.com
521087fc07 Torch placement handling (contributed by l0udPL)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@721 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-09 08:43:26 +00:00
madmaxoft@gmail.com
b53b40b561 Prepared WindowOwner class hierarchy for minecart with chest.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@719 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-07 12:05:35 +00:00
madmaxoft@gmail.com
e8366993ce A bit of cleanup and documentation around the UI window handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-06 20:10:16 +00:00
madmaxoft@gmail.com
3884503031 Fixed runtime crashes in generator on Raspberry Pi (damn picky gcc!)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@714 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-06 10:41:49 +00:00
madmaxoft@gmail.com
323612e5c0 BLOCKTYPE signedness change - fixed more details
git-svn-id: http://mc-server.googlecode.com/svn/trunk@713 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-06 10:36:20 +00:00
madmaxoft@gmail.com
2a72c5c838 Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-03 11:53:11 +00:00
madmaxoft@gmail.com
f670ff3690 Ravines: implemented proper caching - another 10 % in generator speedup :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@709 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 20:42:35 +00:00
madmaxoft@gmail.com
e49313202c DistortedVoronoi BiomeGen now uses 4x4 linear interpolation for distortion, 50 % speed increase in the chunk generator with a hardly noticeable change in biome shapes.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@708 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 20:15:03 +00:00
madmaxoft@gmail.com
41e7452dcc Chunk generator outputs its performance in chunks per second
git-svn-id: http://mc-server.googlecode.com/svn/trunk@707 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 17:51:04 +00:00
madmaxoft@gmail.com
f4bf435528 BiomeGen: cca 3% speedup
git-svn-id: http://mc-server.googlecode.com/svn/trunk@706 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 16:44:47 +00:00
madmaxoft@gmail.com
bd871e0848 Fixed *nix compilation for md5.cpp
git-svn-id: http://mc-server.googlecode.com/svn/trunk@705 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:38:34 +00:00
madmaxoft@gmail.com
9dc0e3c233 Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:07:22 +00:00
madmaxoft@gmail.com
0e7bef4452 Fixed warnings in md5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@703 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:03:04 +00:00
madmaxoft@gmail.com
e806198388 Fixed a few gcc warnings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@701 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28 12:21:50 +00:00
madmaxoft@gmail.com
015b3a5d19 Caves and Ravines: fixed compilation and linking issues on gcc
git-svn-id: http://mc-server.googlecode.com/svn/trunk@699 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28 12:20:36 +00:00
madmaxoft@gmail.com
5b69087b72 Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfg
git-svn-id: http://mc-server.googlecode.com/svn/trunk@698 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 21:00:11 +00:00
madmaxoft@gmail.com
ccd7e3f38c Basic WormNestCaves are working
git-svn-id: http://mc-server.googlecode.com/svn/trunk@697 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 18:37:37 +00:00
madmaxoft@gmail.com
b521456a01 Initial WormNestCaves commit. Won't generate caves, only the schematic for caves' centers.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@696 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 16:47:55 +00:00
madmaxoft@gmail.com
a68b9bd986 Fixed a possible crash in Ravines.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@695 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 16:46:15 +00:00
madmaxoft@gmail.com
3f30d5dfd2 Added a new cave generator: DualRidgeCaves ( somewhat like http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/ )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@694 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:51:38 +00:00
madmaxoft@gmail.com
a8ff9f511f Ravines: removed an unneeded member
git-svn-id: http://mc-server.googlecode.com/svn/trunk@693 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:49:33 +00:00
madmaxoft@gmail.com
b29e9487f4 Noise: made interpolation methods public static, so that they can be used by the outside world as well
git-svn-id: http://mc-server.googlecode.com/svn/trunk@692 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:48:59 +00:00
madmaxoft@gmail.com
0e99d44f03 Added a (disabled) debugging code for anvil underground overviewing, useful for exploring MC cave generation style
git-svn-id: http://mc-server.googlecode.com/svn/trunk@690 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 17:07:46 +00:00
madmaxoft@gmail.com
02edaa4c81 Grass blockticking fix
git-svn-id: http://mc-server.googlecode.com/svn/trunk@689 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 15:25:55 +00:00
madmaxoft@gmail.com
ab860e6573 Slight cChunk optimization
git-svn-id: http://mc-server.googlecode.com/svn/trunk@688 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 14:47:44 +00:00
madmaxoft@gmail.com
588a2619aa Implemented the missing HOOK_PLAYER_SPAWN hook (although its name is not too good, should be PLAYER_AUTH)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@687 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 14:33:38 +00:00
madmaxoft@gmail.com
917d75edbe Ravines: implemented linear finishing, now the ravine walls are smooth.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@685 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-20 16:22:07 +00:00
madmaxoft@gmail.com
c3c149d62e Ravines: removed a debugging feature from release builds
git-svn-id: http://mc-server.googlecode.com/svn/trunk@684 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-19 21:54:50 +00:00
madmaxoft@gmail.com
7198ddba46 Ravines: initial implementation, randomized shapes are working, but still needs some work
git-svn-id: http://mc-server.googlecode.com/svn/trunk@683 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-19 21:49:27 +00:00
madmaxoft@gmail.com
9e3dfb3863 SocketThreads: hopefully fixed MacOSX failure with client ping crashing the server
git-svn-id: http://mc-server.googlecode.com/svn/trunk@681 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-18 10:45:01 +00:00
lapayo94@gmail.com
aaf772f68a Fixed incompatibility to apples c++ compiler...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@680 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17 14:33:51 +00:00
lapayo94@gmail.com
f473f13585 Simple health regeneration system
Prepared for food

git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17 12:02:03 +00:00
madmaxoft@gmail.com
3cfa4152e6 Fixed compilation on OS X and maybe *nix as well
git-svn-id: http://mc-server.googlecode.com/svn/trunk@678 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17 11:11:01 +00:00
lapayo94@gmail.com
86a991c5a8 Some code improvements
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 19:20:37 +00:00
madmaxoft@gmail.com
520dee1a90 Fixed a copypasta error in previous commit
git-svn-id: http://mc-server.googlecode.com/svn/trunk@676 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 19:10:12 +00:00
madmaxoft@gmail.com
3eff147355 Changed GetBlockMeta to return NIBBLETYPE instead of char
git-svn-id: http://mc-server.googlecode.com/svn/trunk@675 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 18:29:33 +00:00
madmaxoft@gmail.com
ee4a6df36b Fixed a compilation warning
git-svn-id: http://mc-server.googlecode.com/svn/trunk@674 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 18:20:35 +00:00
lapayo94@gmail.com
d3b7a39f92 fixed redstone repeater placement
git-svn-id: http://mc-server.googlecode.com/svn/trunk@673 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 18:19:25 +00:00
lapayo94@gmail.com
ba70a15191 Fixed some small bugs :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 13:30:33 +00:00
lapayo94@gmail.com
14dce23845 A new Block handling system :o
It was really a lot of work :D
Took me the complete weekend :D

Would really like to here your opinion on this =)
The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 20:36:34 +00:00