1
0
Commit Graph

5649 Commits

Author SHA1 Message Date
Howaner
989312c4e7 Add more move checks
- Invalid X/Y/Z/Stance check (std::isnan)
- Illegal stance
- Illegal position (32.000.000 is the world size)
2014-05-16 22:04:19 +02:00
Mattes D
b23baa6f3a Merge pull request #1002 from tonibm19/patch-1
Fixed anvil exp removing
2014-05-16 20:43:16 +02:00
tonibm19
5724dcc2c1 Fixed anvil exp removing 2014-05-16 19:33:57 +02:00
Mattes D
0e43f88668 Merge pull request #994 from Howaner/GlobalFixes
Add place/break radius, add dig cancel packet and add item resend on break/place cancel.
2014-05-15 21:16:04 +02:00
Howaner
28a9c16db2 Fix compile error. 2014-05-15 19:59:52 +02:00
Howaner
6c5ff597bb Move radius check. 2014-05-15 19:58:48 +02:00
madmaxoft
70b0547499 Fixed a NULL ptr failure in GridStructGen.
When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.
2014-05-15 16:03:45 +02:00
madmaxoft
56f7ad2cd9 Changed village generator defaults to more reasonable values. 2014-05-15 10:44:08 +02:00
madmaxoft
34e5f0c164 Changed village road generation to use multiple prefabs. 2014-05-15 10:43:54 +02:00
madmaxoft
f5fdbdaf29 VillageGen rewritten using BFSPieceGenerator.
Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params.
2014-05-15 00:14:06 +02:00
madmaxoft
3660ce6834 cPrefab can be constructed in code. 2014-05-15 00:12:01 +02:00
andrew
466ff2204f Fixes 2014-05-13 14:53:15 +03:00
Mattes D
0685fb5258 Added doxy-comment requirement 2014-05-13 08:48:33 +02:00
madmaxoft
9c8e8ef7ae VillageGen: Added well placement and the general algorithm description. 2014-05-12 22:43:59 +02:00
andrew
aea866f5b1 Movement Statistics 2014-05-12 21:38:52 +03:00
andrew
b3d2b5b2c9 cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() 2014-05-12 17:05:09 +03:00
Mattes D
702643d7e6 Merge pull request #999 from mc-server/fixes
A few warning fixes
2014-05-12 08:51:07 +02:00
archshift
3a5e04d118 More switch warnings. 2014-05-11 16:54:42 -07:00
archshift
3f9e00a3f3 Fixed a few more switch warnings. 2014-05-11 16:28:48 -07:00
archshift
6c57b38b74 Fixed a warning and a complaint about a never-read variable. 2014-05-11 13:44:30 -07:00
madmaxoft
c0727c4265 Initial VillageGen implementation.
WIP, doesn't generate anything yet.
Ref.: 740.
2014-05-11 22:35:41 +02:00
Mattes D
e0c56b7522 Merge pull request #972 from mc-server/SslWebAdmin
Ssl web admin
2014-05-11 20:59:15 +02:00
andrew
6cb3483954 Fixed compilation 2014-05-11 21:41:25 +03:00
Tycho
97dc7d8f66 Added some more tests 2014-05-11 19:40:32 +01:00
Tycho
c46f240d81 Added several more testsfor arrays and coordinates 2014-05-11 19:24:09 +01:00
Tycho
5d39ecc64b Fixed bug that caused Array Setters to always create segments 2014-05-11 18:42:38 +01:00
andrew
e3c6c8f3dd Fixed stat serialization 2014-05-11 20:30:54 +03:00
Tycho
a6940445f6 test 0 values 2014-05-11 18:29:47 +01:00
Tycho
9568c223ff SkyLight defaults to 0xFF 2014-05-11 18:24:21 +01:00
Tycho
79ab80718e Cerated array copy tests for block and skylight 2014-05-11 15:57:56 +01:00
Tycho
9278bb732d Fixed a bug in writting zeros to a non-allocated section 2014-05-11 15:52:02 +01:00
andrew
c7c3724a3e Statistic Manager 2014-05-11 14:57:06 +03:00
Howaner
5c9f89526a Rename HandleBlockDigCancel to FinishDigAnimtion. 2014-05-11 11:56:15 +02:00
Mattes D
28815252e6 Merge branch 'master' into SslWebAdmin 2014-05-10 21:27:57 +02:00
Mattes D
7e71f1f7dc Merge pull request #993 from mc-server/GridStructGen
Grid struct gen
2014-05-10 21:21:44 +02:00
Tycho
009f749962 Coverage builds are called MCServer not MCServer_debug 2014-05-10 18:07:50 +01:00
Tycho
7ca33bd832 Fixed stupid error 2014-05-10 17:56:59 +01:00
Tycho
43fc1471a1 Merge branch 'master' into chunksparsing/structs 2014-05-10 17:55:43 +01:00
Tycho
7ebb0afd4e Fail build on error 2014-05-10 17:52:46 +01:00
Tycho
4e6499c1c2 Don't run start test under gcov 2014-05-10 17:51:20 +01:00
Tycho
6124b5208c quite gcov take 4 2014-05-10 17:47:45 +01:00
Tycho
0adb5c94b8 Fixed stupid buffer overflow in array setblocks 2014-05-10 17:46:49 +01:00
STRWarrior
079f8cd535 Fixed the console saying no plugins are loaded. 2014-05-10 17:55:39 +02:00
Mattes D
ba847421bb Merge pull request #995 from mc-server/Portal_Pigman
Portal zombie pigman
2014-05-10 17:24:35 +02:00
Tycho
ba25f6b524 Add arries copies tests 2014-05-10 16:15:45 +01:00
STRWarrior
4ca178f24a Fixed compile problem. 2014-05-10 17:09:48 +02:00
Tycho
29d5f8eb0a Added new test 2014-05-10 16:08:08 +01:00
STRWarrior
7f3683cfab A portal block now chooses a number between 2000 and 0 2014-05-10 17:03:02 +02:00
STRWarrior
3b1f11bd6a Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman. 2014-05-10 16:43:06 +02:00
Tycho
0940747f3b Added some more tests 2014-05-10 15:30:48 +01:00