Commit Graph
100 Commits
Author SHA1 Message Date
Mattes D 2b7f34515a cLuaState: Fixed errors on non-existent callbacks.
This mostly affected table-based callbacks, such as the cLineBlockTracer. If a callback didn't exist, the code would still push its arguments on the stack, breaking the next callback.
2014-10-31 19:25:45 +01:00
Mattes D e2ffd5429c Fixed missing CS lock in cChunkMap::WakeUpSimulatorsInArea(). 2014-10-31 19:25:44 +01:00
Mattes D 30db6d9852 Merge pull request #1576 from mc-server/QtBiomeVisualiserThreadedGen
QtBiomeVisualiser: Generator uses all machine threads.
2014-10-30 12:22:15 +01:00
Mattes D 4e0cef0ff6 QtBiomeVisualiser: Generator uses all machine threads.
The previous limit of 1 thread was lifted, now the generator source runs on all CPU threads available.
2014-10-29 23:04:59 +01:00
Mattes D d898fb904b Merge pull request #1575 from mc-server/1.8-Item
Fixed 1.8 world item format reading.
2014-10-29 22:35:16 +01:00
Mattes D 48ac3acc84 QtBiomeVisualiser: Added quick shutdown to region loaders.
Now the app shuts down immediately even if regions are queued for loading.
2014-10-28 22:19:24 +01:00
Mattes D 3168a95404 QtBiomeVisualiser: Fixed mouse zoom vs menu zoom. 2014-10-28 22:15:42 +01:00
Mattes D 2f0abb73c9 Merge pull request #1574 from mc-server/QtBiomeVisualiserRegions
QtBiomeVisualiser: Switched caching to entire regions.
2014-10-28 22:07:09 +01:00
Mattes D bea2edb2a9 QtBiomeVisualiser: Reduced memory usage. 2014-10-28 20:52:04 +01:00
Mattes D 3f3a2a6755 QtBiomeVisualiser: Fixed random regions not rendered. 2014-10-28 20:49:29 +01:00
Mattes D 6a1a76e73d Merged remote-tracking branch 'origin/master'. 2014-10-28 19:42:35 +01:00
Mattes D d6c663cbc5 QtBiomeVisualiser: Fixed compilation on Linux. 2014-10-28 15:44:58 +01:00
Mattes D 53ff5c527c QtBiomeVisualiser: Attempt at fixing Linux compilation. 2014-10-28 11:23:54 +01:00
Mattes D 2d7cbfe620 Merge pull request #1573 from mc-server/warningfixes
Fixed some more warnings.
2014-10-28 00:44:48 +01:00
Mattes D c53b7e5d38 QtBiomeVisualiser: Switched caching to entire regions.
This speeds up the rendering preparation for small zooms.
2014-10-27 23:58:09 +01:00
Mattes D aff537e714 Added type to block type enum. 2014-10-26 10:13:43 +01:00
Mattes D 2e8f2c5b3a APIDump: Added basic projectile documentation. 2014-10-25 21:27:27 +02:00
Mattes D 190d34e2f7 Merge pull request #1565 from mc-server/MergedIniFile
Merged ini file
2014-10-24 09:13:39 +02:00
Mattes D e272637ff5 IniFile: Removed the problematic printf-like Set function.
It wasn't used in any client code anyway.
2014-10-24 08:49:36 +02:00
Mattes D f6ddafabd6 Re-updated Core. 2014-10-23 22:50:42 +02:00
Mattes D 4df924cf4b Merge pull request #1500 from mc-server/ChunkLoader
Optimized chunk loader
2014-10-23 22:49:17 +02:00
Mattes D 32cab75e43 IniFile: Removed an unused macro. 2014-10-23 16:07:43 +02:00
Mattes D 298be25413 QtBiomeVisualiser: Moved the IniFile lib. 2014-10-23 15:29:02 +02:00
Mattes D 1235ccb1e2 Removed iniFile library from linux dependencies. 2014-10-23 15:26:43 +02:00
Mattes D 449d08cb3d Merged IniFile into main MCS sources. 2014-10-23 15:15:10 +02:00
Mattes D 07bbfd5894 Fixed a crash in redstone simulator. 2014-10-23 12:51:59 +02:00
Mattes D 154c329a25 Removed the "conditional expression is constant" warning.
MSVC spits out many of these on its own std libraries.
2014-10-23 10:58:41 +02:00
Mattes D ed7a0332f6 Merge pull request #1562 from mc-server/signplace
Signs can be placed on wallsigns.
2014-10-23 09:46:51 +02:00
Mattes D 4bfd2c9707 Merge pull request #1559 from mc-server/nullptr
En masse NULL -> nullptr replace
2014-10-23 08:29:31 +02:00
Mattes D 2ac3a807b7 ComposableGenerator: Removed nullptr initializers. 2014-10-22 22:58:36 +02:00
Mattes D 7ed27c6b80 LuaState: Projectiles are pushed using their full class. 2014-10-22 16:06:32 +02:00
Mattes D bfd1a9601a APIDump: Added docs for a few projectiles. 2014-10-22 16:06:31 +02:00
Mattes D 1cd45e770d Added inheritance information to Lua docs for projectiles. 2014-10-21 23:11:45 +02:00
Mattes D b979cad893 cItemFrame: Fixed a forgotten rename. 2014-10-21 22:32:17 +02:00
Mattes D 814e4404bb Merge pull request #1515 from mc-server/BlockFixes
Block fixes
2014-10-21 22:04:51 +02:00
Mattes D a42fa071bc Properly exported cItemFrame and cHangingEntity to Lua. 2014-10-21 22:02:30 +02:00
Mattes D 881bc66233 Fixed trailing whitespace. 2014-10-21 22:00:31 +02:00
Mattes D 0c0c762412 Exported individual projectile classes to Lua API.
They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list.
2014-10-21 21:25:52 +02:00
Mattes D bcb839d07b Merged branch 'master' of git://github.com/sriehl/MCServer 2014-10-21 18:12:40 +02:00
Mattes D dc4185fb86 cLuaState: cEntity is pushed with specific type. 2014-10-21 12:43:06 +02:00
Mattes D ac80f62650 Updated the Core. 2014-10-20 20:23:38 +02:00
Mattes D d79d5945e3 InfoDump: Do not crash if one plugin fails to load.
If there's a syntax error in one plugin's Info.lua file, report the error and continue processing.
2014-10-20 20:14:00 +02:00
Mattes D b78078a3a6 Fixed a potential crash in cEntity bindings. 2014-10-20 17:32:09 +02:00
Mattes D 8fbd65e775 Merge pull request #1549 from SphinxC0re/master
Added mechanics placeable on halfslabs
2014-10-19 19:13:48 +02:00
Mattes D ee23fd5b9e Removed obsolete tr1::shared_ptr. 2014-10-19 18:52:24 +02:00
Mattes D cf73fee7e3 Fixed minor style issues. 2014-10-19 18:45:42 +02:00
Mattes D 262e6d06aa TwoLevel BioGen: fixed swapped inside and outside biomes. 2014-10-19 16:07:29 +02:00
Mattes D 3ee47df118 Mountain height gen: Added ditches. 2014-10-19 14:35:49 +02:00
Mattes D e0cfbc4d85 Generator: Rewritten to use SharedPtrs. 2014-10-19 14:01:59 +02:00
Mattes D d50bbf3899 cLuaState: cMonster descendants don't push their specific type.
The individual mob types aren't exported to Lua, so pushing them would crash the server.
2014-10-19 12:49:54 +02:00
Mattes D b0a59927fb cLuaState: cBlockEntity descendants are pushed with proper class type. 2014-10-19 12:46:25 +02:00
Mattes D ebd31ff132 LuaState: Pushing a cEntity pushes the correct class name.
This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant.
2014-10-19 11:46:38 +02:00
Mattes D fe153cc763 Bindings: Removed obsolete codegen files.
LuaState_Call.inc is no longer needed, it was replaced with variadic templates.
2014-10-19 11:32:17 +02:00
Mattes D 5d43dc0f45 InfoDump: Fixed trailing whitespace. 2014-10-18 20:53:58 +02:00
Mattes D e2c1b86839 InfoDump: Fixed GH permission export, moved output to plugins. 2014-10-18 20:51:28 +02:00
Mattes D 687752241f cMojangAPI: Don't update data if server is in offline mode. 2014-10-17 13:57:18 +02:00
Mattes D 803666d480 LuaChunkStay: Fixed a crash on unused callback. 2014-10-17 13:17:56 +02:00
Mattes D 8c2a99711e Merged branch 'fix_chunks'. 2014-10-16 21:12:26 +02:00
Mattes D 5b9ca4a7b4 Merge pull request #1541 from mc-server/VariadicTemplates
cLuaState::Call() uses variadic templates
2014-10-16 18:47:11 +02:00
Mattes D 3d05b46c60 Merge pull request #1539 from mc-server/DungeonLoot
Added loot to dungeons.
2014-10-16 12:28:53 +02:00
Mattes D 799ae87d3f BioGen: Fixed a compiler warning. 2014-10-16 11:00:30 +02:00
Mattes D fdd20e2a99 Merge pull request #1537 from mc-server/GenerationCrash
Fixed possible crash
2014-10-16 10:17:57 +02:00
Mattes D 06b466471f Merge pull request #1536 from mc-server/MineshaftBooks
Mineshaft books
2014-10-15 19:23:53 +02:00
Mattes D f58d44ea50 cLuaState::Call() uses variadic templates.
(doesn't compile)
2014-10-15 19:18:23 +02:00
Mattes D eeb580a74e Functions in cPluginManager get references instead of pointers. 2014-10-15 19:09:09 +02:00
Mattes D c6725f8d28 Usernames are lowercased before generating offline UUID.
This breaks previous offline UUIDs, but it guarantees that future offline UUIDs will be the same even for usernames with wrong capitalization.
2014-10-15 13:41:23 +02:00
Mattes D 7f8118e0cb cWorld: Fixed scheduler.
Fixes #1534.
Added a test case into the Debuggers plugin.
2014-10-13 14:49:18 +02:00
Mattes D 1eae7d0ece Fixed style. 2014-10-13 10:34:33 +02:00
Mattes D 120b347fb5 CheckBasicStyle ignores the Bindings.h generated file. 2014-10-13 10:33:08 +02:00
Mattes D 53410a9271 Merge pull request #1529 from mc-server/unique_ptr
Moved a few objects to unique_ptr
2014-10-12 22:08:28 +02:00
Mattes D 2bfe7b76a1 Merge pull request #1261 from mc-server/issue850
Continuation of #966: Adding E_METAs
2014-10-11 22:08:37 +02:00
Mattes D a47d9e5334 Fixed MSVC compilation. 2014-10-10 09:58:54 +02:00
Mattes D f91aa6f1d3 DistortedHeightmap: Fixed crash on number rounding.
Fixes #1521.
2014-10-09 12:33:42 +02:00
Mattes D 386068a5ad Merge pull request #1520 from mc-server/c++11switch
Enabled C++11 in gcc
2014-10-09 12:02:58 +02:00
Mattes D b77d721daa Merge pull request #1519 from mc-server/submodulize
Submodulize some more plugins.
2014-10-08 22:29:58 +02:00
Mattes D 30292c8112 Merge pull request #1518 from mc-server/AcaciaTrees
Added AcaciaTrees for the savanna biomes
2014-10-08 22:29:03 +02:00
Mattes D 2a32dd2740 Merge pull request #1513 from mc-server/MojangAPIRefresh
cMojangAPI: Added periodical refreshes.
2014-10-07 11:23:49 +02:00
madmaxoft 4e82a58060 Fixed crash in ForEachEntityInBox API.
Fixes #1511.
2014-10-06 13:48:44 +02:00
Mattes D 75003e1537 Merge pull request #1509 from WebFreak001/master
Made WebAdmin more modern
2014-10-06 10:46:46 +02:00
Mattes D 3d2d8a096b cMojangAPI: Added periodical refreshes. 2014-10-06 10:05:02 +02:00
Mattes D 89713e23e4 Merge pull request #1510 from mc-server/TimedEvent
Added a cEvent::Wait() with timeout.
2014-10-06 09:24:51 +02:00
madmaxoft c94e82980e Fixed a missed value. 2014-10-05 22:56:56 +02:00
madmaxoft 112fac5798 Removed obsolete cMonster::eType.
Has been replaced with global eMonsterType.
2014-10-05 22:12:25 +02:00
madmaxoft 77c5b410e6 Fixed eMonsterType Lua API mismatch. 2014-10-05 22:09:19 +02:00
Mattes D a8aeceab9d cClientHandle: Added protocol version knowledge. 2014-10-05 20:19:21 +02:00
Mattes D ec71ffcc80 Added a cEvent::Wait() with timeout. 2014-10-05 19:04:30 +02:00
Mattes D 02617a11cd Updated Core. 2014-10-05 15:05:51 +02:00
Mattes D db98820aa9 Merge pull request #1489 from mc-server/fixes
Improved torch handler
2014-10-04 10:02:10 +02:00
Mattes D 0aa1b5667e QtBiomeVisualiser: Added mouse hover info. 2014-10-03 19:41:42 +02:00
madmaxoft f625b33d56 QtBiomeVisualiser: Zoom is now limited and aligned to steps. 2014-10-03 12:33:03 +02:00
madmaxoft a765e43ee0 APIDump: Fixed cEntity documentation. 2014-10-01 22:32:24 +02:00
Mattes D 12544a02dd Merge pull request #1494 from Masy98/blocks
Fixed Red Sandstone and Prismarine drops
2014-10-01 19:53:30 +02:00
Mattes D ecef85574d Merge pull request #1493 from Masy98/blocks
Added missing 1.8 blocks, E_METAs and sounds
2014-10-01 18:28:07 +02:00
madmaxoft ac0b3168a1 APIDump: Added more of the missing documentation. 2014-10-01 17:29:28 +02:00
madmaxoft 4789db5c28 cRoot: Removed useless variable from Lua API. 2014-10-01 17:28:45 +02:00
madmaxoft fd11b574bd cPlayer: Removed useless functions from the Lua API. 2014-10-01 17:24:02 +02:00
madmaxoft 886a7d7bbb Bindings: Fixed binding for cPlayer::PermissionMatches(). 2014-10-01 12:59:31 +02:00
madmaxoft 901bed3989 Unified cRoot broadcast chat documentation. 2014-10-01 12:44:28 +02:00
madmaxoft 196f09d4bc APIDump: Documented missing cIniFile function. 2014-10-01 12:24:37 +02:00
madmaxoft a8f29097de APIDump: Documented missing cCompositeChat functions. 2014-10-01 12:24:09 +02:00