raysan5
46ea556593
Gestures system is automatically Init and Updated
9 years ago
raysan5
5335f262be
Updated makefiles
9 years ago
Ray
b11cda959d
Update lighting_blinn_phong.c
9 years ago
Ray
8c8e5bb7c8
Update and rename physics.c to physac.c
9 years ago
Ray
59cf0f6a42
Update and rename physics.h to physac.h
9 years ago
raysan5
5659249dfa
Some tweaks and details review
9 years ago
raysan5
b894a78385
Reviewed function GetCurrentTime() on WIN32
9 years ago
raysan5
3b45336929
Reviewed function: CheckCollisionCircleRec()
9 years ago
raysan5
da28cff0f6
Added function: SubText()
Useful to get a piece of text, could be used for text typing animations
9 years ago
raysan5
5dbb93dbb4
Added function: ImageDither()
Corrected some code details
9 years ago
Ray
6cb0603fbe
Merge pull request #67 from victorfisac/develop
Fixed Android compilation with 1.3 updates
9 years ago
victorfisac
8e30bd1f69
Fixed and improved android template
- Added gestures module functions.
- Fixed screen tap detection.
9 years ago
victorfisac
6e5ceaa30d
Fixed Android compilation with 1.3 updates
- Fixed Android MakeFile adding gestures module.
- Fixed Android project template functions names.
- Updated compiled library and header.
9 years ago
Ray
e8c79f53a6
Merge pull request #66 from victorfisac/develop
New matrix location points, lighting and physics engine modules with examples
9 years ago
victorfisac
e683fe88b9
Added physics engine-module and example
- Added new physics engine-module with four new data types: Physics,
Transform, Rigidbody and Collider. This library contains functions to
apply physics calculations to a position vector calculating collisions
automatically.
- Fixed some writing mistakes of lighting module.
9 years ago
victorfisac
1bcb5ddd50
Added lighting engine module
- New lighting engine module which contains new data types Light and
Material. These data types and functions facilitates making a basic 3D
iluminated program with a light and a model.
- Added lighting engine module example (currently included in raylib.h;
it might be compiled by separate and include lighting.h in game source C
file).
- Corrected some opengl defines control structures and added some TODO
to fix raylib-opengl 1.1 source build (note: now source can be compiled
without errors, but rlglReadPixels() won't work properly).
Note: most of functions of phong version 330 shader are not in v100
shaders, so I couldn't write a version 100 phong shader. These functions
are included from version 150.
9 years ago
victorfisac
4db2da9185
Added new matrix location points and extra functions
- New model and view transformation matrix added, useful for shaders.
Modelview matrix not deleted to keep opengl 1.1 pipeline compatibility.
- New extra function added DrawModelWiresEx() to set a rotation and
scale transformations to a wire model drawing.
- Other writing and little audio.c bug fixed.
9 years ago
raysan5
1b39b2e261
Added BeginDrawingEx()
BeginDrawing() function with extended parameters
9 years ago
raysan5
f144b6bae4
MeasureTextEx() - Added support for multi-line size measure
9 years ago
raysan5
2bd7245508
DrawTextureRec() function review to allow flipped rectangle
9 years ago
raysan5
b62f7c3057
Corrected bug
9 years ago
raysan5
f4e455398c
Small bug corrected
9 years ago
raysan5
85908befea
Corrected bug on spritefont loading
9 years ago
Ray
a6f5a0339a
Corrected bug
9 years ago
Ray
c17c1ccaea
Corrected html5 glfw3 bug
Mouse button values are inverted!
9 years ago
Ray
88e1fd9530
Added texture retrieval support on OpenGL ES 2.0
Updated functions:
Image GetTextureData(Texture2D texture);
void *rlglReadTexturePixels(Texture2D texture);
9 years ago
Ray
2fa7e00f16
Variables initialization
9 years ago
Ray
5208d57f1e
Corrected alpha issue on screenshots taken
9 years ago
Ray
76024b5036
Added some texture functionality (view details)
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
9 years ago
Ray
002dacef40
Merge pull request #62 from kd7tck/develop
Added Alpha Numeric Mapping For Develop Branch
9 years ago
Ray
580c0a7296
Moved gestures touch functionality back to core
Required gestures module when compiling for Android and Web
9 years ago
Ray
67423ff64b
Removed unneeded comment
9 years ago
raysan5
b135bcd422
Corrected minor bugs
9 years ago
Ray San
fb4105cf8a
Corrected bug on web
9 years ago
Ray San
d1f099374c
Added support for s3tc compression on web
9 years ago
Joshua Reisenauer
932396922d
Added Alpha Numeric Mapping For Develop Branch
GLFW mappings.
9 years ago
Ray
afdf357fbe
Added some image manipulation functions
Added (or completed functions):
Image ImageText(const char *text, int fontSize, Color color);
Image ImageTextEx(SpriteFont font, const char *text, int fontSize, int
spacing, Color tint);
void ImageFlipVertical(Image *image);
void ImageFlipHorizontal(Image *image);
void ImageColorTint(Image *image, Color color);
void ImageColorInvert(Image *image);
void ImageColorGrayscale(Image *image);
void ImageColorContrast(Image *image, float contrast);
void ImageColorBrightness(Image *image, int brightness);
9 years ago
Ray
8c117cfb57
Reviewed NPOT messages and usage
9 years ago
Ray San
f13b30d606
Feature: Line-break support for text
9 years ago
Ray San
165b3dd215
Add file required for image scaling
9 years ago
Ray San
d218534fff
Feature: On desktop, center window on screen
9 years ago
Ray San
333fdf6b90
Corrected bugs and reviewed some functions
9 years ago
Ray San
625e4e2fb3
Revert "Corrected bugs and reviewed some functions"
This reverts commit 949e93f9fe
.
9 years ago
Marc Palau
949e93f9fe
Corrected bugs and reviewed some functions
9 years ago
raysan5
e9792ef771
Convert to UTF-8
9 years ago
raysan5
9bf411f580
Added a bunch of image manipulation functions:
Renamed functions (for coherence with new ones):
- ImageConvertToPOT() -> ImageToPOT()
- ImageConvertFormat() -> ImageFormat()
New functions added (IN PROGRESS):
- ImageCopy()
- ImageCrop()
- ImageResize() (Uses stb_image_resize.h)
- ImageDraw()
- ImageDrawText()
- ImageDrawTextEx()
- ImageFlipVertical()
- ImageFlipHorizontal()
- ImageColorInvert()
- ImageColorGrayscale()
- ImageColorContrast()
- ImageColorBrightness()
9 years ago
raysan5
11a8dacb0f
Multiple code changes:
- Renamed function rlEnableFBO() -> rlEnablePostproFBO()
- Defined struct FBO
- Moved FBO creation to function: rlglLoadFBO()
- Reviewed rlglReadTexturePixels(), trying to support OpenGL ES -IN
PROGRESS-
9 years ago
raysan5
3bd7109d8b
Reviewed GetCurrentTime() -IN PROGRESS-
Time measure on Windows platform done with:
QueryPerformanceCounter()
Testing required!
9 years ago
raysan5
9af10686b2
Added comments and more...
Corrected bug on defaultFont.size
Renamed funcs:
ImageConvertFormat() -> ImageFormat()
ImageConvertToPOT() -> ImageToPOT()
9 years ago
raysan5
c5377f4e05
Review CFLAGS for multiple platforms
9 years ago