| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
changed the api for interacting with sockets, sockets
now have a callback, `socket:receive(function(stream) ... end)`, which
they can use to decide what to do when called.
Sockets also have a block:recv() function, which will block EVERYTHING
until the socket receives data. This should probably not be used.
|
| |
|
|
|
|
|
|
| |
Added a header for pusherrorfunc(lua_State* L)
to the shared/lua_api/common.hpp header
also deleted some prints, and fixed a bug that would
show up in an edge case of printing error messages.
|
| | |
|
| |
|
|
|
| |
Callback handler now calls the callMouse() function instead of
duplicating the code in that function.
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Started working on some of the harder parts of building dependencies
with the makefile. bullet, irrlicht, and luajit all currently are
built automatically on windows under msys2
|
| | |
| |
| |
| |
| |
| | |
Replaced various "make" calls in the makefile with $(MAKE)
Replaced a few __mingw_printf with just printf
Added some instructions to the readme
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Physics code for models now lives in the shared directory.
To get file loading without irrlicht, a single-file header library
(lib/tinyobjloader-c) was added.
Metatables for generics and physics generics have also been
seperated out.
|
| | |
|
| | |
|
| |
|
|
|
| |
Added a GAME.exit() function
Added some bare bones unit tests
|
| |
|
|
|
| |
Added an error handeling function to avoid crashes on errors in
callbacked handeled code (ex, error in button press)
|
| |
|
|
|
|
|
| |
Added documentation for luadoc for
* io.*
* phys.*
* video.*
|
| | |
|
| |
|
|
|
|
|
|
| |
Added documentation for several gui elements
also moved documentation of generic iguielements
to an iguielement class
Also added a setvisible() function to iguielements
|
| |
|
|
|
|
| |
When init.lua fails, brokengine_client prints out the path to
init.lua, usefull for when game is not executing from default
path.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Changed getabsrect() to now return getAbsolutePosition()
Added getabsclippingrect() to return what getabsrect used to return
Added getrelrect() to return getRelativePosition()
|
| |
|
|
|
|
| |
Allow the second argument passed to brokengine on the command
line specify the location of the data/ folder the program
uses.
|
| |
|
|
| |
Added a phys.raytest(vector3 from, vector3 to) :: boolean hasHit
|
| |
|
|
|
|
| |
Added methods
* physgeneric:getvelocity() :: vector3
* physgeneric:setvelocity(vector3)
|
| |
|
|
|
| |
Used an alternate constructor for physics boxes that gives more
control over the phys box
|
| |
|
|
| |
cbphysbox now uses the functions defined in bphysgeneric
|
| |
|
|
|
|
| |
Created bphysgeneric that holds all the shared code for bullet
rigidbodies. It needs to be included in any structs that have
a rigidbody field.
|
| |
|
|
|
|
| |
Also added treeview guielemnt
Also added ifilesystem guielement
Also added io library
|
| |
|
|
|
|
| |
Occasionally wierd characters would show in place of a window
title or button label, this was due to whcar_t s missing
their sentinal characters.
|
| | |
|
| |
|
|
| |
Added a file open dialog to the gui library
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Added a color selector gui element
|
| |
|
|
|
| |
Files now use the registry defined in iguielement, so they are
all in sync.
|
| |
|
|
|
| |
Skin file needs to be rewritten, util files has been moved to
shared/lua_api/common.cpp
|
| |
|
|
|
| |
Other gui elements can now register all the base igui functions
by registering iguielement_m from iguielement.hpp
|
| |
|
|
|
|
| |
Edit boxes can have their contents retreived
Fixed a typo for edit box methods
various updates to the net api
|
| | |
|
| |
|
|
|
| |
Both the client and the server now look in their respective folders
for ../data/?.lua when require() is called.
|
| |
|
|
| |
Added bindings to Irrlicht's EditBox gui element.
|
| |
|
|
|
| |
Moved the networking code from nanomsg to nanomsg-next-gen.
Created/Renamed/Documented some constants related to networking.
|
| |
|
|
| |
Added some of the documentation for the net library
|
| |
|
|
| |
Removed a lot of commented out old code
|
| |
|
|
| |
All compile warning for -Wall have been fixed
|
| |
|
|
| |
Makefile now builds server
|
| |
|
|
|
| |
Made makefile much simpiler, added option to build dynamically with
DEBUG=true
|