aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
...
* Add ability to change the itemstack in placenode callbacksPilzAdam2012-12-17
* Fix falling damage when not flyingPilzAdam2012-12-17
* Make m_media_fetch_threads to contain MediaFetchThread* instead of MediaFetch...Ilya Zhuravlev2012-12-17
* Fix hypen used as minus sign (manpages), fix spelling error (server.cpp)Ilya Zhuravlev2012-12-17
* Added ability to fetch media from remote server (using cURL library)Ilya Zhuravlev2012-12-16
* Fix item entity's collision with nodeboxesjordan4ibanez2012-12-15
* Dont sneak while flyingPilzAdam2012-12-11
* Only fly through walls in noclip mode wich requires the noclip privilegePilzAdam2012-12-11
* Update READMEIlya Zhuravlev2012-12-07
* Bump version to 0.4.4Perttu Ahola2012-12-06
* Update GUI textsPerttu Ahola2012-12-06
* draw gui later. this fixes the hotbar disappearing while rendering to texture.Jürgen Doser2012-12-06
* fix screen flickering black when rendering to textureJürgen Doser2012-12-06
* Set proper field background colors in Irrlicht 1.8Perttu Ahola2012-12-06
* Raise default maximum render distance to 240Perttu Ahola2012-12-06
* Fix automagic render distance tunerPerttu Ahola2012-12-06
* Add #include guards to base64.hMatthew I2012-12-03
* Try to add a bit of topside brightness when not using shadersPerttu Ahola2012-12-02
* Tweak shader randomly a bitPerttu Ahola2012-12-02
* Default to preload_item_visuals=truePerttu Ahola2012-12-02
* Don't send player position from client to server if the player hasn't movedMirceaKitsune2012-12-02
* Fix minetest.get_node_drops(). It should always return list of item names, no...Ilya Zhuravlev2012-12-02
* Smooth day-night transitionsPerttu Ahola2012-12-02
* Const-correct util/serialize.hPerttu Ahola2012-12-02
* Handle day-night transition in shader and make light sources brighter when sh...Perttu Ahola2012-12-02
* Get rid of jordan4ibanez's insane digging animation speedPerttu Ahola2012-12-02
* Fix tile MaterialType to make sense and make lava surface be shader'd lower l...Perttu Ahola2012-12-02
* Install shaders properlyPerttu Ahola2012-12-02
* Remove accidental vim swap filePerttu Ahola2012-12-02
* Add enable_shaders to minetest.conf.examplePerttu Ahola2012-12-02
* Add checkboxes for shaders and on-demand item visual generationobneq2012-12-02
* Implement a global shader parameter passing system and useful shadersPerttu Ahola2012-12-02
* ShaderSource and silly example shadersKahrl2012-12-02
* Add setting preload_item_visualsPerttu Ahola2012-12-02
* On-demand item meshes and texturesPerttu Ahola2012-12-02
* Modify some client log message levelsPerttu Ahola2012-12-02
* New elements in formspec, item_image and item_image_button.RealBadAngel2012-12-01
* Only check attachment for nodes with group attached_nodePilzAdam2012-12-01
* Add the group attached_nodePilzAdam2012-12-01
* Merge support for anaglyph stereoPilzAdam2012-12-01
|\
| * Add anaglyph settings to minetest.conf.exampleMirceaKitsune2012-11-13
| * Default anaglyph to 0.1MirceaKitsune2012-11-13
| * Anaglyph stereo support, created by xyzMirceaKitsune2012-11-13
* | Add the ability for client to check if image existsPerttu Ahola2012-11-30
* | Log /grant and /revoke command usageDannyDark2012-11-30
* | Make dragged itemstack following the mouse cursor much smootherJürgen Doser2012-11-30
* | Ignore directories beginning with a "." when searching for modsMatthew I2012-11-30
* | Run scriptapi_on_shutdown() thread-safely and remove some old crapPerttu Ahola2012-11-30
* | Add shutdown hook interface to Lua APIMatthew I2012-11-30
* | Add congestion control settings to minetest.confPerttu Ahola2012-11-29
="hl opt">); if (status != 0) { continuemutex.Unlock(); return ERR_JTHREAD_CANTSTARTTHREAD; } /* Wait until 'running' is set */ runningmutex.Lock(); while (!running) { runningmutex.Unlock(); struct timespec req,rem; req.tv_sec = 0; req.tv_nsec = 1000000; nanosleep(&req,&rem); runningmutex.Lock(); } started = true; runningmutex.Unlock(); continuemutex.Unlock(); continuemutex2.Lock(); continuemutex2.Unlock(); return 0; } int JThread::Kill() { void* status; runningmutex.Lock(); if (!running) { if (started) { runningmutex.Unlock(); int pthread_join_retval = pthread_join(threadid,&status); assert(pthread_join_retval == 0); UNUSED(pthread_join_retval); runningmutex.Lock(); started = false; } runningmutex.Unlock(); return ERR_JTHREAD_NOTRUNNING; } pthread_cancel(threadid); if (started) { runningmutex.Unlock(); int pthread_join_retval = pthread_join(threadid,&status); assert(pthread_join_retval == 0); UNUSED(pthread_join_retval); runningmutex.Lock(); started = false; } running = false; runningmutex.Unlock(); return 0; } bool JThread::IsRunning() { bool r; runningmutex.Lock(); r = running; runningmutex.Unlock(); return r; } bool JThread::StopRequested() { bool r; runningmutex.Lock(); r = requeststop; runningmutex.Unlock(); return r; } void *JThread::GetReturnValue() { void *val; runningmutex.Lock(); if (running) val = NULL; else val = retval; runningmutex.Unlock(); return val; } bool JThread::IsSameThread() { return pthread_equal(pthread_self(), threadid); } void *JThread::TheThread(void *param) { JThread *jthread; void *ret; jthread = (JThread *)param; jthread->continuemutex2.Lock(); jthread->runningmutex.Lock(); jthread->running = true; jthread->runningmutex.Unlock(); jthread->continuemutex.Lock(); jthread->continuemutex.Unlock(); ret = jthread->Thread(); jthread->runningmutex.Lock(); jthread->running = false; jthread->retval = ret; jthread->runningmutex.Unlock(); return NULL; } void JThread::ThreadStarted() { continuemutex2.Unlock(); }