Commit Graph

3035 Commits

Author SHA1 Message Date
Marco Antognini
c741b6459f Updated the copyright text 2012-03-14 14:37:17 +01:00
Laurent Gomila
d592b2a7d1 Updated the copyright text 2012-03-13 18:37:34 +01:00
Marco Antognini
2ef92a2af2 Updated Mac OS X code according to commits ff5b69d312 and 14ac411542 2012-03-12 23:04:06 +01:00
Laurent Gomila
4119c3bb31 Fixed compile error in sf::Rect 2012-03-12 18:01:36 +01:00
Laurent Gomila
7d91763606 Fixed error on ALCheck.hpp and GLCheck.hpp header names 2012-03-11 20:13:50 +01:00
Laurent Gomila
1dad4219a6 Merge branch 'master' of github.com:LaurentGomila/SFML 2012-03-11 19:11:00 +01:00
Laurent Gomila
14ac411542 Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase) 2012-03-11 19:10:37 +01:00
Marco Antognini
2680d3df65 Updated Mac OS X code according to 15e9d999b3 commit 2012-03-09 11:45:37 +01:00
Laurent Gomila
ff5b69d312 Changed the naming convention for member variables (prefix changed from "my" to "m_") 2012-03-09 01:48:45 +01:00
Laurent Gomila
15e9d999b3 Added Window::GetPosition, and renamed some setters in Window for better consistency 2012-03-07 23:29:54 +01:00
Laurent Gomila
90854907b5 Minor internal modifications (renamed New functions to Create) 2012-03-04 18:47:05 +01:00
Laurent Gomila
2de690f02d Fixed right side of underline shape in sf::Text which was transparent 2012-02-26 13:47:19 +01:00
Laurent Gomila
fa4415cf8a Removed useless line 2012-02-22 22:53:18 +01:00
Laurent Gomila
b8ea003eae Changed Transform::Combine to modify *this (more consistent with other functions) 2012-02-20 20:18:48 +01:00
Laurent Gomila
48c7db52c3 Fixed type conversion warnings 2012-02-16 23:09:55 +01:00
Laurent Gomila
091fbd9d42 Merge branch 'master' of github.com:LaurentGomila/SFML 2012-02-15 22:47:48 +01:00
Laurent Gomila
2ee4b99f4d Minor fix (rotation speed) in the Window example 2012-02-15 22:47:10 +01:00
Laurent Gomila
a1522d475c Examples now compile without linker errors when building statically on Linux 2012-02-15 22:41:42 +01:00
Marco Antognini
77ec92ce5e Fix Xcode template
Script didn't work when there is a space in the project name
2012-02-14 23:44:04 +01:00
Laurent Gomila
e3d75f6d6a Fixed "-s" suffix missing for static libs in MinSizeRel configuration 2012-02-08 19:31:55 +01:00
Laurent Gomila
73b037b244 Updated the comments of Window::SetFramerateLimit 2012-01-31 19:56:51 +01:00
Laurent Gomila
e7256e3324 Fixed compile error in Linux/JoystickImpl.cpp 2012-01-31 19:05:43 +01:00
Laurent Gomila
84d75ed487 Fixed Window::SetFramerateLimit 2012-01-31 07:53:02 +01:00
Laurent Gomila
feae26e15b Merge branch 'master' of github.com:LaurentGomila/SFML 2012-01-30 19:43:42 +01:00
Marco Antognini
7417870042 Updates readme.txt of cocoa example 2012-01-30 14:50:11 +01:00
Marco Antognini
2a083ea202 SFML-Cocoa is now part of the cmake-based examples
Removes Xcode project
Fixes a crash and
Silences system alerts in this example
2012-01-30 12:23:18 +01:00
Laurent Gomila
c2c924f512 Minor fixes in comments 2012-01-29 11:39:29 +01:00
Laurent Gomila
4488f7f345 Fixed errors in examples after switching to sf::Time 2012-01-25 10:27:29 +01:00
Marco Antognini
918db11074 fix antialiasing on OS X (close issue #161) 2012-01-25 02:53:07 +01:00
Marco Antognini
ac64a7c995 cmake now install Xcode templates for all users on the system. 2012-01-24 17:28:22 +01:00
Laurent Gomila
10cd729296 The UDP broadcast address is now a valid IpAddress, IpAddress::None is now 0. 2012-01-23 23:01:12 +01:00
Laurent Gomila
108984f71b sf::Time operators now take arguments by value instead of const reference 2012-01-21 15:41:10 +01:00
Laurent Gomila
369f450502 Minor fixes in documentation 2012-01-21 11:53:31 +01:00
Laurent Gomila
906a62df0f Each module now has its own export macro, which solves the "unresolved symbol" error with sf::Time::Zero 2012-01-21 10:34:17 +01:00
Laurent Gomila
bb7cf47d69 Updated the code of the documentation's main page 2012-01-20 07:53:33 +01:00
Laurent Gomila
2a57a5db98 Merge branch 'master' of github.com:LaurentGomila/SFML 2012-01-19 23:52:04 +01:00
Laurent Gomila
4116ad033c Added the sf::Time class 2012-01-19 23:51:06 +01:00
Marco Antognini
00027eb6c1 Update Xcode templates according to commit c2039e8 (s/IsOpened/IsOpen/) 2012-01-15 22:59:05 +01:00
Laurent Gomila
e775bd0169 Renamed SoundStream::Chunk::NbSamples to SampleCount, and renamed other nbSamples variables to sampleCount 2012-01-13 15:09:30 +01:00
Laurent Gomila
c2039e866c Renamed Window::IsOpened to IsOpen
Made some minor consistency modifications in internal code
2012-01-13 14:53:36 +01:00
Laurent Gomila
9d4c8b26a5 Merge pull request #146 from johnbartholomew/pkg-config-support
Add support for pkg-config
2012-01-10 14:13:16 -08:00
John Bartholomew
2ac7653608 Add pkg-config files, optionally installed by CMake on Linux builds.
The modules provided are:

  - sfml-system
  - sfml-graphics
  - sfml-window
  - sfml-audio
  - sfml-network
  - sfml-all (depends on all the above modules)

They are installed to ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/
which is the standard location for pkg-config files on Linux.

An example use if using autotools:

    # configure.ac
    AC_INIT([sfml-example],[1.0],[example@example.com])
    AM_INIT_AUTOMAKE([foreign])
    AC_PROG_CXX
    PKG_CHECK_MODULES([sfml],
        [sfml-all >= 2.0.0],
        [], [AC_MSG_ERROR([SFML is required])])
    AC_CONFIG_FILES([Makefile])
    AC_OUTPUT

    # Makefile.am
    bin_PROGRAMS = sfml_example
    sfml_example_SOURCES = src/sfml_example.cpp
    sfml_example_CFLAGS = $(sfml_CFLAGS)
    sfml_example_LIBS = $(sfml_LIBS)

An example if using hand-written Makefiles:

    # Makefile
    sfml-example: src/sfml-example.cpp
        g++ `pkg-config --cflags --libs sfml-all` -o $@ $^
2012-01-10 21:08:20 +00:00
Marco Antognini
adca58059c minor update of Cocoa-SFML example 2012-01-07 16:20:01 +01:00
Marco Antognini
2720532d63 move xcode/ into tools/ 2012-01-07 15:34:11 +01:00
Laurent Gomila
1e34d04aac Minor fix in comments 2012-01-04 20:38:02 +01:00
Laurent Gomila
7a8b32c897 Merge branch 'master' of github.com:LaurentGomila/SFML 2012-01-03 18:03:03 +01:00
Laurent Gomila
91705fe25c The architecture (32/64 bits) is now detected only on Windows 2012-01-03 18:02:18 +01:00
Marco Antognini
de1a4fbeae minor fix in cmake script 2012-01-03 12:35:49 +01:00
Laurent Gomila
88683504ba *Really* solved the last commit problem :) 2012-01-02 07:47:13 +01:00
Laurent Gomila
ab0f84ad3f Solved problem with last commit 2012-01-02 07:45:33 +01:00