Commit Graph

119 Commits

Author SHA1 Message Date
Luke Puchner-Hardman 64d046d03d Merge branch 'master' of https://github.com/LUKK3/minetest
Conflicts:
	doc/lua_api.txt
2014-10-07 00:58:29 +02:00
Luke Puchner-Hardman dc9546a684 Added "[sheet" to the texture special commands.
"[sheet:WxH:X,Y" assumes the base image is a tilesheet with W*H tiles on it and crops to the tile at position X,Y.
Basically it works like "[verticalframe" but in 2d.
For testing, I combined the four default_chest images into one.
2014-10-07 00:56:56 +02:00
Luke Puchner-Hardman da05d94709 Changed syntax and added documentation for texture special command "[sheet". 2014-10-07 00:54:42 +02:00
Luke Puchner-Hardman 56120b2da2 Added "[sheet" to the texture special commands.
"[sheet:W:H:X:Y" assumes the base image is a tilesheet with W*H tiles on it and crops to the tile at position X,Y.
Basically it works like "[verticalframe" but in 2d.
For testing, I combined the four default_chest images into one.
2014-10-07 00:53:04 +02:00
Luke Puchner-Hardman 1656ba4d73 Merge branch 'master' of https://github.com/minetest/minetest
Conflicts:
	doc/lua_api.txt
	src/tile.cpp
2014-10-07 00:24:40 +02:00
Luke Puchner-Hardman 7c0747b323 Added "[sheet" to the texture special commands.
"[sheet:WxH:X,Y" assumes the base image is a tilesheet with W*H tiles on it and crops to the tile at position X,Y.
Basically it works like "[verticalframe" but in 2d.
For testing, I combined the four default_chest images into one.
2014-10-06 23:56:17 +02:00
BlockMen 28438bba27 Add [colorize modifier 2014-10-05 16:49:52 +02:00
ShadowNinja 6bc4cad0ed Split settings into seperate source and header files
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
sfan5 b19dd922ec Add ^[mask texture modifier 2014-08-22 22:42:04 +02:00
sapier 0a57b5b553 Revert "Fix inventory items blinking on item preloading"
The fix didn't work on some systems sadly this wasn't detected prior merge,
as preload is disabled by default now there's not gonna be a fix for it.
2014-08-16 14:18:33 +02:00
sapier ccf3985b7a Fix inventory items blinking on item preloading 2014-08-16 13:00:37 +02:00
sfan5 5884236046 Rework texture generating code, add texture grouping via ( ... ) 2014-07-29 20:02:56 +02:00
RealBadAngel f0db6c4423 Speedup mapblock_mesh 2014-07-17 22:28:14 +02:00
sapier 1cc40c0a7c Add support for Android 2.3+
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts

A big thank you to everyone helping this to be completed!
2014-06-29 18:17:56 +02:00
sapier fcfd53aed1 Don't keep temporary images in RAM 2014-06-23 00:13:41 +02:00
sapier c1e297a90a Reduce log level for non npot2 texture warning message 2014-05-24 13:42:52 +02:00
RealBadAngel c80d67f48e Move message about missing normal maps to infostream instead of errorstream. 2014-05-05 19:25:18 +02:00
sapier eda9214f81 Bunch of small fixes (coding style, very unlikely errors, warning messages) 2014-04-19 11:56:19 +02:00
sapier 8b0b857eaa Make MutexQueue use jsemaphore for signaling 2014-01-10 10:10:45 +01:00
sapier 04e9a9d541 Cleanup jthread and fix win32 build 2013-12-01 16:25:46 +01:00
sapier b2d9205796 Fix Result of processed Request was written to invalid (non existent) ResultQueue if requesting thread timed out before 2013-11-17 12:46:54 -05:00
sapier dc407e219f Fix multicaller support in RequestQueue 2013-11-17 12:45:58 -05:00
Kahrl 7fbc8152bf Fix full crack texture being shown when releasing dig button 2013-08-06 18:15:40 +02:00
Kahrl 96c34d369e Fix crack overlay for animated textures 2013-08-05 01:52:09 +02:00
Novatux 383153419b Add texture pack selection to main menu 2013-08-04 16:52:30 +02:00
Kahrl b850f0f038 Whoever called a function parameter m_device is fired without notice. 2013-07-03 20:33:54 +02:00
Kahrl 8f1d5d34a6 Move generateTextureFromMesh to TextureSource to fix a texture leak
TextureSource has a list of textures to delete (m_texture_trash) so this
provides a proper, non-hacky way to delete RTT textures. Also, the prior,
hacky way of deleting them seems to be broken (see pull request #803).

To avoid header file clutter by repeating the same long list of
arguments over and over again, store the arguments of
generateTextureFromMesh in a struct called TextureFromMeshParams.

Also fix issue #782 (Only use bilinear (and others) on item textures
when settings allow it).
2013-07-03 03:24:28 +02:00
Kahrl 8161ab573f Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture 2013-07-02 03:03:10 +02:00
Kahrl 4f6bec19bc Only add ^[forcesingle to get raw texture if atlas is used 2013-06-04 07:44:19 +02:00
Kahrl b89c79e905 Delay deleting replaced textures (m_texture_trash) 2013-06-03 15:50:14 +02:00
Perttu Ahola 084be3599a Get menu background image from selected game 2013-05-02 19:43:47 +03:00
kwolekr ce901f4c4c Fix double free, null texture drop 2013-04-12 17:20:05 -04:00
sapier abe74ea5ea fix inventory image texture leak 2013-04-07 22:54:00 -04:00
sapier 5743ef4e64 fix huge texture leak in tiledef
fix minor glitches too
2013-04-07 22:17:58 -04:00
sapier becd8c03fd fix memory leak 2013-04-06 12:00:36 -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 778d9b0cd6 Add the ability for client to check if image exists 2012-11-30 22:19:54 +02:00
Perttu Ahola e02b95741b Revert "Don't leak textures all over the place"
This causes textures to be deleted before they are no longer accessed,
resulting in a segmentation fault. This needs to be rewritten in such a way
that textures are deleted when the client disconnects from a server.

This reverts commit 41c00e87d4.
2012-11-25 16:39:07 +02:00
Kahrl 41c00e87d4 Don't leak textures all over the place 2012-11-02 18:45:39 +02:00
Perttu Ahola f3630e95d6 Use proper alpha blit in some more texture modifiers 2012-08-31 18:06:47 +03:00
Perttu Ahola 8887105ffd Properly initialize baseimg for texture modifier [combine:WxH:X,Y=filename:X,Y=filename2 2012-08-31 17:58:55 +03:00
Perttu Ahola 48790c0751 Fix random glitches in transparent animations 2012-06-18 00:21:23 +03:00
Perttu Ahola d0ea6f9920 Properly and efficiently use split utility headers 2012-06-17 02:40:36 +03:00
Perttu Ahola 1bc37d576c Initially split utility.h to multiple files in util/ 2012-06-17 01:29:13 +03:00
Perttu Ahola 07ccc15fc2 Allow node cracking animations of any length 2012-06-16 18:02:56 +03:00
Perttu Ahola fd1135c7af Node texture animation 2012-06-16 16:47:28 +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
Perttu Ahola 3ccb0f691b Add texture modification [lowpart:percent:filename 2012-06-03 22:31:02 +03:00